diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 2b51a42e77..e68157e36b 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -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." @@ -3200,12 +3204,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3251,98 +3249,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", @@ -3442,6 +3348,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": { "nullable": true, "type": "string", @@ -3841,6 +3757,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", @@ -3938,6 +4184,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": { "nullable": true, "type": "string", @@ -7256,7 +7512,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" ], @@ -7906,6 +8162,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": "string", + "nullable": true } } }, @@ -7924,6 +8185,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": [ @@ -7976,6 +8242,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", @@ -8342,6 +8883,11 @@ "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", + "nullable": true } } }, @@ -12734,6 +13280,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", @@ -16388,12 +17005,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -22991,16 +23602,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } }, { @@ -23177,16 +23794,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -44273,16 +44896,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).\"", @@ -44298,12 +44911,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61344,7 +61951,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" ], @@ -74895,16 +75502,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -75072,16 +75685,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -75625,7 +76244,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" ], @@ -104690,483 +105309,6 @@ ], "additionalProperties": false }, - "nullable-alert-updated-at": { - "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, - "nullable": true - }, - "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", - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "nullable": true, - "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", - "example": "/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", - "example": "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", - "example": "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", - "example": "/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", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "nullable-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" - } - ], - "nullable": true - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "$ref": "#/components/schemas/nullable-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", - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "resolved_by": { - "$ref": "#/components/schemas/nullable-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", - "description": "Whether push protection was bypassed for the detected secret.", - "nullable": true - }, - "push_protection_bypassed_by": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "push_protection_bypass_request_reviewer": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "resolution_comment": { - "type": "string", - "description": "The comment that was optionally added when this alert was closed", - "nullable": true - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", - "nullable": true - }, - "is_base64_encoded": { - "type": "boolean", - "description": "A boolean value representing whether or not alert is base64 encoded", - "nullable": true - }, - "first_location_detected": { - "$ref": "#/components/schemas/nullable-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": { - "$ref": "#/components/schemas/nullable-simple-user" - } - } - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -105238,6 +105380,79 @@ "group_id" ] }, + "organization-simple": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", @@ -109026,79 +109241,6 @@ "subscribed" ] }, - "organization-simple": { - "title": "Organization Simple", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "login": { - "type": "string", - "example": "github" - }, - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/repos" - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/events" - }, - "hooks_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/hooks" - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/issues" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/members{/member}" - }, - "public_members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/public_members{/member}" - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "description": { - "type": "string", - "example": "A great organization", - "nullable": true - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, "nullable-simple-repository": { "title": "Simple Repository", "description": "A GitHub repository.", @@ -109487,7 +109629,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -109495,7 +109637,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -109503,7 +109645,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -110032,6 +110174,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -110164,6 +110311,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -110176,6 +110327,102 @@ "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", + "example": 1 + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "example": 200 + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "example": "CustomImage" + }, + "source": { + "description": "The image provider.", + "type": "string", + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "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", + "example": "1.0.0" + }, + "state": { + "description": "The state of image version.", + "type": "string", + "example": "Ready" + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "example": 30 + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "example": "2024-11-09T23:39:01Z" + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "example": "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", @@ -110861,6 +111108,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "nullable-team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -118540,6 +118796,483 @@ } ] }, + "nullable-alert-updated-at": { + "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, + "nullable": true + }, + "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", + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "nullable": true, + "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", + "example": "/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", + "example": "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", + "example": "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", + "example": "/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", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-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" + } + ], + "nullable": true + }, + "organization-secret-scanning-alert": { + "type": "object", + "properties": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "$ref": "#/components/schemas/nullable-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", + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "resolved_by": { + "$ref": "#/components/schemas/nullable-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", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypassed_at": { + "type": "string", + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_reviewer_comment": { + "type": "string", + "description": "An optional comment when reviewing a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, + "resolution_comment": { + "type": "string", + "description": "The comment that was optionally added when this alert was closed", + "nullable": true + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true + }, + "is_base64_encoded": { + "type": "boolean", + "description": "A boolean value representing whether or not alert is base64 encoded", + "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-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": { + "$ref": "#/components/schemas/nullable-simple-user" + } + } + }, "secret-scanning-row-version": { "type": "string", "description": "The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate unintentionally overriding someone else's update.", @@ -136063,7 +136796,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -136071,7 +136804,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -136079,7 +136812,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -279891,192 +280624,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": [ { @@ -280139,6 +280686,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": [ { @@ -281659,24 +282240,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", @@ -281980,6 +282543,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", @@ -283043,6 +283645,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -287929,6 +288543,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", @@ -309091,113 +309891,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.", @@ -309216,6 +309909,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.", @@ -309360,15 +310062,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.", @@ -309441,6 +310134,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.", @@ -310028,6 +310740,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.", @@ -310046,6 +310803,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 9427653ab2..c72663f362 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -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 @@ -2296,8 +2298,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': @@ -2325,61 +2325,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 @@ -2452,6 +2397,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: nullable: true type: string @@ -2698,6 +2655,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 @@ -2771,6 +2931,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: nullable: true type: string @@ -5116,9 +5288,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 @@ -5677,6 +5850,11 @@ 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 + nullable: true size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -5694,6 +5872,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 @@ -5725,6 +5908,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 @@ -5981,6 +6355,11 @@ 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 + nullable: true examples: default: value: @@ -9182,6 +9561,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 @@ -11933,8 +12359,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': @@ -16635,16 +17059,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 - example: 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" @@ -16756,16 +17183,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -32235,14 +32665,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)." @@ -32253,8 +32675,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 @@ -44484,6 +44904,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 @@ -54263,16 +54686,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54380,16 +54806,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54750,7 +55179,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 @@ -75976,388 +76408,6 @@ components: - fixed_at - repository additionalProperties: false - nullable-alert-updated-at: - 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 - nullable: true - 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 - description: "**Required when the `state` is `resolved`.** The reason for resolving - the alert." - nullable: true - 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 - example: "/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 - example: 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 - example: 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 - example: "/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 - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - nullable-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" - nullable: true - organization-secret-scanning-alert: - type: object - properties: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - "$ref": "#/components/schemas/nullable-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 - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - resolved_by: - "$ref": "#/components/schemas/nullable-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 - description: Whether push protection was bypassed for the detected secret. - nullable: true - push_protection_bypassed_by: - "$ref": "#/components/schemas/nullable-simple-user" - push_protection_bypassed_at: - type: string - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - push_protection_bypass_request_reviewer: - "$ref": "#/components/schemas/nullable-simple-user" - push_protection_bypass_request_reviewer_comment: - type: string - description: An optional comment when reviewing a push protection bypass. - nullable: true - push_protection_bypass_request_comment: - type: string - description: An optional comment when requesting a push protection bypass. - nullable: true - push_protection_bypass_request_html_url: - type: string - format: uri - description: The URL to a push protection bypass request. - nullable: true - resolution_comment: - type: string - description: The comment that was optionally added when this alert was closed - nullable: true - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: boolean - description: Whether the secret was publicly leaked. - nullable: true - multi_repo: - type: boolean - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - nullable: true - is_base64_encoded: - type: boolean - description: A boolean value representing whether or not alert is base64 - encoded - nullable: true - first_location_detected: - "$ref": "#/components/schemas/nullable-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: - "$ref": "#/components/schemas/nullable-simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -76415,6 +76465,64 @@ components: - created_at - updated_at - group_id + organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + example: github + id: + type: integer + example: 1 + node_id: + type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github + repos_url: + type: string + format: uri + example: https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + example: https://api.github.com/orgs/github/events + hooks_url: + type: string + example: https://api.github.com/orgs/github/hooks + issues_url: + type: string + example: https://api.github.com/orgs/github/issues + members_url: + type: string + example: https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + example: https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + example: https://github.com/images/error/octocat_happy.gif + description: + type: string + example: A great organization + nullable: true + 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 @@ -79284,64 +79392,6 @@ components: - reason - url - subscribed - organization-simple: - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - example: github - id: - type: integer - example: 1 - node_id: - type: string - example: MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - example: https://api.github.com/orgs/github - repos_url: - type: string - format: uri - example: https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - example: https://api.github.com/orgs/github/events - hooks_url: - type: string - example: https://api.github.com/orgs/github/hooks - issues_url: - type: string - example: https://api.github.com/orgs/github/issues - members_url: - type: string - example: https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - example: https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - example: https://github.com/images/error/octocat_happy.gif - description: - type: string - example: A great organization - nullable: true - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description nullable-simple-repository: title: Simple Repository description: A GitHub repository. @@ -79684,19 +79734,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 @@ -80147,6 +80197,10 @@ components: - github - partner - custom + version: + description: The image version of the hosted runner pool. + type: string + example: latest required: - id - size_gb @@ -80254,6 +80308,9 @@ components: format: date-time example: '2022-10-09T23:39:01Z' nullable: true + image_gen: + type: boolean + description: Whether custom image generation is enabled for the hosted runners. required: - id - name @@ -80262,6 +80319,84 @@ 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 + example: 1 + platform: + description: The operating system of the image. + type: string + example: linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + example: 200 + name: + description: Display name for this image. + type: string + example: CustomImage + source: + description: The image provider. + type: string + example: custom + versions_count: + description: The number of image versions associated with the image. + type: integer + example: 4 + latest_version: + description: The latest image version associated with the image. + type: string + example: 1.3.0 + state: + description: The number of image versions associated with the image. + type: string + example: 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 + example: 1.0.0 + state: + description: The state of image version. + type: string + example: Ready + size_gb: + description: Image version size in GB. + type: integer + example: 30 + created_on: + description: The creation date time of the image version. + type: string + example: '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + example: 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 @@ -80811,6 +80946,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 nullable-team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -86896,6 +87038,388 @@ components: state: type: object description: The state of the ruleset version + nullable-alert-updated-at: + 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 + nullable: true + 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 + description: "**Required when the `state` is `resolved`.** The reason for resolving + the alert." + nullable: true + 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 + example: "/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 + example: 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 + example: 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 + example: "/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 + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-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" + nullable: true + organization-secret-scanning-alert: + type: object + properties: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + "$ref": "#/components/schemas/nullable-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 + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + resolved_by: + "$ref": "#/components/schemas/nullable-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 + description: Whether push protection was bypassed for the detected secret. + nullable: true + push_protection_bypassed_by: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypassed_at: + type: string + format: date-time + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + push_protection_bypass_request_reviewer: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypass_request_reviewer_comment: + type: string + description: An optional comment when reviewing a push protection bypass. + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true + resolution_comment: + type: string + description: The comment that was optionally added when this alert was closed + nullable: true + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + nullable: true + is_base64_encoded: + type: boolean + description: A boolean value representing whether or not alert is base64 + encoded + nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-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: + "$ref": "#/components/schemas/nullable-simple-user" secret-scanning-row-version: type: string description: The version of the entity. This is used to confirm you're updating @@ -100257,19 +100781,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 @@ -209330,181 +209854,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 @@ -209557,6 +209906,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' @@ -210932,20 +211309,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 @@ -211199,6 +211562,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 @@ -212043,6 +212434,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: @@ -216265,6 +216662,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 @@ -234545,109 +235117,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 @@ -234663,6 +235132,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. @@ -234784,13 +235260,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 @@ -234857,6 +235326,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. @@ -235364,6 +235848,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). @@ -235382,6 +235908,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 2b51a42e77..e68157e36b 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/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." @@ -3200,12 +3204,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3251,98 +3249,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", @@ -3442,6 +3348,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": { "nullable": true, "type": "string", @@ -3841,6 +3757,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", @@ -3938,6 +4184,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": { "nullable": true, "type": "string", @@ -7256,7 +7512,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" ], @@ -7906,6 +8162,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": "string", + "nullable": true } } }, @@ -7924,6 +8185,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": [ @@ -7976,6 +8242,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", @@ -8342,6 +8883,11 @@ "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", + "nullable": true } } }, @@ -12734,6 +13280,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", @@ -16388,12 +17005,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -22991,16 +23602,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } }, { @@ -23177,16 +23794,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -44273,16 +44896,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).\"", @@ -44298,12 +44911,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61344,7 +61951,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" ], @@ -74895,16 +75502,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -75072,16 +75685,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -75625,7 +76244,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" ], @@ -104690,483 +105309,6 @@ ], "additionalProperties": false }, - "nullable-alert-updated-at": { - "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, - "nullable": true - }, - "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", - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "nullable": true, - "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", - "example": "/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", - "example": "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", - "example": "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", - "example": "/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", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "nullable-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" - } - ], - "nullable": true - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "$ref": "#/components/schemas/nullable-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", - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "resolved_by": { - "$ref": "#/components/schemas/nullable-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", - "description": "Whether push protection was bypassed for the detected secret.", - "nullable": true - }, - "push_protection_bypassed_by": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "push_protection_bypass_request_reviewer": { - "$ref": "#/components/schemas/nullable-simple-user" - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "resolution_comment": { - "type": "string", - "description": "The comment that was optionally added when this alert was closed", - "nullable": true - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", - "nullable": true - }, - "is_base64_encoded": { - "type": "boolean", - "description": "A boolean value representing whether or not alert is base64 encoded", - "nullable": true - }, - "first_location_detected": { - "$ref": "#/components/schemas/nullable-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": { - "$ref": "#/components/schemas/nullable-simple-user" - } - } - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -105238,6 +105380,79 @@ "group_id" ] }, + "organization-simple": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", @@ -109026,79 +109241,6 @@ "subscribed" ] }, - "organization-simple": { - "title": "Organization Simple", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "login": { - "type": "string", - "example": "github" - }, - "id": { - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/repos" - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/events" - }, - "hooks_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/hooks" - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/issues" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/members{/member}" - }, - "public_members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/public_members{/member}" - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "description": { - "type": "string", - "example": "A great organization", - "nullable": true - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, "nullable-simple-repository": { "title": "Simple Repository", "description": "A GitHub repository.", @@ -109487,7 +109629,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -109495,7 +109637,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -109503,7 +109645,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -110032,6 +110174,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -110164,6 +110311,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -110176,6 +110327,102 @@ "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", + "example": 1 + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "example": 200 + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "example": "CustomImage" + }, + "source": { + "description": "The image provider.", + "type": "string", + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "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", + "example": "1.0.0" + }, + "state": { + "description": "The state of image version.", + "type": "string", + "example": "Ready" + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "example": 30 + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "example": "2024-11-09T23:39:01Z" + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "example": "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", @@ -110861,6 +111108,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "nullable-team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -118540,6 +118796,483 @@ } ] }, + "nullable-alert-updated-at": { + "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, + "nullable": true + }, + "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", + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "nullable": true, + "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", + "example": "/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", + "example": "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", + "example": "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", + "example": "/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", + "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "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.", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "nullable-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" + } + ], + "nullable": true + }, + "organization-secret-scanning-alert": { + "type": "object", + "properties": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "$ref": "#/components/schemas/nullable-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", + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "resolved_by": { + "$ref": "#/components/schemas/nullable-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", + "description": "Whether push protection was bypassed for the detected secret.", + "nullable": true + }, + "push_protection_bypassed_by": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypassed_at": { + "type": "string", + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", + "nullable": true + }, + "push_protection_bypass_request_reviewer": { + "$ref": "#/components/schemas/nullable-simple-user" + }, + "push_protection_bypass_request_reviewer_comment": { + "type": "string", + "description": "An optional comment when reviewing a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_comment": { + "type": "string", + "description": "An optional comment when requesting a push protection bypass.", + "nullable": true + }, + "push_protection_bypass_request_html_url": { + "type": "string", + "format": "uri", + "description": "The URL to a push protection bypass request.", + "nullable": true + }, + "resolution_comment": { + "type": "string", + "description": "The comment that was optionally added when this alert was closed", + "nullable": true + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": "boolean", + "description": "Whether the secret was publicly leaked.", + "nullable": true + }, + "multi_repo": { + "type": "boolean", + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", + "nullable": true + }, + "is_base64_encoded": { + "type": "boolean", + "description": "A boolean value representing whether or not alert is base64 encoded", + "nullable": true + }, + "first_location_detected": { + "$ref": "#/components/schemas/nullable-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": { + "$ref": "#/components/schemas/nullable-simple-user" + } + } + }, "secret-scanning-row-version": { "type": "string", "description": "The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate unintentionally overriding someone else's update.", @@ -136063,7 +136796,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -136071,7 +136804,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -136079,7 +136812,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -279891,192 +280624,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": [ { @@ -280139,6 +280686,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": [ { @@ -281659,24 +282240,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", @@ -281980,6 +282543,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", @@ -283043,6 +283645,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -287929,6 +288543,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", @@ -309091,113 +309891,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.", @@ -309216,6 +309909,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.", @@ -309360,15 +310062,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.", @@ -309441,6 +310134,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.", @@ -310028,6 +310740,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.", @@ -310046,6 +310803,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 9427653ab2..c72663f362 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/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 @@ -2296,8 +2298,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': @@ -2325,61 +2325,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 @@ -2452,6 +2397,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: nullable: true type: string @@ -2698,6 +2655,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 @@ -2771,6 +2931,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: nullable: true type: string @@ -5116,9 +5288,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 @@ -5677,6 +5850,11 @@ 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 + nullable: true size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -5694,6 +5872,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 @@ -5725,6 +5908,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 @@ -5981,6 +6355,11 @@ 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 + nullable: true examples: default: value: @@ -9182,6 +9561,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 @@ -11933,8 +12359,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': @@ -16635,16 +17059,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 - example: 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" @@ -16756,16 +17183,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -32235,14 +32665,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)." @@ -32253,8 +32675,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 @@ -44484,6 +44904,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 @@ -54263,16 +54686,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54380,16 +54806,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54750,7 +55179,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 @@ -75976,388 +76408,6 @@ components: - fixed_at - repository additionalProperties: false - nullable-alert-updated-at: - 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 - nullable: true - 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 - description: "**Required when the `state` is `resolved`.** The reason for resolving - the alert." - nullable: true - 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 - example: "/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 - example: 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 - example: 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 - example: "/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 - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: 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. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - nullable-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" - nullable: true - organization-secret-scanning-alert: - type: object - properties: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - "$ref": "#/components/schemas/nullable-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 - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - resolved_by: - "$ref": "#/components/schemas/nullable-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 - description: Whether push protection was bypassed for the detected secret. - nullable: true - push_protection_bypassed_by: - "$ref": "#/components/schemas/nullable-simple-user" - push_protection_bypassed_at: - type: string - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - push_protection_bypass_request_reviewer: - "$ref": "#/components/schemas/nullable-simple-user" - push_protection_bypass_request_reviewer_comment: - type: string - description: An optional comment when reviewing a push protection bypass. - nullable: true - push_protection_bypass_request_comment: - type: string - description: An optional comment when requesting a push protection bypass. - nullable: true - push_protection_bypass_request_html_url: - type: string - format: uri - description: The URL to a push protection bypass request. - nullable: true - resolution_comment: - type: string - description: The comment that was optionally added when this alert was closed - nullable: true - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: boolean - description: Whether the secret was publicly leaked. - nullable: true - multi_repo: - type: boolean - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - nullable: true - is_base64_encoded: - type: boolean - description: A boolean value representing whether or not alert is base64 - encoded - nullable: true - first_location_detected: - "$ref": "#/components/schemas/nullable-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: - "$ref": "#/components/schemas/nullable-simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -76415,6 +76465,64 @@ components: - created_at - updated_at - group_id + organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + example: github + id: + type: integer + example: 1 + node_id: + type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github + repos_url: + type: string + format: uri + example: https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + example: https://api.github.com/orgs/github/events + hooks_url: + type: string + example: https://api.github.com/orgs/github/hooks + issues_url: + type: string + example: https://api.github.com/orgs/github/issues + members_url: + type: string + example: https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + example: https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + example: https://github.com/images/error/octocat_happy.gif + description: + type: string + example: A great organization + nullable: true + 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 @@ -79284,64 +79392,6 @@ components: - reason - url - subscribed - organization-simple: - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - example: github - id: - type: integer - example: 1 - node_id: - type: string - example: MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - example: https://api.github.com/orgs/github - repos_url: - type: string - format: uri - example: https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - example: https://api.github.com/orgs/github/events - hooks_url: - type: string - example: https://api.github.com/orgs/github/hooks - issues_url: - type: string - example: https://api.github.com/orgs/github/issues - members_url: - type: string - example: https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - example: https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - example: https://github.com/images/error/octocat_happy.gif - description: - type: string - example: A great organization - nullable: true - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description nullable-simple-repository: title: Simple Repository description: A GitHub repository. @@ -79684,19 +79734,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 @@ -80147,6 +80197,10 @@ components: - github - partner - custom + version: + description: The image version of the hosted runner pool. + type: string + example: latest required: - id - size_gb @@ -80254,6 +80308,9 @@ components: format: date-time example: '2022-10-09T23:39:01Z' nullable: true + image_gen: + type: boolean + description: Whether custom image generation is enabled for the hosted runners. required: - id - name @@ -80262,6 +80319,84 @@ 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 + example: 1 + platform: + description: The operating system of the image. + type: string + example: linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + example: 200 + name: + description: Display name for this image. + type: string + example: CustomImage + source: + description: The image provider. + type: string + example: custom + versions_count: + description: The number of image versions associated with the image. + type: integer + example: 4 + latest_version: + description: The latest image version associated with the image. + type: string + example: 1.3.0 + state: + description: The number of image versions associated with the image. + type: string + example: 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 + example: 1.0.0 + state: + description: The state of image version. + type: string + example: Ready + size_gb: + description: Image version size in GB. + type: integer + example: 30 + created_on: + description: The creation date time of the image version. + type: string + example: '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + example: 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 @@ -80811,6 +80946,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 nullable-team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -86896,6 +87038,388 @@ components: state: type: object description: The state of the ruleset version + nullable-alert-updated-at: + 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 + nullable: true + 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 + description: "**Required when the `state` is `resolved`.** The reason for resolving + the alert." + nullable: true + 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 + example: "/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 + example: 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 + example: 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 + example: "/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 + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: 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. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable-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" + nullable: true + organization-secret-scanning-alert: + type: object + properties: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + "$ref": "#/components/schemas/nullable-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 + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + resolved_by: + "$ref": "#/components/schemas/nullable-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 + description: Whether push protection was bypassed for the detected secret. + nullable: true + push_protection_bypassed_by: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypassed_at: + type: string + format: date-time + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + push_protection_bypass_request_reviewer: + "$ref": "#/components/schemas/nullable-simple-user" + push_protection_bypass_request_reviewer_comment: + type: string + description: An optional comment when reviewing a push protection bypass. + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true + resolution_comment: + type: string + description: The comment that was optionally added when this alert was closed + nullable: true + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + nullable: true + is_base64_encoded: + type: boolean + description: A boolean value representing whether or not alert is base64 + encoded + nullable: true + first_location_detected: + "$ref": "#/components/schemas/nullable-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: + "$ref": "#/components/schemas/nullable-simple-user" secret-scanning-row-version: type: string description: The version of the entity. This is used to confirm you're updating @@ -100257,19 +100781,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 @@ -209330,181 +209854,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 @@ -209557,6 +209906,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' @@ -210932,20 +211309,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 @@ -211199,6 +211562,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 @@ -212043,6 +212434,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: @@ -216265,6 +216662,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 @@ -234545,109 +235117,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 @@ -234663,6 +235132,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. @@ -234784,13 +235260,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 @@ -234857,6 +235326,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. @@ -235364,6 +235848,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). @@ -235382,6 +235908,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 744d87ec26..90fba3f03a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -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." @@ -20480,29 +20484,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).\"", @@ -22110,1758 +22091,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": { - "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, - "nullable": 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", - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "nullable": true, - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests" - ] - }, - "resolved_at": { - "type": "string", - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "resolved_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "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" - ], - "nullable": true - }, - "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", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "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", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "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", - "description": "Whether push protection was bypassed for the detected secret.", - "nullable": true - }, - "push_protection_bypassed_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "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" - ], - "nullable": true - }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "push_protection_bypass_request_reviewer": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "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" - ], - "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "resolution_comment": { - "type": "string", - "description": "The comment that was optionally added when this alert was closed", - "nullable": true - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", - "nullable": true - }, - "is_base64_encoded": { - "type": "boolean", - "description": "A boolean value representing whether or not alert is base64 encoded", - "nullable": true - }, - "first_location_detected": { - "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", - "example": "/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", - "example": "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", - "example": "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", - "example": "/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", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ], - "nullable": true - }, - "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": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "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" - ], - "nullable": true - } - } - } - }, - "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", @@ -24092,6 +22321,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": { "nullable": true, "type": "string", @@ -25358,8 +23597,503 @@ } }, { - "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": { + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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": { @@ -25368,29 +24102,248 @@ } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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" + } + } + } + } + } }, - "403": { - "description": "Forbidden", + "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": "Basic Error", - "description": "Basic Error", + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "message": { - "type": "string" + "login": { + "type": "string", + "example": "github" }, - "documentation_url": { - "type": "string" + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" }, "url": { - "type": "string" + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, - "status": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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" } } } @@ -25402,7 +24355,59 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "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": [ + { + "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": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" } } }, @@ -25634,6 +24639,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": { "nullable": true, "type": "string", @@ -65205,7 +64220,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" ], @@ -65349,7 +64364,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -65357,7 +64372,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -65365,7 +64380,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -67564,6 +66579,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -67667,6 +66687,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -67807,6 +66831,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": "string", + "nullable": true } } }, @@ -67825,6 +66854,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": [ @@ -67905,6 +66939,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -68008,6 +67047,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -68063,6 +67106,587 @@ } } }, + "/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", + "example": 1 + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "example": 200 + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "example": "CustomImage" + }, + "source": { + "description": "The image provider.", + "type": "string", + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "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", + "example": 1 + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "example": 200 + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "example": "CustomImage" + }, + "source": { + "description": "The image provider.", + "type": "string", + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "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", + "example": "1.0.0" + }, + "state": { + "description": "The state of image version.", + "type": "string", + "example": "Ready" + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "example": 30 + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "example": "2024-11-09T23:39:01Z" + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "example": "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", + "example": "1.0.0" + }, + "state": { + "description": "The state of image version.", + "type": "string", + "example": "Ready" + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "example": 30 + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "example": "2024-11-09T23:39:01Z" + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "example": "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", @@ -68612,6 +68236,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -68715,6 +68344,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -68830,6 +68463,11 @@ "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", + "nullable": true } } }, @@ -68899,6 +68537,261 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" + } + }, + "required": [ + "id", + "size_gb", + "display_name", + "source" + ], + "nullable": true + }, + "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", + "example": "8-core" + }, + "cpu_cores": { + "description": "The number of cores.", + "type": "integer", + "example": 8 + }, + "memory_gb": { + "description": "The available RAM for the machine spec.", + "type": "integer", + "example": 32 + }, + "storage_gb": { + "description": "The available SSD storage for the machine spec.", + "type": "integer", + "example": 300 + } + }, + "required": [ + "id", + "cpu_cores", + "memory_gb", + "storage_gb" + ] + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "example": "Ready", + "enum": [ + "Ready", + "Provisioning", + "Shutdown", + "Deleting", + "Stuck" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "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, + "example": 5 + }, + "public_ip_enabled": { + "description": "Whether public IP is enabled for the hosted runners.", + "type": "boolean", + "example": 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", + "example": true + }, + "prefix": { + "description": "The prefix for the public IP.", + "type": "string", + "example": "20.80.208.150" + }, + "length": { + "description": "The length of the IP prefix.", + "type": "integer", + "example": 28 + } + } + } + }, + "last_active_on": { + "description": "The time at which the runner was last used, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2022-10-09T23:39:01Z", + "nullable": true + }, + "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", + "example": 5 + }, + "name": { + "description": "The name of the hosted runner.", + "type": "string", + "example": "my-github-hosted-runner" + }, + "runner_group_id": { + "description": "The unique identifier of the group that the hosted runner belongs to.", + "type": "integer", + "example": 2 + }, + "image_details": { + "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", + "example": "ubuntu-20.04" + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "example": 86 + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "example": 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", + "example": "latest" } }, "required": [ @@ -69002,247 +68895,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true - } - }, - "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", - "example": 5 - }, - "name": { - "description": "The name of the hosted runner.", - "type": "string", - "example": "my-github-hosted-runner" - }, - "runner_group_id": { - "description": "The unique identifier of the group that the hosted runner belongs to.", - "type": "integer", - "example": 2 - }, - "image_details": { - "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", - "example": "ubuntu-20.04" - }, - "size_gb": { - "description": "Image size in GB.", - "type": "integer", - "example": 86 - }, - "display_name": { - "description": "Display name for this image.", - "type": "string", - "example": 20.04 - }, - "source": { - "description": "The image provider.", - "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] - } - }, - "required": [ - "id", - "size_gb", - "display_name", - "source" - ], - "nullable": true - }, - "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", - "example": "8-core" - }, - "cpu_cores": { - "description": "The number of cores.", - "type": "integer", - "example": 8 - }, - "memory_gb": { - "description": "The available RAM for the machine spec.", - "type": "integer", - "example": 32 - }, - "storage_gb": { - "description": "The available SSD storage for the machine spec.", - "type": "integer", - "example": 300 - } - }, - "required": [ - "id", - "cpu_cores", - "memory_gb", - "storage_gb" - ] }, - "status": { - "description": "The status of the runner.", - "type": "string", - "example": "Ready", - "enum": [ - "Ready", - "Provisioning", - "Shutdown", - "Deleting", - "Stuck" - ] - }, - "platform": { - "description": "The operating system of the image.", - "type": "string", - "example": "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, - "example": 5 - }, - "public_ip_enabled": { - "description": "Whether public IP is enabled for the hosted runners.", + "image_gen": { "type": "boolean", - "example": 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", - "example": true - }, - "prefix": { - "description": "The prefix for the public IP.", - "type": "string", - "example": "20.80.208.150" - }, - "length": { - "description": "The length of the IP prefix.", - "type": "integer", - "example": 28 - } - } - } - }, - "last_active_on": { - "description": "The time at which the runner was last used, in ISO 8601 format.", - "type": "string", - "format": "date-time", - "example": "2022-10-09T23:39:01Z", - "nullable": true + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -74717,6 +74373,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -74820,6 +74481,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -83791,6 +83456,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", @@ -100085,29 +99854,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).\"", @@ -148274,16 +148020,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } }, { @@ -155438,16 +155190,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -304039,16 +303797,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).\"", @@ -304076,29 +303824,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": { @@ -488890,7 +488615,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" ], @@ -624057,16 +623782,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -631194,16 +630925,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -655215,7 +654952,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" ], @@ -655346,7 +655083,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -655354,7 +655091,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -655362,7 +655099,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index f6e9af8bd8..136554362a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -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 @@ -855,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &307 + type: &302 type: string description: The type of credit the user is receiving. enum: @@ -988,7 +990,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &112 + schema: &111 title: Validation Error Simple description: Validation Error Simple type: object @@ -1021,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &629 + - &632 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1139,7 +1141,7 @@ paths: GitHub. type: object nullable: true - properties: &68 + properties: &67 id: description: Unique identifier of the GitHub app example: 37 @@ -1272,7 +1274,7 @@ paths: about itself. example: 5 type: integer - required: &69 + required: &68 - id - node_id - owner @@ -1577,7 +1579,7 @@ paths: schema: type: integer default: 30 - - &187 + - &193 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1593,7 +1595,7 @@ paths: application/json: schema: type: array - items: &188 + items: &194 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1675,7 @@ paths: - installation_id - repository_id examples: - default: &189 + default: &195 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1732,7 +1734,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &111 + schema: &110 title: Validation Error description: Validation Error type: object @@ -1801,7 +1803,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &196 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1917,7 @@ paths: - request - response examples: - default: &191 + default: &197 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2116,7 +2118,7 @@ paths: parameters: - *17 - *19 - - &79 + - &77 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) @@ -2653,7 +2655,7 @@ paths: suspended_at: suspended_by: headers: - Link: &58 + Link: &54 example: ; rel="next", ; rel="last" schema: @@ -2842,11 +2844,11 @@ paths: - selected repositories: type: array - items: &67 + items: &66 title: Repository description: A repository on GitHub. type: object - properties: &263 + properties: &268 id: description: Unique identifier of the repository example: 42 @@ -2866,7 +2868,7 @@ paths: title: License Simple description: License Simple type: object - properties: &74 + properties: &73 key: type: string example: mit @@ -2888,7 +2890,7 @@ paths: html_url: type: string format: uri - required: &75 + required: &74 - key - name - url @@ -3284,7 +3286,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &264 + required: &269 - archive_url - assignees_url - blobs_url @@ -5071,7 +5073,7 @@ paths: responses: '202': *39 '422': *7 - '500': &106 + '500': &104 description: Internal Error content: application/json: @@ -7395,7 +7397,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &159 + code_scanning_options: &167 type: object description: Security Configuration feature options for code scanning nullable: true @@ -7589,7 +7591,7 @@ paths: description: Response content: application/json: - schema: &161 + schema: &169 type: array description: A list of default code security configurations items: @@ -7605,7 +7607,7 @@ paths: default configuration: *43 examples: - default: &162 + default: &170 value: - default_for_new_repos: public configuration: @@ -7936,7 +7938,7 @@ paths: - *42 - *45 responses: - '204': &163 + '204': &171 description: A header with no content is returned. '400': *14 '403': *29 @@ -8063,7 +8065,7 @@ paths: default: value: default_for_new_repos: all - configuration: &160 + configuration: &168 value: id: 1325 target_type: organization @@ -8148,7 +8150,7 @@ paths: application/json: schema: type: array - items: &164 + items: &172 type: object description: Repositories associated with a code security configuration and attachment status @@ -8170,7 +8172,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &103 + properties: &102 id: type: integer format: int64 @@ -8397,7 +8399,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &104 + required: &103 - archive_url - assignees_url - blobs_url @@ -8449,7 +8451,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &165 + repository: &173 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8543,7 +8545,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &170 + - &178 name: state in: query description: |- @@ -8552,7 +8554,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &171 + - &179 name: severity in: query description: |- @@ -8561,7 +8563,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &172 + - &180 name: ecosystem in: query description: |- @@ -8570,14 +8572,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &173 + - &181 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 - - &174 + - &182 name: epss_percentage in: query description: |- @@ -8589,7 +8591,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 - - &479 + - &474 name: has in: query description: |- @@ -8603,7 +8605,7 @@ paths: type: string enum: - patch - - &175 + - &183 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8613,7 +8615,7 @@ paths: enum: - development - runtime - - &176 + - &184 name: sort in: query description: |- @@ -8631,31 +8633,6 @@ paths: - *48 - *40 - *41 - - &177 - 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 - - &178 - 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': @@ -8664,11 +8641,11 @@ paths: application/json: schema: type: array - items: &179 + items: &185 type: object description: A Dependabot alert. properties: - number: &54 + number: &157 type: integer description: The security alert number. readOnly: true @@ -8730,7 +8707,7 @@ paths: - unknown - direct - transitive - security_advisory: &480 + security_advisory: &475 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8933,29 +8910,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *52 - url: &56 + url: &160 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &57 + html_url: &161 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &55 + created_at: &158 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: &153 + updated_at: &159 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: &155 + dismissed_at: &163 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8985,14 +8962,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &154 + fixed_at: &162 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &481 + auto_dismissed_at: &476 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9018,7 +8995,7 @@ paths: - repository additionalProperties: false examples: - default: &180 + default: &186 value: - number: 2 state: dismissed @@ -9346,718 +9323,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: - - *42 - - &295 - 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 - - &296 - 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 - - &297 - 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 - - &298 - 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 - - *48 - - *17 - - *40 - - *41 - - &299 - 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 - - &300 - 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 - - &301 - 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 - - &302 - 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: &303 - type: object - properties: - number: *54 - created_at: *55 - updated_at: - 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 - nullable: true - url: *56 - html_url: *57 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &607 - description: Sets the state of the secret scanning alert. You - must provide `resolution` when you set the state to `resolved`. - type: string - enum: - - open - - resolved - resolution: &608 - type: string - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - nullable: true - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - resolved_at: - type: string - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - resolved_by: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - 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: *53 - push_protection_bypassed: - type: boolean - description: Whether push protection was bypassed for the detected - secret. - nullable: true - push_protection_bypassed_by: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - push_protection_bypassed_at: - type: string - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - push_protection_bypass_request_reviewer: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - push_protection_bypass_request_reviewer_comment: - type: string - description: An optional comment when reviewing a push protection - bypass. - nullable: true - push_protection_bypass_request_comment: - type: string - description: An optional comment when requesting a push protection - bypass. - nullable: true - push_protection_bypass_request_html_url: - type: string - format: uri - description: The URL to a push protection bypass request. - nullable: true - resolution_comment: - type: string - description: The comment that was optionally added when this - alert was closed - nullable: true - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: boolean - description: Whether the secret was publicly leaked. - nullable: true - multi_repo: - type: boolean - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - nullable: true - is_base64_encoded: - type: boolean - description: A boolean value representing whether or not alert - is base64 encoded - nullable: true - first_location_detected: - description: 'Details on the location where the token was initially - detected. This can be a commit, wiki commit, issue, discussion, - pull request. - - ' - oneOf: &609 - - &611 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/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 - example: 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 - example: 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 - - &612 - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/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 - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: 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 - - &613 - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &614 - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &615 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &616 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &617 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &618 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &619 - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - 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. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &620 - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - 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. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &621 - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - 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. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &622 - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - 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. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &623 - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - 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. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - nullable: true - 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: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - examples: - default: &304 - 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: *58 - '404': *6 - '503': &77 - 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 @@ -10079,7 +9344,7 @@ paths: application/json: schema: type: array - items: &59 + items: &55 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10137,7 +9402,7 @@ paths: - updated_at - group_id examples: - default: &60 + default: &56 value: - id: 1 name: Justice League @@ -10150,7 +9415,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10193,6 +9458,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: nullable: true type: string @@ -10211,9 +9488,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10231,7 +9508,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *42 - - &61 + - &57 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10250,7 +9527,7 @@ paths: type: array items: *4 examples: - default: &62 + default: &58 value: - login: octocat id: 1 @@ -10271,7 +9548,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10289,7 +9566,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *42 - - *61 + - *57 requestBody: required: true content: @@ -10320,7 +9597,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10338,7 +9615,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *42 - - *61 + - *57 requestBody: required: true content: @@ -10369,7 +9646,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10387,8 +9664,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *42 - - *61 - - &63 + - *57 + - &59 name: username description: The handle for the GitHub user account. in: path @@ -10402,7 +9679,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &64 + exampleKey1: &60 value: login: octocat id: 1 @@ -10438,8 +9715,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *42 - - *61 - - *63 + - *57 + - *59 responses: '201': description: Successfully added team member @@ -10447,7 +9724,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *64 + exampleKey1: *60 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10465,8 +9742,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *42 - - *61 - - *63 + - *57 + - *59 responses: '204': description: Response @@ -10476,6 +9753,290 @@ 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: + - *42 + - *57 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: &61 + title: Organization Simple + description: A GitHub organization. + type: object + properties: &175 + login: + type: string + example: github + id: + type: integer + example: 1 + node_id: + type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github + repos_url: + type: string + format: uri + example: https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + example: https://api.github.com/orgs/github/events + hooks_url: + type: string + example: https://api.github.com/orgs/github/hooks + issues_url: + type: string + example: https://api.github.com/orgs/github/issues + members_url: + type: string + example: https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + example: https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + example: https://github.com/images/error/octocat_happy.gif + description: + type: string + example: A great organization + nullable: true + required: &176 + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + examples: + default: &62 + 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: + - *42 + - *57 + 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: *61 + examples: + default: &101 + 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: + - *42 + - *57 + 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: + - *42 + - *57 + - &63 + 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: *61 + examples: + default: *62 + '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: + - *42 + - *57 + - *63 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *61 + examples: + default: *62 + 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: + - *42 + - *57 + - *63 + 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 @@ -10491,7 +10052,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *42 - - &65 + - &64 name: team_slug description: The slug of the team name. in: path @@ -10503,11 +10064,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10525,7 +10086,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *42 - - *65 + - *64 requestBody: required: true content: @@ -10551,6 +10112,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: nullable: true type: string @@ -10568,11 +10141,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10593,7 +10166,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *42 - - *65 + - *64 responses: '204': description: Response @@ -10631,7 +10204,7 @@ paths: application/json: schema: type: array - items: &98 + items: &96 title: Event description: Event type: object @@ -10641,7 +10214,7 @@ paths: type: type: string nullable: true - actor: &66 + actor: &65 title: Actor description: Actor type: object @@ -10681,7 +10254,7 @@ paths: - id - name - url - org: *66 + org: *65 payload: oneOf: - title: CreateEvent @@ -10727,7 +10300,7 @@ paths: properties: action: type: string - discussion: &724 + discussion: &726 title: Discussion description: A Discussion in a repository. type: object @@ -11014,7 +10587,7 @@ paths: - id labels: type: array - items: &70 + items: &69 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11089,12 +10662,12 @@ paths: properties: action: type: string - issue: &71 + issue: &70 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &529 + properties: &524 id: type: integer format: int64 @@ -11208,7 +10781,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &250 + properties: &255 url: type: string format: uri @@ -11278,7 +10851,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &251 + required: &256 - closed_issues - creator - description @@ -11357,7 +10930,7 @@ paths: timeline_url: type: string format: uri - type: &209 + type: &215 title: Issue Type description: The type of issue. type: object @@ -11407,7 +10980,7 @@ paths: - node_id - name - description - repository: *67 + repository: *66 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11418,9 +10991,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - author_association: &72 + properties: *67 + required: *68 + author_association: &71 title: author_association type: string example: OWNER @@ -11435,7 +11008,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &73 + reactions: &72 title: Reaction Rollup type: object properties: @@ -11471,7 +11044,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &641 + sub_issues_summary: &644 title: Sub-issues Summary type: object properties: @@ -11491,7 +11064,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &642 + issue_dependencies_summary: &645 title: Issue Dependencies Summary type: object properties: @@ -11510,7 +11083,7 @@ paths: - total_blocking issue_field_values: type: array - items: &643 + items: &646 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11571,7 +11144,7 @@ paths: - node_id - data_type - value - required: &530 + required: &525 - assignee - closed_at - comments @@ -11596,10 +11169,10 @@ paths: assignees: type: array items: *4 - label: *70 + label: *69 labels: type: array - items: *70 + items: *69 required: - action - issue @@ -11608,8 +11181,8 @@ paths: properties: action: type: string - issue: *71 - comment: &527 + issue: *70 + comment: &522 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11657,7 +11230,7 @@ paths: issue_url: type: string format: uri - author_association: *72 + author_association: *71 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11668,9 +11241,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *67 + required: *68 + reactions: *72 required: - id - node_id @@ -11843,8 +11416,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true allow_forking: type: boolean @@ -11933,7 +11506,7 @@ paths: type: string number: type: integer - pull_request: &76 + pull_request: &75 title: Pull Request Minimal type: object properties: @@ -12004,10 +11577,10 @@ paths: assignees: type: array items: *4 - label: *70 + label: *69 labels: type: array - items: *70 + items: *69 required: - action - number @@ -12017,7 +11590,7 @@ paths: properties: action: type: string - pull_request: *76 + pull_request: *75 comment: type: object properties: @@ -12268,7 +11841,7 @@ paths: - pull_request updated_at: type: string - pull_request: *76 + pull_request: *75 required: - action - review @@ -12317,7 +11890,7 @@ paths: updated_at: type: string format: date-time - reactions: *73 + reactions: *72 required: - action - comment @@ -12328,7 +11901,7 @@ paths: type: string release: allOf: - - &582 + - &577 title: Release description: A release. type: object @@ -12399,7 +11972,7 @@ paths: author: *4 assets: type: array - items: &583 + items: &578 title: Release Asset description: Data related to a release. type: object @@ -12474,7 +12047,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *73 + reactions: *72 required: - assets_url - upload_url @@ -12566,7 +12139,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *77 + '503': &105 + 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 @@ -12647,7 +12232,7 @@ paths: _links: type: object properties: - timeline: &78 + timeline: &76 title: Link With Type description: Hypermedia Link with Type type: object @@ -12659,17 +12244,17 @@ paths: required: - href - type - user: *78 - security_advisories: *78 - current_user: *78 - current_user_public: *78 - current_user_actor: *78 - current_user_organization: *78 + user: *76 + security_advisories: *76 + current_user: *76 + current_user_public: *76 + current_user_actor: *76 + current_user_organization: *76 current_user_organizations: type: array - items: *78 - repository_discussions: *78 - repository_discussions_category: *78 + items: *76 + repository_discussions: *76 + repository_discussions_category: *76 required: - timeline - user @@ -12731,7 +12316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *79 + - *77 - *17 - *19 responses: @@ -12741,7 +12326,7 @@ paths: application/json: schema: type: array - items: &80 + items: &78 title: Base Gist description: Base Gist type: object @@ -12840,7 +12425,7 @@ paths: - created_at - updated_at examples: - default: &81 + default: &79 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -12885,7 +12470,7 @@ paths: site_admin: false truncated: false headers: - Link: *58 + Link: *54 '304': *37 '403': *29 x-github: @@ -12961,7 +12546,7 @@ paths: description: Response content: application/json: - schema: &82 + schema: &80 title: Gist Simple description: Gist Simple type: object @@ -12978,7 +12563,7 @@ paths: url: type: string format: uri - user: &655 + user: &658 title: Public User description: Public User type: object @@ -13340,7 +12925,7 @@ paths: truncated: type: boolean examples: - default: &83 + default: &81 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13444,7 +13029,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *79 + - *77 - *17 - *19 responses: @@ -13454,11 +13039,11 @@ paths: application/json: schema: type: array - items: *80 + items: *78 examples: - default: *81 + default: *79 headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '403': *29 @@ -13478,7 +13063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *79 + - *77 - *17 - *19 responses: @@ -13488,11 +13073,11 @@ paths: application/json: schema: type: array - items: *80 + items: *78 examples: - default: *81 + default: *79 headers: - Link: *58 + Link: *54 '401': *25 '304': *37 '403': *29 @@ -13518,7 +13103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &84 + - &82 name: gist_id description: The unique identifier of the gist. in: path @@ -13530,10 +13115,10 @@ paths: description: Response content: application/json: - schema: *82 + schema: *80 examples: - default: *83 - '403': &87 + default: *81 + '403': &85 description: Forbidden Gist content: application/json: @@ -13581,7 +13166,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *84 + - *82 requestBody: required: true content: @@ -13641,9 +13226,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *80 examples: - updateGist: *83 + updateGist: *81 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -13801,7 +13386,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *84 + - *82 responses: '204': description: Response @@ -13830,7 +13415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *84 + - *82 - *17 - *19 responses: @@ -13840,7 +13425,7 @@ paths: application/json: schema: type: array - items: &85 + items: &83 title: Gist Comment description: A comment made to a gist. type: object @@ -13875,7 +13460,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *72 + author_association: *71 required: - url - id @@ -13915,7 +13500,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -13940,7 +13525,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *84 + - *82 requestBody: required: true content: @@ -13965,9 +13550,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *83 examples: - default: &86 + default: &84 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14025,8 +13610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *84 - - &88 + - *82 + - &86 name: comment_id description: The unique identifier of the comment. in: path @@ -14039,12 +13624,12 @@ paths: description: Response content: application/json: - schema: *85 + schema: *83 examples: - default: *86 + default: *84 '304': *37 '404': *6 - '403': *87 + '403': *85 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14066,8 +13651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *84 - - *88 + - *82 + - *86 requestBody: required: true content: @@ -14092,9 +13677,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *83 examples: - default: *86 + default: *84 '404': *6 x-github: githubCloudOnly: false @@ -14111,8 +13696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *84 - - *88 + - *82 + - *86 responses: '204': description: Response @@ -14135,7 +13720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *84 + - *82 - *17 - *19 responses: @@ -14236,7 +13821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *84 + - *82 - *17 - *19 responses: @@ -14246,7 +13831,7 @@ paths: application/json: schema: type: array - items: *82 + items: *80 examples: default: value: @@ -14292,7 +13877,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '404': *6 '304': *37 '403': *29 @@ -14311,13 +13896,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *84 + - *82 responses: '201': description: Response content: application/json: - schema: *80 + schema: *78 examples: default: value: @@ -14388,7 +13973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *84 + - *82 responses: '204': description: Response if gist is starred @@ -14418,7 +14003,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *84 + - *82 responses: '204': description: Response @@ -14440,7 +14025,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *84 + - *82 responses: '204': description: Response @@ -14469,7 +14054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *84 + - *82 - name: sha in: path required: true @@ -14480,9 +14065,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *80 examples: - default: *83 + default: *81 '422': *15 '404': *6 '403': *29 @@ -14641,7 +14226,7 @@ paths: type: integer repositories: type: array - items: *67 + items: *66 repository_selection: type: string example: selected @@ -14764,7 +14349,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '403': *29 '304': *37 '401': *25 @@ -14848,7 +14433,7 @@ paths: - closed - all default: open - - &212 + - &218 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14867,7 +14452,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - name: collab in: query required: false @@ -14897,9 +14482,9 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: &213 + default: &219 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15144,7 +14729,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '404': *6 @@ -15183,8 +14768,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 examples: default: value: @@ -15469,7 +15054,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &89 + X-CommonMarker-Version: &87 example: 0.17.4 schema: type: string @@ -15524,7 +15109,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *89 + X-CommonMarker-Version: *87 content: text/html: schema: @@ -15553,7 +15138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &92 + - &90 name: account_id description: account_id parameter in: path @@ -15565,7 +15150,7 @@ paths: description: Response content: application/json: - schema: &91 + schema: &89 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15595,7 +15180,7 @@ paths: nullable: true id: type: integer - plan: &90 + plan: &88 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -15684,7 +15269,7 @@ paths: nullable: true updated_at: type: string - plan: *90 + plan: *88 required: - url - id @@ -15692,7 +15277,7 @@ paths: - login - marketplace_purchase examples: - default: &93 + default: &91 value: url: https://api.github.com/orgs/github type: Organization @@ -15777,9 +15362,9 @@ paths: application/json: schema: type: array - items: *90 + items: *88 examples: - default: &94 + default: &92 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -15797,7 +15382,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '404': *6 '401': *25 x-github: @@ -15819,14 +15404,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &95 + - &93 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &96 + - &94 name: sort description: The property to sort the results by. in: query @@ -15856,9 +15441,9 @@ paths: application/json: schema: type: array - items: *91 + items: *89 examples: - default: &97 + default: &95 value: - url: https://api.github.com/orgs/github type: Organization @@ -15909,7 +15494,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '404': *6 '422': *15 '401': *25 @@ -15932,15 +15517,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *92 + - *90 responses: '200': description: Response content: application/json: - schema: *91 + schema: *89 examples: - default: *93 + default: *91 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -15972,11 +15557,11 @@ paths: application/json: schema: type: array - items: *90 + items: *88 examples: - default: *94 + default: *92 headers: - Link: *58 + Link: *54 '401': *25 x-github: githubCloudOnly: false @@ -15997,8 +15582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *95 - - *96 + - *93 + - *94 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16018,11 +15603,11 @@ paths: application/json: schema: type: array - items: *91 + items: *89 examples: - default: *97 + default: *95 headers: - Link: *58 + Link: *54 '401': *25 x-github: githubCloudOnly: false @@ -16284,14 +15869,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &330 + - &325 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &331 + - &326 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16308,7 +15893,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -16353,7 +15938,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &339 + '301': &334 description: Moved permanently content: application/json: @@ -16375,7 +15960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &558 + - &553 name: all description: If `true`, show notifications marked as read. in: query @@ -16383,7 +15968,7 @@ paths: schema: type: boolean default: false - - &559 + - &554 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16392,8 +15977,8 @@ paths: schema: type: boolean default: false - - *79 - - &560 + - *77 + - &555 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: @@ -16418,18 +16003,18 @@ paths: application/json: schema: type: array - items: &99 + items: &97 title: Thread description: Thread type: object properties: id: type: string - repository: &137 + repository: &141 title: Minimal Repository description: Minimal Repository type: object - properties: &182 + properties: &188 id: type: integer format: int64 @@ -16705,7 +16290,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &265 + security_and_analysis: &270 nullable: true type: object properties: @@ -16779,7 +16364,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &183 + required: &189 - archive_url - assignees_url - blobs_url @@ -16867,7 +16452,7 @@ paths: - url - subscription_url examples: - default: &561 + default: &556 value: - id: '1' repository: @@ -16949,7 +16534,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -17033,7 +16618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &100 + - &98 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 @@ -17047,7 +16632,7 @@ paths: description: Response content: application/json: - schema: *99 + schema: *97 examples: default: value: @@ -17149,7 +16734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *100 + - *98 responses: '205': description: Reset Content @@ -17171,7 +16756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *100 + - *98 responses: '204': description: No content @@ -17194,13 +16779,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *100 + - *98 responses: '200': description: Response content: application/json: - schema: &101 + schema: &99 title: Thread Subscription description: Thread Subscription type: object @@ -17237,7 +16822,7 @@ paths: - url - subscribed examples: - default: &102 + default: &100 value: subscribed: true ignored: false @@ -17268,7 +16853,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *100 + - *98 requestBody: required: false content: @@ -17289,9 +16874,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *99 examples: - default: *102 + default: *100 '304': *37 '403': *29 '401': *25 @@ -17314,7 +16899,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *100 + - *98 responses: '204': description: Response @@ -17409,79 +16994,9 @@ paths: application/json: schema: type: array - items: &218 - title: Organization Simple - description: A GitHub organization. - type: object - properties: &167 - login: - type: string - example: github - id: - type: integer - example: 1 - node_id: - type: string - example: MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - example: https://api.github.com/orgs/github - repos_url: - type: string - format: uri - example: https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - example: https://api.github.com/orgs/github/events - hooks_url: - type: string - example: https://api.github.com/orgs/github/hooks - issues_url: - type: string - example: https://api.github.com/orgs/github/issues - members_url: - type: string - example: https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - example: https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - example: https://github.com/images/error/octocat_happy.gif - description: - type: string - example: A great organization - nullable: true - required: &168 - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description + items: *61 examples: - default: &672 - 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: *101 headers: Link: example: ; rel="next" @@ -17508,13 +17023,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: - - &105 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *63 - name: page in: query description: The page number of results to fetch. @@ -17558,8 +17067,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *103 - required: *104 + properties: *102 + required: *103 nullable: true additionalProperties: false examples: @@ -17665,7 +17174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -17731,7 +17240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *105 + - *63 requestBody: required: true content: @@ -17767,9 +17276,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 @@ -17777,8 +17287,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: - - *105 - - &107 + - *63 + - &106 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, @@ -17787,7 +17297,7 @@ paths: required: false schema: type: integer - - &698 + - &700 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 @@ -17796,7 +17306,7 @@ paths: required: false schema: type: integer - - &108 + - &107 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 @@ -17811,14 +17321,14 @@ paths: required: false schema: type: string - - &699 + - &701 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &700 + - &702 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -17880,19 +17390,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 @@ -17934,8 +17444,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17955,9 +17465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *105 - - *107 - - &703 + - *63 + - *106 + - &705 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 @@ -17966,8 +17476,8 @@ paths: required: false schema: type: integer - - *108 - - &704 + - *107 + - &706 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 @@ -18050,8 +17560,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18077,13 +17587,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &109 + schema: &108 title: Organization Full description: Organization Full type: object @@ -18402,7 +17912,7 @@ paths: - updated_at - archived_at examples: - default-response: &110 + default-response: &109 value: login: github id: 1 @@ -18502,7 +18012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *105 + - *63 requestBody: required: false content: @@ -18718,17 +18228,17 @@ paths: description: Response content: application/json: - schema: *109 + schema: *108 examples: - default: *110 + default: *109 '422': description: Validation failed content: application/json: schema: oneOf: + - *110 - *111 - - *112 '409': *47 x-github: githubCloudOnly: false @@ -18752,7 +18262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *105 + - *63 responses: '202': *39 '404': *6 @@ -18777,7 +18287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -18803,7 +18313,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18824,7 +18334,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: - - *105 + - *63 - *17 - *19 responses: @@ -18842,7 +18352,7 @@ paths: type: integer repository_cache_usages: type: array - items: &344 + items: &339 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18877,7 +18387,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18897,7 +18407,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -18915,7 +18425,7 @@ paths: type: integer runners: type: array - items: &113 + items: &112 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -18958,13 +18468,18 @@ paths: - github - partner - custom + version: + description: The image version of the hosted runner + pool. + type: string + example: latest required: - id - size_gb - display_name - source nullable: true - machine_size_details: &116 + machine_size_details: &120 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19047,6 +18562,10 @@ paths: format: date-time example: '2022-10-09T23:39:01Z' nullable: true + image_gen: + type: boolean + description: Whether custom image generation is enabled + for the hosted runners. required: - id - name @@ -19056,7 +18575,7 @@ paths: - public_ip_enabled - platform examples: - default: &136 + default: &140 value: total_count: 2 runners: @@ -19098,7 +18617,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19116,7 +18635,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -19145,6 +18664,11 @@ 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 + nullable: true size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -19162,6 +18686,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 @@ -19183,9 +18712,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: &117 + default: &121 value: id: 5 name: My hosted ubuntu runner @@ -19212,6 +18741,307 @@ 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: + - *63 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: &113 + 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 + example: 1 + platform: + description: The operating system of the image. + type: string + example: linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + example: 200 + name: + description: Display name for this image. + type: string + example: CustomImage + source: + description: The image provider. + type: string + example: custom + versions_count: + description: The number of image versions associated with + the image. + type: integer + example: 4 + latest_version: + description: The latest image version associated with the + image. + type: string + example: 1.3.0 + state: + description: The number of image versions associated with + the image. + type: string + example: Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + examples: + default: &115 + 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: + - *63 + - &114 + 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: *113 + 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: + - *63 + - *114 + 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: + - *114 + - *63 + 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: &116 + 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 + example: 1.0.0 + state: + description: The state of image version. + type: string + example: Ready + size_gb: + description: Image version size in GB. + type: integer + example: 30 + created_on: + description: The creation date time of the image version. + type: string + example: '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + example: None + required: + - version + - state + - size_gb + - created_on + - state_details + examples: + default: *115 + 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: + - *63 + - *114 + - &117 + 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: *116 + 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: + - *63 + - *114 + - *117 + 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 @@ -19224,7 +19054,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: - - *105 + - *63 responses: '200': description: Response @@ -19240,7 +19070,7 @@ paths: type: integer images: type: array - items: &114 + items: &118 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -19276,7 +19106,7 @@ paths: - display_name - source examples: - default: &115 + default: &119 value: id: ubuntu-20.04 platform: linux-x64 @@ -19300,7 +19130,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: - - *105 + - *63 responses: '200': description: Response @@ -19316,9 +19146,9 @@ paths: type: integer images: type: array - items: *114 + items: *118 examples: - default: *115 + default: *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19335,7 +19165,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: - - *105 + - *63 responses: '200': description: Response @@ -19388,7 +19218,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: - - *105 + - *63 responses: '200': description: Response @@ -19404,7 +19234,7 @@ paths: type: integer machine_specs: type: array - items: *116 + items: *120 examples: default: value: @@ -19429,7 +19259,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: - - *105 + - *63 responses: '200': description: Response @@ -19473,8 +19303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *105 - - &118 + - *63 + - &122 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -19486,11 +19316,11 @@ paths: description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: *117 + default: *121 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19508,8 +19338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *105 - - *118 + - *63 + - *122 requestBody: required: true content: @@ -19535,6 +19365,11 @@ 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 + nullable: true examples: default: value: @@ -19547,9 +19382,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: *117 + default: *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19565,16 +19400,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *105 - - *118 + - *63 + - *122 responses: '202': description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: *117 + default: *121 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -19594,13 +19429,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: - - *105 + - *63 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &119 + schema: &123 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -19614,7 +19449,7 @@ paths: required: - include_claim_keys examples: - default: &120 + default: &124 value: include_claim_keys: - repo @@ -19636,20 +19471,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: - - *105 + - *63 requestBody: required: true content: application/json: - schema: *119 + schema: *123 examples: - default: *120 + default: *124 responses: '201': description: Empty response content: application/json: - schema: &146 + schema: &150 title: Empty Object description: An object without any properties. type: object @@ -19679,7 +19514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19688,7 +19523,7 @@ paths: schema: type: object properties: - enabled_repositories: &121 + enabled_repositories: &125 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -19701,7 +19536,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: &122 + allowed_actions: &126 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -19709,12 +19544,12 @@ paths: - all - local_only - selected - selected_actions_url: &350 + selected_actions_url: &345 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &123 + sha_pinning_required: &127 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -19745,7 +19580,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -19756,9 +19591,9 @@ paths: schema: type: object properties: - enabled_repositories: *121 - allowed_actions: *122 - sha_pinning_required: *123 + enabled_repositories: *125 + allowed_actions: *126 + sha_pinning_required: *127 required: - enabled_repositories examples: @@ -19786,13 +19621,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &354 + schema: &349 type: object properties: days: @@ -19829,12 +19664,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: application/json: - schema: &355 + schema: &350 type: object properties: days: @@ -19871,13 +19706,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &124 + schema: &128 type: object properties: approval_policy: @@ -19891,7 +19726,7 @@ paths: required: - approval_policy examples: - default: &356 + default: &351 value: approval_policy: first_time_contributors '404': *6 @@ -19912,7 +19747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -19922,7 +19757,7 @@ paths: required: true content: application/json: - schema: *124 + schema: *128 examples: default: summary: Set approval policy to first time contributors @@ -19944,13 +19779,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: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &357 + schema: &352 type: object required: - run_workflows_from_fork_pull_requests @@ -19976,7 +19811,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &125 + default: &129 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -19999,12 +19834,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: - - *105 + - *63 requestBody: required: true content: application/json: - schema: &358 + schema: &353 type: object required: - run_workflows_from_fork_pull_requests @@ -20027,7 +19862,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *125 + default: *129 responses: '204': description: Empty response for successful settings update @@ -20057,7 +19892,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: - - *105 + - *63 - *17 - *19 responses: @@ -20075,9 +19910,9 @@ paths: type: number repositories: type: array - items: *67 + items: *66 examples: - default: &129 + default: &133 value: total_count: 1 repositories: @@ -20217,7 +20052,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: - - *105 + - *63 responses: '204': description: Response @@ -20261,8 +20096,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: - - *105 - - &126 + - *63 + - &130 name: repository_id description: The unique identifier of the repository. in: path @@ -20290,8 +20125,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: - - *105 - - *126 + - *63 + - *130 responses: '204': description: Response @@ -20314,13 +20149,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &127 + schema: &131 type: object properties: github_owned_allowed: @@ -20342,7 +20177,7 @@ paths: items: type: string examples: - default: &128 + default: &132 value: github_owned_allowed: true verified_allowed: false @@ -20367,7 +20202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -20375,9 +20210,9 @@ paths: required: false content: application/json: - schema: *127 + schema: *131 examples: - selected_actions: *128 + selected_actions: *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20397,7 +20232,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -20445,7 +20280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -20492,7 +20327,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: - - *105 + - *63 - *17 - *19 responses: @@ -20507,9 +20342,9 @@ paths: type: integer repositories: type: array - items: *67 + items: *66 examples: - default: *129 + default: *133 '403': *29 '404': *6 x-github: @@ -20529,7 +20364,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: - - *105 + - *63 requestBody: required: true content: @@ -20577,8 +20412,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: - - *105 - - *126 + - *63 + - *130 responses: '204': description: No content @@ -20604,8 +20439,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: - - *105 - - *126 + - *63 + - *130 responses: '204': description: No content @@ -20633,23 +20468,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &359 + schema: &354 type: object properties: - default_workflow_permissions: &130 + default_workflow_permissions: &134 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &131 + can_approve_pull_request_reviews: &135 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -20657,7 +20492,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &132 + default: &136 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -20682,7 +20517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Success response @@ -20690,13 +20525,13 @@ paths: required: false content: application/json: - schema: &360 + schema: &355 type: object properties: - default_workflow_permissions: *130 - can_approve_pull_request_reviews: *131 + default_workflow_permissions: *134 + can_approve_pull_request_reviews: *135 examples: - default: *132 + default: *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20716,7 +20551,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: - - *105 + - *63 - *17 - *19 - name: visible_to_repository @@ -20741,7 +20576,7 @@ paths: type: number runner_groups: type: array - items: &133 + items: &137 type: object properties: id: @@ -20857,7 +20692,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: - - *105 + - *63 requestBody: required: true content: @@ -20929,9 +20764,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *137 examples: - default: &135 + default: &139 value: id: 2 name: octo-runner-group @@ -20966,8 +20801,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: - - *105 - - &134 + - *63 + - &138 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -20979,7 +20814,7 @@ paths: description: Response content: application/json: - schema: *133 + schema: *137 examples: default: value: @@ -21015,8 +20850,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: - - *105 - - *134 + - *63 + - *138 requestBody: required: true content: @@ -21070,9 +20905,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *137 examples: - default: *135 + default: *139 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21091,8 +20926,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: - - *105 - - *134 + - *63 + - *138 responses: '204': description: Response @@ -21115,8 +20950,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: - - *105 - - *134 + - *63 + - *138 - *17 - *19 responses: @@ -21134,11 +20969,11 @@ paths: type: number runners: type: array - items: *113 + items: *112 examples: - default: *136 + default: *140 headers: - Link: *58 + Link: *54 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21158,8 +20993,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: - - *105 - - *134 + - *63 + - *138 - *19 - *17 responses: @@ -21177,9 +21012,9 @@ paths: type: number repositories: type: array - items: *137 + items: *141 examples: - default: &658 + default: &661 value: total_count: 1 repositories: @@ -21431,8 +21266,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: - - *105 - - *134 + - *63 + - *138 requestBody: required: true content: @@ -21476,9 +21311,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: - - *105 - - *134 - - *126 + - *63 + - *138 + - *130 responses: '204': description: Response @@ -21500,9 +21335,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: - - *105 - - *134 - - *126 + - *63 + - *138 + - *130 responses: '204': description: Response @@ -21525,8 +21360,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: - - *105 - - *134 + - *63 + - *138 - *17 - *19 responses: @@ -21544,7 +21379,7 @@ paths: type: number runners: type: array - items: &139 + items: &143 title: Self hosted runners description: A self hosted runner type: object @@ -21573,7 +21408,7 @@ paths: type: boolean labels: type: array - items: &142 + items: &146 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -21603,7 +21438,7 @@ paths: - busy - labels examples: - default: &140 + default: &144 value: total_count: 2 runners: @@ -21643,7 +21478,7 @@ paths: name: no-gpu type: custom headers: - Link: *58 + Link: *54 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21662,8 +21497,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: - - *105 - - *134 + - *63 + - *138 requestBody: required: true content: @@ -21707,9 +21542,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: - - *105 - - *134 - - &138 + - *63 + - *138 + - &142 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -21737,9 +21572,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: - - *105 - - *134 + - *63 - *138 + - *142 responses: '204': description: Response @@ -21769,7 +21604,7 @@ paths: in: query schema: type: string - - *105 + - *63 - *17 - *19 responses: @@ -21787,11 +21622,11 @@ paths: type: integer runners: type: array - items: *139 + items: *143 examples: - default: *140 + default: *144 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21813,7 +21648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -21821,7 +21656,7 @@ paths: application/json: schema: type: array - items: &361 + items: &356 title: Runner Application description: Runner Application type: object @@ -21846,7 +21681,7 @@ paths: - download_url - filename examples: - default: &362 + default: &357 value: - os: osx architecture: x64 @@ -21889,7 +21724,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: - - *105 + - *63 requestBody: required: true content: @@ -21932,7 +21767,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &363 + '201': &358 description: Response content: application/json: @@ -21942,7 +21777,7 @@ paths: - runner - encoded_jit_config properties: - runner: *139 + runner: *143 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -21999,13 +21834,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *105 + - *63 responses: '201': description: Response content: application/json: - schema: &141 + schema: &145 title: Authentication Token description: Authentication Token type: object @@ -22027,7 +21862,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *67 + items: *66 single_file: type: string example: config.yaml @@ -22043,7 +21878,7 @@ paths: - token - expires_at examples: - default: &364 + default: &359 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22074,15 +21909,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *105 + - *63 responses: '201': description: Response content: application/json: - schema: *141 + schema: *145 examples: - default: &365 + default: &360 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22107,16 +21942,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: - - *105 - - *138 + - *63 + - *142 responses: '200': description: Response content: application/json: - schema: *139 + schema: *143 examples: - default: &366 + default: &361 value: id: 23 name: MBP @@ -22157,8 +21992,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: - - *105 - - *138 + - *63 + - *142 responses: '204': description: Response @@ -22184,10 +22019,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: - - *105 - - *138 + - *63 + - *142 responses: - '200': &143 + '200': &147 description: Response content: application/json: @@ -22201,7 +22036,7 @@ paths: type: integer labels: type: array - items: *142 + items: *146 examples: default: value: @@ -22240,8 +22075,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: - - *105 - - *138 + - *63 + - *142 requestBody: required: true content: @@ -22265,7 +22100,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *147 '404': *6 '422': *7 x-github: @@ -22289,8 +22124,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: - - *105 - - *138 + - *63 + - *142 requestBody: required: true content: @@ -22315,7 +22150,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *147 '404': *6 '422': *7 x-github: @@ -22339,10 +22174,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: - - *105 - - *138 + - *63 + - *142 responses: - '200': &367 + '200': &362 description: Response content: application/json: @@ -22356,7 +22191,7 @@ paths: type: integer labels: type: array - items: *142 + items: *146 examples: default: value: @@ -22397,9 +22232,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: - - *105 - - *138 - - &368 + - *63 + - *142 + - &363 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22407,7 +22242,7 @@ paths: schema: type: string responses: - '200': *143 + '200': *147 '404': *6 '422': *7 x-github: @@ -22432,7 +22267,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *105 + - *63 - *17 - *19 responses: @@ -22450,7 +22285,7 @@ paths: type: integer secrets: type: array - items: &144 + items: &148 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -22500,7 +22335,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22523,13 +22358,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &380 + schema: &375 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22558,7 +22393,7 @@ paths: - key_id - key examples: - default: &381 + default: &376 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22583,8 +22418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *105 - - &145 + - *63 + - &149 name: secret_name description: The name of the secret. in: path @@ -22596,7 +22431,7 @@ paths: description: Response content: application/json: - schema: *144 + schema: *148 examples: default: value: @@ -22626,8 +22461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -22684,7 +22519,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -22710,8 +22545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 responses: '204': description: Response @@ -22737,8 +22572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - *19 - *17 responses: @@ -22756,9 +22591,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *141 examples: - default: &149 + default: &153 value: total_count: 1 repositories: @@ -22850,8 +22685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -22903,8 +22738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - name: repository_id in: path required: true @@ -22937,8 +22772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - name: repository_id in: path required: true @@ -22970,8 +22805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *105 - - &349 + - *63 + - &344 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -22995,7 +22830,7 @@ paths: type: integer variables: type: array - items: &147 + items: &151 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23059,7 +22894,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23080,7 +22915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *105 + - *63 requestBody: required: true content: @@ -23128,7 +22963,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -23153,8 +22988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *105 - - &148 + - *63 + - &152 name: name description: The name of the variable. in: path @@ -23166,7 +23001,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *151 examples: default: value: @@ -23196,8 +23031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *152 requestBody: required: true content: @@ -23259,8 +23094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *152 responses: '204': description: Response @@ -23286,8 +23121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *152 - *19 - *17 responses: @@ -23305,9 +23140,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *141 examples: - default: *149 + default: *153 '409': description: Response when the visibility of the variable is not set to `selected` @@ -23333,8 +23168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *152 requestBody: required: true content: @@ -23383,8 +23218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *152 - name: repository_id in: path required: true @@ -23418,8 +23253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *152 - name: repository_id in: path required: true @@ -23450,7 +23285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *105 + - *63 requestBody: required: true content: @@ -23582,7 +23417,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *105 + - *63 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -23667,7 +23502,7 @@ paths: - *17 - *40 - *41 - - *105 + - *63 requestBody: required: true content: @@ -23690,12 +23525,12 @@ paths: required: - subject_digests examples: - default: &687 + default: &689 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &688 + withPredicateType: &690 value: subject_digests: - sha256:abc123 @@ -23753,7 +23588,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &689 + default: &691 value: attestations_subject_digests: - sha256:abc: @@ -23862,7 +23697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *105 + - *63 requestBody: required: true content: @@ -23927,7 +23762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *105 + - *63 - name: subject_digest description: Subject Digest in: path @@ -23946,6 +23781,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 + - *40 + - *41 + - *63 + - 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 @@ -23958,7 +23844,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *105 + - *63 - name: attestation_id description: Attestation ID in: path @@ -23996,7 +23882,7 @@ paths: - *17 - *40 - *41 - - *105 + - *63 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24049,7 +23935,7 @@ paths: initiator: type: string examples: - default: &394 + default: &389 value: attestations: - bundle: @@ -24156,7 +24042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -24168,7 +24054,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24187,8 +24073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: If the user is blocked @@ -24213,8 +24099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -24234,8 +24120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -24260,7 +24146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *105 + - *63 - *19 - *17 - *48 @@ -24268,7 +24154,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &150 + schema: &154 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -24294,7 +24180,7 @@ paths: application/json: schema: type: array - items: &151 + items: &155 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -24325,7 +24211,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &169 + items: &177 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -24400,7 +24286,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &225 + properties: &230 id: description: Unique identifier of the team type: integer @@ -24472,7 +24358,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &226 + required: &231 - id - node_id - url @@ -24515,7 +24401,7 @@ paths: type: string format: date-time nullable: true - state: *150 + state: *154 contact_link: description: The contact link of the campaign. type: string @@ -24610,9 +24496,9 @@ paths: closed_at: state: open headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24636,7 +24522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -24730,9 +24616,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *155 examples: - default: &152 + default: &156 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -24781,7 +24667,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24803,7 +24689,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *105 + - *63 - name: campaign_number description: The campaign number. in: path @@ -24815,16 +24701,16 @@ paths: description: Response content: application/json: - schema: *151 + schema: *155 examples: - default: *152 + default: *156 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24845,7 +24731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *105 + - *63 - name: campaign_number description: The campaign number. in: path @@ -24894,7 +24780,7 @@ paths: type: string format: uri nullable: true - state: *150 + state: *154 examples: default: value: @@ -24904,9 +24790,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *155 examples: - default: *152 + default: *156 '400': description: Bad Request content: @@ -24918,7 +24804,7 @@ paths: content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24939,7 +24825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *105 + - *63 - name: campaign_number description: The campaign number. in: path @@ -24950,7 +24836,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24972,18 +24858,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *105 - - &419 + - *63 + - &414 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: &156 + schema: &164 type: string description: The name of the tool used to generate the code scanning analysis. - - &420 + - &415 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 @@ -24991,7 +24877,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &157 + schema: &165 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -25006,7 +24892,7 @@ paths: be returned. in: query required: false - schema: &422 + schema: &417 type: string description: State of a code scanning alert. enum: @@ -25029,7 +24915,7 @@ paths: be returned. in: query required: false - schema: &423 + schema: &418 type: string description: Severity of a code scanning alert. enum: @@ -25050,18 +24936,18 @@ paths: items: type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: &424 + number: *157 + created_at: *158 + updated_at: *159 + url: *160 + html_url: *161 + instances_url: &419 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &158 + state: &166 type: string description: State of a code scanning alert. nullable: true @@ -25069,7 +24955,7 @@ paths: - open - dismissed - fixed - fixed_at: *154 + fixed_at: *162 dismissed_by: title: Simple User description: A GitHub user. @@ -25077,8 +24963,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *155 - dismissed_reason: &425 + dismissed_at: *163 + dismissed_reason: &420 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -25087,13 +24973,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &426 + dismissed_comment: &421 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &427 + rule: &422 type: object properties: id: @@ -25146,25 +25032,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &428 + tool: &423 type: object properties: - name: *156 + name: *164 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *157 - most_recent_instance: &429 + guid: *165 + most_recent_instance: &424 type: object properties: - ref: &421 + ref: &416 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &439 + analysis_key: &434 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25175,13 +25061,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &440 + category: &435 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: *158 + state: *166 commit_sha: type: string message: @@ -25475,9 +25361,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: *58 + Link: *54 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25499,7 +25385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *105 + - *63 - name: target_type in: query description: The target type of the code security configuration @@ -25610,7 +25496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *105 + - *63 requestBody: required: true content: @@ -25688,7 +25574,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *159 + code_scanning_options: *167 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -25831,7 +25717,7 @@ paths: application/json: schema: *43 examples: - default: *160 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25853,15 +25739,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: *161 + schema: *169 examples: - default: *162 + default: *170 '304': *37 '403': *29 '404': *6 @@ -25887,7 +25773,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *105 + - *63 requestBody: required: true content: @@ -25913,7 +25799,7 @@ paths: - 32 - 91 responses: - '204': *163 + '204': *171 '400': *14 '403': *29 '404': *6 @@ -25939,7 +25825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *105 + - *63 - *45 responses: '200': @@ -25948,7 +25834,7 @@ paths: application/json: schema: *43 examples: - default: *160 + default: *168 '304': *37 '403': *29 '404': *6 @@ -25972,7 +25858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *105 + - *63 - *45 requestBody: required: true @@ -26229,10 +26115,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *105 + - *63 - *45 responses: - '204': *163 + '204': *171 '400': *14 '403': *29 '404': *6 @@ -26260,7 +26146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *105 + - *63 - *45 requestBody: required: true @@ -26324,7 +26210,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: - - *105 + - *63 - *45 requestBody: required: true @@ -26370,7 +26256,7 @@ paths: default: value: default_for_new_repos: all - configuration: *160 + configuration: *168 '403': *29 '404': *6 x-github: @@ -26394,7 +26280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *105 + - *63 - *45 - name: per_page description: The number of results per page (max 100). For more information, @@ -26423,13 +26309,13 @@ paths: application/json: schema: type: array - items: *164 + items: *172 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *165 + repository: *173 '403': *29 '404': *6 x-github: @@ -26453,7 +26339,7 @@ paths: parameters: - *17 - *19 - - *105 + - *63 responses: '200': description: Response @@ -26469,7 +26355,7 @@ paths: type: integer codespaces: type: array - items: &214 + items: &220 type: object title: Codespace description: A codespace. @@ -26494,12 +26380,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *137 + repository: *141 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &452 + properties: &447 name: type: string description: The name of the machine. @@ -26541,7 +26427,7 @@ paths: - ready - in_progress nullable: true - required: &453 + required: &448 - name - display_name - operating_system @@ -26746,7 +26632,7 @@ paths: - pulls_url - recent_folders examples: - default: &215 + default: &221 value: total_count: 3 codespaces: @@ -27156,7 +27042,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -27178,7 +27064,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *105 + - *63 deprecated: true requestBody: required: true @@ -27222,7 +27108,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27245,7 +27131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *105 + - *63 deprecated: true requestBody: required: true @@ -27277,7 +27163,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27300,7 +27186,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *105 + - *63 requestBody: required: true content: @@ -27331,7 +27217,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27352,7 +27238,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *105 + - *63 - *17 - *19 responses: @@ -27370,7 +27256,7 @@ paths: type: integer secrets: type: array - items: &166 + items: &174 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -27409,7 +27295,7 @@ paths: - updated_at - visibility examples: - default: &454 + default: &449 value: total_count: 2 secrets: @@ -27422,7 +27308,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27441,13 +27327,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &455 + schema: &450 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27476,7 +27362,7 @@ paths: - key_id - key examples: - default: &456 + default: &451 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27499,23 +27385,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 responses: '200': description: Response content: application/json: - schema: *166 + schema: *174 examples: - default: &458 + default: &453 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27535,8 +27421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -27591,7 +27477,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -27617,8 +27503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 responses: '204': description: Response @@ -27643,8 +27529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - *19 - *17 responses: @@ -27662,9 +27548,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *141 examples: - default: *149 + default: *153 '404': *6 x-github: githubCloudOnly: false @@ -27686,8 +27572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -27737,8 +27623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - name: repository_id in: path required: true @@ -27771,8 +27657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - name: repository_id in: path required: true @@ -27811,7 +27697,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: - - *105 + - *63 responses: '200': description: OK @@ -27920,7 +27806,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -27952,7 +27838,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: - - *105 + - *63 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -27975,7 +27861,7 @@ paths: currently being billed. seats: type: array - items: &217 + items: &223 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -27992,15 +27878,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *167 - required: *168 + properties: *175 + required: *176 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *169 - - *59 + - *177 + - *55 nullable: true pending_cancellation_date: type: string @@ -28124,8 +28010,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '500': *106 + Link: *54 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28158,7 +28044,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: - - *105 + - *63 requestBody: content: application/json: @@ -28200,7 +28086,7 @@ paths: default: value: seats_created: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28236,7 +28122,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: - - *105 + - *63 requestBody: content: application/json: @@ -28278,7 +28164,7 @@ paths: default: value: seats_cancelled: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28316,7 +28202,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: - - *105 + - *63 requestBody: content: application/json: @@ -28357,7 +28243,7 @@ paths: default: value: seats_created: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28393,7 +28279,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: - - *105 + - *63 requestBody: content: application/json: @@ -28435,7 +28321,7 @@ paths: default: value: seats_cancelled: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28474,7 +28360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *105 + - *63 - 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`). @@ -28506,7 +28392,7 @@ paths: application/json: schema: type: array - items: &312 + items: &307 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28813,7 +28699,7 @@ paths: - date additionalProperties: true examples: - default: &313 + default: &308 value: - date: '2024-06-24' total_active_users: 24 @@ -28912,10 +28798,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *106 + '500': *104 '403': *29 '404': *6 - '422': &314 + '422': &309 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28942,12 +28828,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *105 - - *170 - - *171 - - *172 - - *173 - - *174 + - *63 + - *178 + - *179 + - *180 + - *181 + - *182 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -28985,13 +28871,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *175 - - *176 + - *183 + - *184 - *48 - *40 - *41 - - *177 - - *178 - *17 responses: '200': @@ -29000,9 +28884,9 @@ paths: application/json: schema: type: array - items: *179 + items: *185 examples: - default: *180 + default: *186 '304': *37 '400': *14 '403': *29 @@ -29028,7 +28912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29046,7 +28930,7 @@ paths: type: integer secrets: type: array - items: &181 + items: &187 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29096,7 +28980,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29117,13 +29001,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &484 + schema: &479 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29140,7 +29024,7 @@ paths: - key_id - key examples: - default: &485 + default: &480 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29163,14 +29047,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 responses: '200': description: Response content: application/json: - schema: *181 + schema: *187 examples: default: value: @@ -29198,8 +29082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -29258,7 +29142,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -29282,8 +29166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 responses: '204': description: Response @@ -29307,8 +29191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - *19 - *17 responses: @@ -29326,9 +29210,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *141 examples: - default: *149 + default: *153 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29349,8 +29233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -29400,8 +29284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - name: repository_id in: path required: true @@ -29432,8 +29316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - name: repository_id in: path required: true @@ -29463,7 +29347,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: - - *105 + - *63 responses: '200': description: Response @@ -29471,7 +29355,7 @@ paths: application/json: schema: type: array - items: &228 + items: &233 title: Package description: A software package type: object @@ -29521,8 +29405,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *182 - required: *183 + properties: *188 + required: *189 nullable: true created_at: type: string @@ -29541,7 +29425,7 @@ paths: - created_at - updated_at examples: - default: &229 + default: &234 value: - id: 197 name: hello_docker @@ -29619,7 +29503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29629,7 +29513,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: 200-response: value: @@ -29701,7 +29585,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29711,7 +29595,7 @@ paths: application/json: schema: type: array - items: &206 + items: &212 title: Organization Invitation description: Organization Invitation type: object @@ -29758,7 +29642,7 @@ paths: - invitation_teams_url - node_id examples: - default: &207 + default: &213 value: - id: 1 login: monalisa @@ -29791,7 +29675,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -29815,7 +29699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29825,7 +29709,7 @@ paths: application/json: schema: type: array - items: &184 + items: &190 title: Org Hook description: Org Hook type: object @@ -29913,7 +29797,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -29936,7 +29820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *105 + - *63 requestBody: required: true content: @@ -29996,9 +29880,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *190 examples: - default: &185 + default: &191 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30045,8 +29929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *105 - - &186 + - *63 + - &192 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. @@ -30059,9 +29943,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *190 examples: - default: *185 + default: *191 '404': *6 x-github: githubCloudOnly: false @@ -30088,8 +29972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *192 requestBody: required: false content: @@ -30134,7 +30018,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *190 examples: default: value: @@ -30175,8 +30059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *192 responses: '204': description: Response @@ -30203,8 +30087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *105 - - *186 + - *63 + - *192 responses: '200': description: Response @@ -30234,8 +30118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *105 - - *186 + - *63 + - *192 requestBody: required: false content: @@ -30285,10 +30169,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *192 - *17 - - *187 + - *193 responses: '200': description: Response @@ -30296,9 +30180,9 @@ paths: application/json: schema: type: array - items: *188 + items: *194 examples: - default: *189 + default: *195 '400': *14 '422': *15 x-github: @@ -30323,17 +30207,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *192 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: *191 + default: *197 '400': *14 '422': *15 x-github: @@ -30358,8 +30242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *192 - *16 responses: '202': *39 @@ -30388,8 +30272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *192 responses: '204': description: Response @@ -30411,8 +30295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *105 - - &196 + - *63 + - &202 name: actor_type in: path description: The type of the actor @@ -30425,14 +30309,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &197 + - &203 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &192 + - &198 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`.' @@ -30440,7 +30324,7 @@ paths: required: true schema: type: string - - &193 + - &199 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) @@ -30533,13 +30417,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *105 - - *192 - - *193 + - *63 + - *198 + - *199 - *19 - *17 - *48 - - &202 + - &208 name: sort description: The property to sort the results by. in: query @@ -30617,15 +30501,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *105 - - *192 - - *193 + - *63 + - *198 + - *199 responses: '200': description: Response content: application/json: - schema: &194 + schema: &200 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30641,7 +30525,7 @@ paths: type: integer format: int64 examples: - default: &195 + default: &201 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30661,24 +30545,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *105 - - &198 + - *63 + - &204 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *192 - - *193 + - *198 + - *199 responses: '200': description: Response content: application/json: - schema: *194 + schema: *200 examples: - default: *195 + default: *201 x-github: enabledForGitHubApps: true category: orgs @@ -30696,19 +30580,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *105 - - *192 - - *193 - - *196 - - *197 + - *63 + - *198 + - *199 + - *202 + - *203 responses: '200': description: Response content: application/json: - schema: *194 + schema: *200 examples: - default: *195 + default: *201 x-github: enabledForGitHubApps: true category: orgs @@ -30725,10 +30609,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *105 - - *192 - - *193 - - &199 + - *63 + - *198 + - *199 + - &205 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30741,7 +30625,7 @@ paths: description: Response content: application/json: - schema: &200 + schema: &206 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30757,7 +30641,7 @@ paths: type: integer format: int64 examples: - default: &201 + default: &207 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30793,19 +30677,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *105 + - *63 + - *204 - *198 - - *192 - - *193 - *199 + - *205 responses: '200': description: Response content: application/json: - schema: *200 + schema: *206 examples: - default: *201 + default: *207 x-github: enabledForGitHubApps: true category: orgs @@ -30822,20 +30706,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *105 - - *196 - - *197 - - *192 - - *193 + - *63 + - *202 + - *203 + - *198 - *199 + - *205 responses: '200': description: Response content: application/json: - schema: *200 + schema: *206 examples: - default: *201 + default: *207 x-github: enabledForGitHubApps: true category: orgs @@ -30852,14 +30736,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *105 + - *63 + - *204 - *198 - - *192 - - *193 + - *199 - *19 - *17 - *48 - - *202 + - *208 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30932,7 +30816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *105 + - *63 responses: '200': description: Response @@ -30940,7 +30824,7 @@ paths: application/json: schema: *22 examples: - default: &523 + default: &518 value: id: 1 account: @@ -31009,7 +30893,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -31079,7 +30963,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31098,7 +30982,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -31106,12 +30990,12 @@ paths: application/json: schema: anyOf: - - &204 + - &210 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &203 + limit: &209 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31136,7 +31020,7 @@ paths: properties: {} additionalProperties: false examples: - default: &205 + default: &211 value: limit: collaborators_only origin: organization @@ -31160,18 +31044,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: application/json: - schema: &524 + schema: &519 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *203 + limit: *209 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31195,9 +31079,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *205 + default: *211 '422': *15 x-github: githubCloudOnly: false @@ -31215,7 +31099,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -31239,7 +31123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *105 + - *63 - *17 - *19 - name: role @@ -31273,11 +31157,11 @@ paths: application/json: schema: type: array - items: *206 + items: *212 examples: - default: *207 + default: *213 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31298,7 +31182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *105 + - *63 requestBody: required: false content: @@ -31352,7 +31236,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *212 examples: default: value: @@ -31406,8 +31290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *105 - - &208 + - *63 + - &214 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31437,8 +31321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *105 - - *208 + - *63 + - *214 - *17 - *19 responses: @@ -31448,9 +31332,9 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: &227 + default: &232 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31466,7 +31350,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31485,7 +31369,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -31493,7 +31377,7 @@ paths: application/json: schema: type: array - items: *209 + items: *215 examples: default: value: @@ -31531,7 +31415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -31578,9 +31462,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *215 examples: - default: &210 + default: &216 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31612,8 +31496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *105 - - &211 + - *63 + - &217 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31666,9 +31550,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *215 examples: - default: *210 + default: *216 '404': *6 '422': *7 x-github: @@ -31692,8 +31576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *105 - - *211 + - *63 + - *217 responses: '204': description: Response @@ -31726,7 +31610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *105 + - *63 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -31756,7 +31640,7 @@ paths: - closed - all default: open - - *212 + - *218 - name: type description: Can be the name of an issue type. in: query @@ -31775,7 +31659,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - *17 - *19 responses: @@ -31785,11 +31669,11 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *213 + default: *219 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31809,7 +31693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *105 + - *63 - 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) @@ -31847,9 +31731,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -31867,8 +31751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response if requester is an organization member and user is @@ -31902,8 +31786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -31929,8 +31813,8 @@ paths: parameters: - *17 - *19 - - *105 - *63 + - *59 responses: '200': description: Response @@ -31946,11 +31830,11 @@ paths: type: integer codespaces: type: array - items: *214 + items: *220 examples: - default: *215 + default: *221 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -31973,9 +31857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *105 - *63 - - &216 + - *59 + - &222 name: codespace_name in: path required: true @@ -31985,7 +31869,7 @@ paths: responses: '202': *39 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -32008,17 +31892,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *105 - *63 - - *216 + - *59 + - *222 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: &451 + default: &446 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32160,7 +32044,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -32191,14 +32075,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: - - *105 - *63 + - *59 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *217 + schema: *223 examples: default: value: @@ -32242,7 +32126,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -32267,14 +32151,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '200': description: Response content: application/json: - schema: &219 + schema: &224 title: Org Membership description: Org Membership type: object @@ -32318,7 +32202,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *218 + organization: *61 user: title: Simple User description: A GitHub user. @@ -32341,7 +32225,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &220 + response-if-user-has-an-active-admin-membership-with-organization: &225 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32409,8 +32293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 requestBody: required: false content: @@ -32438,9 +32322,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *224 examples: - response-if-user-already-had-membership-with-organization: *220 + response-if-user-already-had-membership-with-organization: *225 '422': *15 '403': *29 x-github: @@ -32464,8 +32348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -32490,7 +32374,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *105 + - *63 - *17 - *19 - name: exclude @@ -32511,7 +32395,7 @@ paths: application/json: schema: type: array - items: &221 + items: &226 title: Migration description: A migration. type: object @@ -32552,7 +32436,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *67 + items: *66 url: type: string format: uri @@ -32748,7 +32632,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32764,7 +32648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *105 + - *63 requestBody: required: true content: @@ -32840,7 +32724,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *226 examples: default: value: @@ -33018,8 +32902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *105 - - &222 + - *63 + - &227 name: migration_id description: The unique identifier of the migration. in: path @@ -33046,7 +32930,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *221 + schema: *226 examples: default: value: @@ -33215,8 +33099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *105 - - *222 + - *63 + - *227 responses: '302': description: Response @@ -33237,8 +33121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *105 - - *222 + - *63 + - *227 responses: '204': description: Response @@ -33261,9 +33145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *105 - - *222 - - &671 + - *63 + - *227 + - &674 name: repo_name description: repo_name parameter in: path @@ -33290,8 +33174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *105 - - *222 + - *63 + - *227 - *17 - *19 responses: @@ -33301,9 +33185,9 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: &234 + default: &239 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33414,7 +33298,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -33440,7 +33324,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response - list of organization roles @@ -33456,7 +33340,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &224 + items: &229 title: Organization Role description: Organization roles type: object @@ -33603,8 +33487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -33629,9 +33513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *105 - - *65 - - &223 + - *63 + - *64 + - &228 name: role_id description: The unique identifier of the role. in: path @@ -33666,9 +33550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *105 - - *65 - - *223 + - *63 + - *64 + - *228 responses: '204': description: Response @@ -33693,8 +33577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -33719,9 +33603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *105 - *63 - - *223 + - *59 + - *228 responses: '204': description: Response @@ -33751,9 +33635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *105 - *63 - - *223 + - *59 + - *228 responses: '204': description: Response @@ -33781,14 +33665,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *105 - - *223 + - *63 + - *228 responses: '200': description: Response content: application/json: - schema: *224 + schema: *229 examples: default: value: @@ -33838,8 +33722,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: - - *105 - - *223 + - *63 + - *228 - *17 - *19 responses: @@ -33917,8 +33801,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *230 + required: *231 nullable: true type: description: The ownership type of the team @@ -33950,9 +33834,9 @@ paths: - type - parent examples: - default: *227 + default: *232 headers: - Link: *58 + Link: *54 '404': description: Response if the organization or role does not exist. '422': @@ -33979,8 +33863,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: - - *105 - - *223 + - *63 + - *228 - *17 - *19 responses: @@ -34008,13 +33892,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &308 + items: &303 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *230 + required: *231 name: nullable: true type: string @@ -34109,9 +33993,9 @@ paths: - type - url examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': description: Response if the organization or role does not exist. '422': @@ -34133,7 +34017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *105 + - *63 - 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) @@ -34160,9 +34044,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34185,8 +34069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *105 - *63 + - *59 requestBody: required: false content: @@ -34243,8 +34127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -34301,8 +34185,8 @@ paths: - docker - nuget - container - - *105 - - &673 + - *63 + - &675 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34338,12 +34222,12 @@ paths: application/json: schema: type: array - items: *228 + items: *233 examples: - default: *229 + default: *234 '403': *29 '401': *25 - '400': &675 + '400': &677 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34365,7 +34249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &230 + - &235 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 @@ -34383,20 +34267,20 @@ paths: - docker - nuget - container - - &231 + - &236 name: package_name description: The name of the package. in: path required: true schema: type: string - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: *228 + schema: *233 examples: default: value: @@ -34448,9 +34332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *230 - - *231 - - *105 + - *235 + - *236 + - *63 responses: '204': description: Response @@ -34482,9 +34366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *230 - - *231 - - *105 + - *235 + - *236 + - *63 - name: token description: package token schema: @@ -34516,9 +34400,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: - - *230 - - *231 - - *105 + - *235 + - *236 + - *63 - *19 - *17 - name: state @@ -34538,7 +34422,7 @@ paths: application/json: schema: type: array - items: &232 + items: &237 title: Package Version description: A version of a software package type: object @@ -34663,10 +34547,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *230 - - *231 - - *105 - - &233 + - *235 + - *236 + - *63 + - &238 name: package_version_id description: Unique identifier of the package version. in: path @@ -34678,7 +34562,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *237 examples: default: value: @@ -34714,10 +34598,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *230 - - *231 - - *105 - - *233 + - *235 + - *236 + - *63 + - *238 responses: '204': description: Response @@ -34749,10 +34633,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *230 - - *231 - - *105 - - *233 + - *235 + - *236 + - *63 + - *238 responses: '204': description: Response @@ -34779,10 +34663,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: - - *105 + - *63 - *17 - *19 - - &235 + - &240 name: sort description: The property by which to sort the results. in: query @@ -34793,7 +34677,7 @@ paths: - created_at default: created_at - *48 - - &236 + - &241 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34804,7 +34688,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &237 + - &242 name: repository description: The name of the repository to use to filter the results. in: query @@ -34812,7 +34696,7 @@ paths: schema: type: string example: Hello-World - - &238 + - &243 name: permission description: The permission to use to filter the results. in: query @@ -34820,7 +34704,7 @@ paths: schema: type: string example: issues_read - - &239 + - &244 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) @@ -34830,7 +34714,7 @@ paths: schema: type: string format: date-time - - &240 + - &245 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) @@ -34840,7 +34724,7 @@ paths: schema: type: string format: date-time - - &241 + - &246 name: token_id description: The ID of the token in: query @@ -34852,7 +34736,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -34984,7 +34868,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35004,7 +34888,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: - - *105 + - *63 requestBody: required: true content: @@ -35045,7 +34929,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -35070,7 +34954,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: - - *105 + - *63 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35106,11 +34990,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 - '204': *163 + '204': *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35131,7 +35015,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: - - *105 + - *63 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35142,7 +35026,7 @@ paths: - *17 - *19 responses: - '500': *106 + '500': *104 '404': *6 '403': *29 '200': @@ -35151,11 +35035,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35176,19 +35060,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: - - *105 + - *63 - *17 - *19 - - *235 - - *48 - - *236 - - *237 - - *238 - - *239 - *240 + - *48 - *241 + - *242 + - *243 + - *244 + - *245 + - *246 responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -35315,7 +35199,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35335,7 +35219,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: - - *105 + - *63 requestBody: required: true content: @@ -35370,7 +35254,7 @@ paths: - 1296269 - 1296280 responses: - '500': *106 + '500': *104 '404': *6 '202': *39 '403': *29 @@ -35395,7 +35279,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: - - *105 + - *63 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -35423,9 +35307,9 @@ paths: value: action: revoke responses: - '500': *106 + '500': *104 '404': *6 - '204': *163 + '204': *171 '403': *29 '422': *15 x-github: @@ -35447,7 +35331,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: - - *105 + - *63 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -35457,7 +35341,7 @@ paths: - *17 - *19 responses: - '500': *106 + '500': *104 '404': *6 '403': *29 '200': @@ -35466,11 +35350,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35492,7 +35376,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -35510,7 +35394,7 @@ paths: type: integer configurations: type: array - items: &242 + items: &247 title: Organization private registry description: Private registry configuration for an organization type: object @@ -35576,7 +35460,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *58 + Link: *54 '400': *14 '404': *6 x-github: @@ -35598,7 +35482,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -35763,7 +35647,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &243 + org-private-registry-with-selected-visibility: &248 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -35804,7 +35688,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: - - *105 + - *63 responses: '200': description: Response @@ -35830,7 +35714,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -35852,16 +35736,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *63 + - *149 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *242 + schema: *247 examples: - default: *243 + default: *248 '404': *6 x-github: githubCloudOnly: false @@ -35882,8 +35766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -35978,8 +35862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *63 + - *149 responses: '204': description: Response @@ -36004,7 +35888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *105 + - *63 - name: state description: Indicates the state of the projects to return. in: query @@ -36025,7 +35909,7 @@ paths: application/json: schema: type: array - items: &244 + items: &249 title: Project description: Projects are a way to organize columns and cards of work. @@ -36149,7 +36033,7 @@ paths: organization_permission: write private: true headers: - Link: *58 + Link: *54 '422': *7 x-github: githubCloudOnly: false @@ -36172,7 +36056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *105 + - *63 requestBody: required: true content: @@ -36198,7 +36082,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *249 examples: default: value: @@ -36236,7 +36120,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &336 + '410': &331 description: Gone content: application/json: @@ -36262,7 +36146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *105 + - *63 - name: q description: Limit results to projects of the specified type. in: query @@ -36279,7 +36163,7 @@ paths: application/json: schema: type: array - items: &245 + items: &250 title: Projects v2 Project description: A projects v2 project type: object @@ -36349,7 +36233,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &755 + properties: &757 id: type: number description: The unique identifier of the status update. @@ -36397,7 +36281,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &756 + required: &758 - id - node_id - created_at @@ -36422,7 +36306,7 @@ paths: - deleted_at - deleted_by examples: - default: &246 + default: &251 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36505,7 +36389,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36525,24 +36409,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &247 + - &252 name: project_number description: The project's number. in: path required: true schema: type: integer - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: *245 + schema: *250 examples: - default: *246 + default: *251 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36562,8 +36446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *247 - - *105 + - *252 + - *63 - *17 - *40 - *41 @@ -36574,7 +36458,7 @@ paths: application/json: schema: type: array - items: &248 + items: &253 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36721,7 +36605,7 @@ paths: - updated_at - project_url examples: - default: &249 + default: &254 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36744,7 +36628,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36764,25 +36648,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *247 - - &692 + - *252 + - &694 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: *248 + schema: *253 examples: - default: *249 + default: *254 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36803,8 +36687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *247 - - *105 + - *252 + - *63 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -36813,16 +36697,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - *40 - *41 - *17 @@ -36833,7 +36720,7 @@ paths: application/json: schema: type: array - items: &255 + items: &260 title: Projects v2 Item description: An item belonging to a project type: object @@ -36849,7 +36736,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &253 + content_type: &258 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36899,7 +36786,7 @@ paths: - updated_at - archived_at examples: - default: &256 + default: &261 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37573,7 +37460,7 @@ paths: type: sub_issues_progress value: headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -37593,8 +37480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *105 - - *247 + - *63 + - *252 requestBody: required: true description: Details of the item to add to the project. @@ -37631,7 +37518,7 @@ paths: description: Response content: application/json: - schema: &693 + schema: &695 title: Projects v2 Item description: An item belonging to a project type: object @@ -37644,8 +37531,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *71 - - &466 + - *70 + - &461 title: Pull Request Simple description: Pull Request Simple type: object @@ -37751,8 +37638,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *255 + required: *256 nullable: true active_lock_reason: type: string @@ -37797,7 +37684,7 @@ paths: nullable: true requested_teams: type: array - items: *169 + items: *177 nullable: true head: type: object @@ -37806,7 +37693,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: @@ -37829,7 +37716,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: @@ -37848,7 +37735,7 @@ paths: _links: type: object properties: - comments: &252 + comments: &257 title: Link description: Hypermedia Link type: object @@ -37857,13 +37744,13 @@ paths: type: string required: - href - commits: *252 - statuses: *252 - html: *252 - issue: *252 - review_comments: *252 - review_comment: *252 - self: *252 + commits: *257 + statuses: *257 + html: *257 + issue: *257 + review_comments: *257 + review_comment: *257 + self: *257 required: - comments - commits @@ -37873,8 +37760,8 @@ paths: - review_comments - review_comment - self - author_association: *72 - auto_merge: &568 + author_association: *71 + auto_merge: &563 title: Auto merge description: The status of auto merging a pull request. type: object @@ -37976,7 +37863,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *253 + content_type: *258 creator: *4 created_at: type: string @@ -38009,7 +37896,7 @@ paths: - updated_at - archived_at examples: - issue: &254 + issue: &259 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -38064,7 +37951,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: *254 + pull_request: *259 '304': *37 '403': *29 '401': *25 @@ -38084,9 +37971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *247 - - *105 - - &257 + - *252 + - *63 + - &262 name: item_id description: The unique identifier of the project item. in: path @@ -38094,26 +37981,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *255 + schema: *260 examples: - default: *256 + default: *261 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -38132,9 +38022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *247 - - *105 - - *257 + - *252 + - *63 + - *262 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -38204,13 +38094,13 @@ paths: description: Response content: application/json: - schema: *255 + schema: *260 examples: - text_field: *256 - number_field: *256 - date_field: *256 - single_select_field: *256 - iteration_field: *256 + text_field: *261 + number_field: *261 + date_field: *261 + single_select_field: *261 + iteration_field: *261 '401': *25 '403': *29 '404': *6 @@ -38230,9 +38120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *247 - - *105 - - *257 + - *252 + - *63 + - *262 responses: '204': description: Response @@ -38256,7 +38146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -38264,7 +38154,7 @@ paths: application/json: schema: type: array - items: &258 + items: &263 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38330,7 +38220,7 @@ paths: - property_name - value_type examples: - default: &259 + default: &264 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38378,7 +38268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -38389,7 +38279,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *258 + items: *263 minItems: 1 maxItems: 100 required: @@ -38419,9 +38309,9 @@ paths: application/json: schema: type: array - items: *258 + items: *263 examples: - default: *259 + default: *264 '403': *29 '404': *6 x-github: @@ -38442,8 +38332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *105 - - &260 + - *63 + - &265 name: custom_property_name description: The custom property name in: path @@ -38455,9 +38345,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *263 examples: - default: &261 + default: &266 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38491,8 +38381,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: - - *105 - - *260 + - *63 + - *265 requestBody: required: true content: @@ -38561,9 +38451,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *263 examples: - default: *261 + default: *266 '403': *29 '404': *6 x-github: @@ -38586,10 +38476,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *105 - - *260 + - *63 + - *265 responses: - '204': *163 + '204': *171 '403': *29 '404': *6 x-github: @@ -38610,7 +38500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *105 + - *63 - *17 - *19 - name: repository_query @@ -38648,7 +38538,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &262 + items: &267 title: Custom Property Value description: Custom property name and associated value type: object @@ -38687,7 +38577,7 @@ paths: - property_name: team value: octocat headers: - Link: *58 + Link: *54 '403': *29 '404': *6 x-github: @@ -38715,7 +38605,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: - - *105 + - *63 requestBody: required: true content: @@ -38735,7 +38625,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *262 + items: *267 required: - repository_names - properties @@ -38776,7 +38666,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *105 + - *63 - *17 - *19 responses: @@ -38788,9 +38678,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38807,8 +38697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response if user is a public member @@ -38832,8 +38722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -38854,8 +38744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -38879,7 +38769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *105 + - *63 - name: type description: Specifies the types of repositories you want returned. in: query @@ -38925,11 +38815,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38948,7 +38838,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *105 + - *63 requestBody: required: true content: @@ -39129,7 +39019,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &333 title: Full Repository description: Full Repository type: object @@ -39406,8 +39296,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *263 - required: *264 + properties: *268 + required: *269 nullable: true temp_clone_token: type: string @@ -39494,8 +39384,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true organization: title: Simple User @@ -39504,8 +39394,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *67 - source: *67 + parent: *66 + source: *66 forks: type: integer master_branch: @@ -39522,7 +39412,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &471 + properties: &466 url: type: string format: uri @@ -39538,12 +39428,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &472 + required: &467 - url - key - name - html_url - security_and_analysis: *265 + security_and_analysis: *270 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39627,7 +39517,7 @@ paths: - network_count - subscribers_count examples: - default: &340 + default: &335 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40145,10 +40035,10 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - *17 - *19 - - &591 + - &586 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40166,7 +40056,7 @@ paths: application/json: schema: type: array - items: &291 + items: &296 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40201,7 +40091,7 @@ paths: source: type: string description: The name of the source - enforcement: &268 + enforcement: &273 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40214,7 +40104,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &269 + items: &274 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40284,7 +40174,7 @@ paths: conditions: nullable: true anyOf: - - &266 + - &271 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40308,7 +40198,7 @@ paths: match. items: type: string - - &270 + - &275 title: Organization ruleset conditions type: object description: |- @@ -40322,7 +40212,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *266 + - *271 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40356,7 +40246,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *266 + - *271 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40378,7 +40268,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *266 + - *271 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40391,7 +40281,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &267 + items: &272 title: Repository ruleset property targeting definition type: object @@ -40424,17 +40314,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *267 + items: *272 required: - repository_property rules: type: array - items: &592 + items: &587 title: Repository Rule type: object description: A repository rule. oneOf: - - &271 + - &276 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40446,7 +40336,7 @@ paths: type: string enum: - creation - - &272 + - &277 title: update description: Only allow users with bypass permission to update matching refs. @@ -40467,7 +40357,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &273 + - &278 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40479,7 +40369,7 @@ paths: type: string enum: - deletion - - &274 + - &279 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40491,7 +40381,7 @@ paths: type: string enum: - required_linear_history - - &589 + - &584 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40569,7 +40459,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &275 + - &280 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40593,7 +40483,7 @@ paths: type: string required: - required_deployment_environments - - &276 + - &281 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40605,7 +40495,7 @@ paths: type: string enum: - required_signatures - - &277 + - &282 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40667,7 +40557,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &278 + - &283 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40715,7 +40605,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &279 + - &284 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40727,7 +40617,7 @@ paths: type: string enum: - non_fast_forward - - &280 + - &285 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40763,7 +40653,7 @@ paths: required: - operator - pattern - - &281 + - &286 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40799,7 +40689,7 @@ paths: required: - operator - pattern - - &282 + - &287 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40835,7 +40725,7 @@ paths: required: - operator - pattern - - &283 + - &288 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40871,7 +40761,7 @@ paths: required: - operator - pattern - - &284 + - &289 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40907,7 +40797,7 @@ paths: required: - operator - pattern - - &285 + - &290 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40932,7 +40822,7 @@ paths: type: string required: - restricted_file_paths - - &286 + - &291 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40956,7 +40846,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &287 + - &292 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40979,7 +40869,7 @@ paths: type: string required: - restricted_file_extensions - - &288 + - &293 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -41004,7 +40894,7 @@ paths: maximum: 100 required: - max_file_size - - &289 + - &294 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -41054,7 +40944,7 @@ paths: - repository_id required: - workflows - - &290 + - &295 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41115,7 +41005,7 @@ paths: - tool required: - code_scanning_tools - - &590 + - &585 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41176,7 +41066,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -41192,7 +41082,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 requestBody: description: Request body required: true @@ -41213,25 +41103,20 @@ paths: - push - repository default: branch - enforcement: *268 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *274 + conditions: *275 rules: type: array description: An array of rules within the ruleset. - items: &293 + items: &298 title: Repository Rule type: object description: A repository rule. oneOf: - - *271 - - *272 - - *273 - - *274 - - *275 - *276 - *277 - *278 @@ -41247,6 +41132,11 @@ paths: - *288 - *289 - *290 + - *291 + - *292 + - *293 + - *294 + - *295 required: - name - enforcement @@ -41284,9 +41174,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *296 examples: - default: &292 + default: &297 value: id: 21 name: super cool ruleset @@ -41326,7 +41216,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -41340,8 +41230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *105 - - &593 + - *63 + - &588 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 @@ -41356,7 +41246,7 @@ paths: in: query schema: type: string - - &594 + - &589 name: time_period description: |- The time period to filter by. @@ -41372,14 +41262,14 @@ paths: - week - month default: day - - &595 + - &590 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 - - &596 + - &591 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41399,7 +41289,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &592 title: Rule Suites description: Response type: array @@ -41454,7 +41344,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &598 + default: &593 value: - id: 21 actor_id: 12 @@ -41478,7 +41368,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41497,8 +41387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *105 - - &599 + - *63 + - &594 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41514,7 +41404,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &595 title: Rule Suite description: Response type: object @@ -41613,7 +41503,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &601 + default: &596 value: id: 21 actor_id: 12 @@ -41648,7 +41538,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41674,7 +41564,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41686,11 +41576,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *296 examples: - default: *292 + default: *297 '404': *6 - '500': *106 + '500': *104 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -41706,7 +41596,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41732,16 +41622,16 @@ paths: - tag - push - repository - enforcement: *268 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *274 + conditions: *275 rules: description: An array of rules within the ruleset. type: array - items: *293 + items: *298 examples: default: value: @@ -41776,11 +41666,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *296 examples: - default: *292 + default: *297 '404': *6 - '500': *106 + '500': *104 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -41796,7 +41686,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41807,7 +41697,7 @@ paths: '204': description: Response '404': *6 - '500': *106 + '500': *104 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -41819,7 +41709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *105 + - *63 - *17 - *19 - name: ruleset_id @@ -41835,7 +41725,7 @@ paths: application/json: schema: type: array - items: &294 + items: &299 title: Ruleset version type: object description: The historical version of a ruleset @@ -41859,7 +41749,7 @@ paths: type: string format: date-time examples: - default: &603 + default: &598 value: - version_id: 3 actor: @@ -41877,7 +41767,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41894,7 +41784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41912,9 +41802,9 @@ paths: description: Response content: application/json: - schema: &604 + schema: &599 allOf: - - *294 + - *299 - type: object required: - state @@ -41961,7 +41851,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41983,15 +41873,53 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *105 - - *295 - - *296 - - *297 - - *298 + - *63 + - &600 + 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 + - &601 + 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 + - &602 + 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 + - &603 + 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 - *48 - *19 - *17 - - &605 + - &604 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 @@ -42001,7 +41929,7 @@ paths: required: false schema: type: string - - &606 + - &605 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 @@ -42011,10 +41939,42 @@ paths: required: false schema: type: string - - *299 - - *300 - - *301 - - *302 + - &606 + 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 + - &607 + 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 + - &608 + 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 + - &609 + 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 @@ -42022,13 +41982,593 @@ paths: application/json: schema: type: array - items: *303 + items: + type: object + properties: + number: *157 + created_at: *158 + updated_at: + 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 + nullable: true + url: *160 + html_url: *161 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &610 + 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: &611 + type: string + description: "**Required when the `state` is `resolved`.** The + reason for resolving the alert." + nullable: true + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + resolved_at: + type: string + format: date-time + description: 'The time that the alert was resolved in ISO 8601 + format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + resolved_by: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + 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: *53 + push_protection_bypassed: + type: boolean + description: Whether push protection was bypassed for the detected + secret. + nullable: true + push_protection_bypassed_by: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + push_protection_bypassed_at: + type: string + format: date-time + description: 'The time that push protection was bypassed in + ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + push_protection_bypass_request_reviewer_comment: + type: string + description: An optional comment when reviewing a push protection + bypass. + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true + resolution_comment: + type: string + description: The comment that was optionally added when this + alert was closed + nullable: true + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + nullable: true + is_base64_encoded: + type: boolean + description: A boolean value representing whether or not alert + is base64 encoded + nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: &612 + - &614 + 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 + example: "/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 + example: 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 + example: 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 + - &615 + 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 + example: "/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 + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + example: 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 + - &616 + 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. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &617 + 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. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &618 + 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. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &619 + 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. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &620 + 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. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &621 + 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. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &622 + 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. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &623 + 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. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &624 + 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. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &625 + 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. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &626 + 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. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + 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: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: - default: *304 + 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: *58 + Link: *54 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42053,7 +42593,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *105 + - *63 responses: '200': description: Response @@ -42065,7 +42605,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &306 + pattern_config_version: &301 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -42074,7 +42614,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &305 + items: &300 type: object properties: token_type: @@ -42140,7 +42680,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *305 + items: *300 examples: default: value: @@ -42189,7 +42729,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *105 + - *63 requestBody: required: true content: @@ -42197,7 +42737,7 @@ paths: schema: type: object properties: - pattern_config_version: *306 + pattern_config_version: *301 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42223,7 +42763,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *306 + custom_pattern_version: *301 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42277,7 +42817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *105 + - *63 - *48 - name: sort description: The property to sort the results by. @@ -42321,7 +42861,7 @@ paths: application/json: schema: type: array - items: &627 + items: &630 description: A repository security advisory. type: object properties: @@ -42541,7 +43081,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *302 credits_detailed: type: array nullable: true @@ -42551,7 +43091,7 @@ paths: type: object properties: user: *4 - type: *307 + type: *302 state: type: string description: The state of the user's acceptance of the @@ -42575,7 +43115,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *169 + items: *177 private_fork: readOnly: true nullable: true @@ -42612,7 +43152,7 @@ paths: - private_fork additionalProperties: false examples: - default: &628 + default: &631 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42991,7 +43531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *105 + - *63 responses: '200': description: Response @@ -42999,9 +43539,9 @@ paths: application/json: schema: type: array - items: *308 + items: *303 examples: - default: *227 + default: *232 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43024,8 +43564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -43050,8 +43590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -43080,13 +43620,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &694 + schema: &696 type: object properties: total_minutes_used: @@ -43156,7 +43696,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &695 + default: &697 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -43186,13 +43726,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &696 + schema: &698 type: object properties: total_gigabytes_bandwidth_used: @@ -43210,7 +43750,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &697 + default: &699 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -43236,13 +43776,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &701 + schema: &703 type: object properties: days_left_in_billing_cycle: @@ -43260,7 +43800,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &702 + default: &704 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -43284,7 +43824,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Immutable releases settings response @@ -43333,7 +43873,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -43390,7 +43930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *105 + - *63 - *19 - *17 responses: @@ -43408,9 +43948,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *141 examples: - default: *149 + default: *153 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43429,7 +43969,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *105 + - *63 requestBody: required: true content: @@ -43478,8 +44018,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: - - *105 - - *126 + - *63 + - *130 responses: '204': description: Response @@ -43501,8 +44041,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: - - *105 - - *126 + - *63 + - *130 responses: '204': description: Response @@ -43525,7 +44065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -43543,7 +44083,7 @@ paths: type: integer network_configurations: type: array - items: &309 + items: &304 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43602,7 +44142,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43621,7 +44161,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: - - *105 + - *63 requestBody: required: true content: @@ -43663,9 +44203,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *304 examples: - default: &310 + default: &305 value: id: 123456789ABCDEF name: My network configuration @@ -43693,8 +44233,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: - - *105 - - &311 + - *63 + - &306 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43706,11 +44246,11 @@ paths: description: Response content: application/json: - schema: *309 + schema: *304 examples: - default: *310 + default: *305 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43729,8 +44269,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: - - *105 - - *311 + - *63 + - *306 requestBody: required: true content: @@ -43769,9 +44309,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *304 examples: - default: *310 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43790,8 +44330,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: - - *105 - - *311 + - *63 + - *306 responses: '204': description: Response @@ -43814,7 +44354,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: - - *105 + - *63 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -43868,7 +44408,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: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43898,8 +44438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *105 - - *65 + - *63 + - *64 - 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`). @@ -43931,13 +44471,13 @@ paths: application/json: schema: type: array - items: *312 + items: *307 examples: - default: *313 - '500': *106 + default: *308 + '500': *104 '403': *29 '404': *6 - '422': *314 + '422': *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43955,7 +44495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *105 + - *63 - *17 - *19 responses: @@ -43965,11 +44505,11 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: *227 + default: *232 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -43989,7 +44529,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *105 + - *63 requestBody: required: true content: @@ -44061,7 +44601,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &310 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44124,8 +44664,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *230 + required: *231 nullable: true members_count: type: integer @@ -44388,7 +44928,7 @@ paths: - repos_count - organization examples: - default: &316 + default: &311 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44458,16 +44998,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *105 - - *65 + - *63 + - *64 responses: '200': description: Response content: application/json: - schema: *315 + schema: *310 examples: - default: *316 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -44488,8 +45028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *105 - - *65 + - *63 + - *64 requestBody: required: false content: @@ -44551,16 +45091,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *310 examples: - default: *316 + default: *311 '201': description: Response content: application/json: - schema: *315 + schema: *310 examples: - default: *316 + default: *311 '404': *6 '422': *15 '403': *29 @@ -44585,8 +45125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -44612,8 +45152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *105 - - *65 + - *63 + - *64 - *48 - *17 - *19 @@ -44630,7 +45170,7 @@ paths: application/json: schema: type: array - items: &317 + items: &312 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44709,7 +45249,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *73 + reactions: *72 required: - author - body @@ -44729,7 +45269,7 @@ paths: - updated_at - url examples: - default: &645 + default: &648 value: - author: login: octocat @@ -44779,7 +45319,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44803,8 +45343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *105 - - *65 + - *63 + - *64 requestBody: required: true content: @@ -44838,9 +45378,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: &318 + default: &313 value: author: login: octocat @@ -44912,9 +45452,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *105 - - *65 - - &319 + - *63 + - *64 + - &314 name: discussion_number description: The number that identifies the discussion. in: path @@ -44926,9 +45466,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: *318 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44950,9 +45490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *314 requestBody: required: false content: @@ -44975,9 +45515,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: &646 + default: &649 value: author: login: octocat @@ -45047,9 +45587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *314 responses: '204': description: Response @@ -45075,9 +45615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *314 - *48 - *17 - *19 @@ -45088,7 +45628,7 @@ paths: application/json: schema: type: array - items: &320 + items: &315 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45145,7 +45685,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *73 + reactions: *72 required: - author - body @@ -45160,7 +45700,7 @@ paths: - updated_at - url examples: - default: &647 + default: &650 value: - author: login: octocat @@ -45204,7 +45744,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45228,9 +45768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *314 requestBody: required: true content: @@ -45252,9 +45792,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *315 examples: - default: &321 + default: &316 value: author: login: octocat @@ -45320,10 +45860,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - &322 + - *63 + - *64 + - *314 + - &317 name: comment_number description: The number that identifies the comment. in: path @@ -45335,9 +45875,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *315 examples: - default: *321 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45359,10 +45899,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *314 + - *317 requestBody: required: true content: @@ -45384,9 +45924,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *315 examples: - default: &648 + default: &651 value: author: login: octocat @@ -45450,10 +45990,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *314 + - *317 responses: '204': description: Response @@ -45479,10 +46019,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *314 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -45508,7 +46048,7 @@ paths: application/json: schema: type: array - items: &323 + items: &318 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45551,7 +46091,7 @@ paths: - content - created_at examples: - default: &325 + default: &320 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45577,7 +46117,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45601,10 +46141,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *314 + - *317 requestBody: required: true content: @@ -45637,9 +46177,9 @@ paths: team discussion comment content: application/json: - schema: *323 + schema: *318 examples: - default: &324 + default: &319 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45668,9 +46208,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45693,11 +46233,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *105 - - *65 - - *319 - - *322 - - &326 + - *63 + - *64 + - *314 + - *317 + - &321 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45729,9 +46269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *314 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -45757,11 +46297,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45785,9 +46325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *314 requestBody: required: true content: @@ -45819,16 +46359,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '201': description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45851,10 +46391,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *105 - - *65 - - *319 - - *326 + - *63 + - *64 + - *314 + - *321 responses: '204': description: Response @@ -45878,8 +46418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -45889,11 +46429,11 @@ paths: application/json: schema: type: array - items: *206 + items: *212 examples: - default: *207 + default: *213 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45913,8 +46453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *105 - - *65 + - *63 + - *64 - name: role description: Filters members returned by their role in the team. in: query @@ -45937,9 +46477,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45967,15 +46507,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *105 - - *65 - *63 + - *64 + - *59 responses: '200': description: Response content: application/json: - schema: &327 + schema: &322 title: Team Membership description: Team Membership type: object @@ -46002,7 +46542,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &649 + response-if-user-is-a-team-maintainer: &652 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46038,9 +46578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *105 - - *65 - *63 + - *64 + - *59 requestBody: required: false content: @@ -46065,9 +46605,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: &650 + response-if-users-membership-with-team-is-now-pending: &653 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46102,9 +46642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *105 - - *65 - *63 + - *64 + - *59 responses: '204': description: Response @@ -46129,8 +46669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -46140,7 +46680,7 @@ paths: application/json: schema: type: array - items: &328 + items: &323 title: Team Project description: A team's access to a project. type: object @@ -46208,7 +46748,7 @@ paths: - updated_at - permissions examples: - default: &651 + default: &654 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46248,7 +46788,7 @@ paths: write: true admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46271,9 +46811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *105 - - *65 - - &329 + - *63 + - *64 + - &324 name: project_id description: The unique identifier of the project. in: path @@ -46285,9 +46825,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *323 examples: - default: &652 + default: &655 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46349,9 +46889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *105 - - *65 - - *329 + - *63 + - *64 + - *324 requestBody: required: false content: @@ -46417,9 +46957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *105 - - *65 - - *329 + - *63 + - *64 + - *324 responses: '204': description: Response @@ -46446,8 +46986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -46457,11 +46997,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46488,16 +47028,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *105 - - *65 - - *330 - - *331 + - *63 + - *64 + - *325 + - *326 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &653 + schema: &656 title: Team Repository description: A team's access to a repository. type: object @@ -46520,8 +47060,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true forks: type: integer @@ -47066,10 +47606,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *105 - - *65 - - *330 - - *331 + - *63 + - *64 + - *325 + - *326 requestBody: required: false content: @@ -47114,10 +47654,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *105 - - *65 - - *330 - - *331 + - *63 + - *64 + - *325 + - *326 responses: '204': description: Response @@ -47141,8 +47681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -47152,9 +47692,9 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - response-if-child-teams-exist: &654 + response-if-child-teams-exist: &657 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47182,7 +47722,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47207,7 +47747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *105 + - *63 - name: security_product in: path description: The security feature to enable or disable. @@ -47281,7 +47821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &332 + - &327 name: column_id description: The unique identifier of the column. in: path @@ -47293,7 +47833,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &328 title: Project Column description: Project columns contain cards of work. type: object @@ -47339,7 +47879,7 @@ paths: - created_at - updated_at examples: - default: &334 + default: &329 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47374,7 +47914,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *332 + - *327 requestBody: required: true content: @@ -47398,9 +47938,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *328 examples: - default: *334 + default: *329 '304': *37 '403': *29 '401': *25 @@ -47425,7 +47965,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *332 + - *327 responses: '204': description: Response @@ -47454,7 +47994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *332 + - *327 requestBody: required: true content: @@ -47514,15 +48054,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *329 + - *324 responses: '200': description: Response content: application/json: - schema: *244 + schema: *249 examples: - default: &335 + default: &330 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47579,7 +48119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *329 + - *324 requestBody: required: false content: @@ -47625,9 +48165,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *249 examples: - default: *335 + default: *330 '404': description: Not Found if the authenticated user does not have access to the project @@ -47648,7 +48188,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *331 '422': *7 x-github: githubCloudOnly: false @@ -47671,7 +48211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *329 + - *324 responses: '204': description: Delete Success @@ -47692,7 +48232,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *331 '404': *6 x-github: githubCloudOnly: false @@ -47716,7 +48256,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *329 + - *324 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -47743,9 +48283,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 '422': *15 '304': *37 @@ -47773,8 +48313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *329 - - *63 + - *324 + - *59 requestBody: required: false content: @@ -47826,8 +48366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *329 - - *63 + - *324 + - *59 responses: '204': description: Response @@ -47858,8 +48398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *329 - - *63 + - *324 + - *59 responses: '200': description: Response @@ -47932,7 +48472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *329 + - *324 - *17 - *19 responses: @@ -47942,7 +48482,7 @@ paths: application/json: schema: type: array - items: *333 + items: *328 examples: default: value: @@ -47955,7 +48495,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -47980,7 +48520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *329 + - *324 requestBody: required: true content: @@ -48003,7 +48543,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *328 examples: default: value: @@ -48068,7 +48608,7 @@ paths: resources: type: object properties: - core: &337 + core: &332 title: Rate Limit type: object properties: @@ -48085,21 +48625,21 @@ paths: - remaining - reset - used - graphql: *337 - search: *337 - code_search: *337 - source_import: *337 - integration_manifest: *337 - code_scanning_upload: *337 - actions_runner_registration: *337 - scim: *337 - dependency_snapshots: *337 - dependency_sbom: *337 - code_scanning_autofix: *337 + graphql: *332 + search: *332 + code_search: *332 + source_import: *332 + integration_manifest: *332 + code_scanning_upload: *332 + actions_runner_registration: *332 + scim: *332 + dependency_snapshots: *332 + dependency_sbom: *332 + code_scanning_autofix: *332 required: - core - search - rate: *337 + rate: *332 required: - rate - resources @@ -48204,14 +48744,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *338 + schema: *333 examples: default-response: summary: Default response @@ -48712,7 +49252,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *339 + '301': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48730,8 +49270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: false content: @@ -48978,10 +49518,10 @@ paths: description: Response content: application/json: - schema: *338 + schema: *333 examples: - default: *340 - '307': &341 + default: *335 + '307': &336 description: Temporary Redirect content: application/json: @@ -49010,8 +49550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -49033,7 +49573,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *341 + '307': *336 '404': *6 '409': *47 x-github: @@ -49057,11 +49597,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 - - &372 + - &367 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49084,7 +49624,7 @@ paths: type: integer artifacts: type: array - items: &342 + items: &337 title: Artifact description: An artifact type: object @@ -49162,7 +49702,7 @@ paths: - expires_at - updated_at examples: - default: &373 + default: &368 value: total_count: 2 artifacts: @@ -49201,7 +49741,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49223,9 +49763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *330 - - *331 - - &343 + - *325 + - *326 + - &338 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49237,7 +49777,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *337 examples: default: value: @@ -49275,9 +49815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *330 - - *331 - - *343 + - *325 + - *326 + - *338 responses: '204': description: Response @@ -49301,9 +49841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *330 - - *331 - - *343 + - *325 + - *326 + - *338 - name: archive_format in: path required: true @@ -49317,7 +49857,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': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49340,14 +49880,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *344 + schema: *339 examples: default: value: @@ -49373,11 +49913,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 - - &345 + - &340 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -49411,7 +49951,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &341 title: Repository actions caches description: Repository actions caches type: object @@ -49453,7 +49993,7 @@ paths: - total_count - actions_caches examples: - default: &347 + default: &342 value: total_count: 1 actions_caches: @@ -49465,7 +50005,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49485,23 +50025,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: - - *330 - - *331 + - *325 + - *326 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *345 + - *340 responses: '200': description: Response content: application/json: - schema: *346 + schema: *341 examples: - default: *347 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49521,8 +50061,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: - - *330 - - *331 + - *325 + - *326 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49553,9 +50093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *330 - - *331 - - &348 + - *325 + - *326 + - &343 name: job_id description: The unique identifier of the job. in: path @@ -49567,7 +50107,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &371 title: Job description: Information of a job execution in a workflow run type: object @@ -49874,9 +50414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *330 - - *331 - - *348 + - *325 + - *326 + - *343 responses: '302': description: Response @@ -49904,9 +50444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *330 - - *331 - - *348 + - *325 + - *326 + - *343 requestBody: required: false content: @@ -49927,7 +50467,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -49951,8 +50491,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Status response @@ -50002,8 +50542,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -50037,7 +50577,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -50066,8 +50606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -50085,7 +50625,7 @@ paths: type: integer secrets: type: array - items: &378 + items: &373 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50105,7 +50645,7 @@ paths: - created_at - updated_at examples: - default: &379 + default: &374 value: total_count: 2 secrets: @@ -50116,7 +50656,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50138,9 +50678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *330 - - *331 - - *349 + - *325 + - *326 + - *344 - *19 responses: '200': @@ -50157,7 +50697,7 @@ paths: type: integer variables: type: array - items: &382 + items: &377 title: Actions Variable type: object properties: @@ -50187,7 +50727,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &378 value: total_count: 2 variables: @@ -50200,7 +50740,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50220,8 +50760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -50230,12 +50770,12 @@ paths: schema: type: object properties: - enabled: &351 + enabled: &346 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *122 - selected_actions_url: *350 - sha_pinning_required: *123 + allowed_actions: *126 + selected_actions_url: *345 + sha_pinning_required: *127 required: - enabled examples: @@ -50263,8 +50803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -50275,9 +50815,9 @@ paths: schema: type: object properties: - enabled: *351 - allowed_actions: *122 - sha_pinning_required: *123 + enabled: *346 + allowed_actions: *126 + sha_pinning_required: *127 required: - enabled examples: @@ -50307,14 +50847,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &352 + schema: &347 type: object properties: access_level: @@ -50331,7 +50871,7 @@ paths: required: - access_level examples: - default: &353 + default: &348 value: access_level: organization x-github: @@ -50355,15 +50895,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: application/json: - schema: *352 + schema: *347 examples: - default: *353 + default: *348 responses: '204': description: Response @@ -50387,14 +50927,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *354 + schema: *349 examples: default: value: @@ -50418,8 +50958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Empty response for successful settings update @@ -50429,7 +50969,7 @@ paths: required: true content: application/json: - schema: *355 + schema: *350 examples: default: summary: Set retention days @@ -50453,16 +50993,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *124 + schema: *128 examples: - default: *356 + default: *351 '404': *6 x-github: enabledForGitHubApps: true @@ -50481,8 +51021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -50492,7 +51032,7 @@ paths: required: true content: application/json: - schema: *124 + schema: *128 examples: default: summary: Set approval policy to first time contributors @@ -50516,16 +51056,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *357 + schema: *352 examples: - default: *125 + default: *129 '403': *29 '404': *6 x-github: @@ -50545,15 +51085,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: application/json: - schema: *358 + schema: *353 examples: - default: *125 + default: *129 responses: '204': description: Empty response for successful settings update @@ -50577,16 +51117,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *127 + schema: *131 examples: - default: *128 + default: *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50605,8 +51145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -50614,9 +51154,9 @@ paths: required: false content: application/json: - schema: *127 + schema: *131 examples: - selected_actions: *128 + selected_actions: *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50638,16 +51178,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *359 + schema: *354 examples: - default: *132 + default: *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50668,8 +51208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Success response @@ -50680,9 +51220,9 @@ paths: required: true content: application/json: - schema: *360 + schema: *355 examples: - default: *132 + default: *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50709,8 +51249,8 @@ paths: in: query schema: type: string - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -50728,11 +51268,11 @@ paths: type: integer runners: type: array - items: *139 + items: *143 examples: - default: *140 + default: *144 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50754,8 +51294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -50763,9 +51303,9 @@ paths: application/json: schema: type: array - items: *361 + items: *356 examples: - default: *362 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50787,8 +51327,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -50831,7 +51371,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *363 + '201': *358 '404': *6 '422': *7 '409': *47 @@ -50862,16 +51402,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '201': description: Response content: application/json: - schema: *141 + schema: *145 examples: - default: *364 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50899,16 +51439,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '201': description: Response content: application/json: - schema: *141 + schema: *145 examples: - default: *365 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50930,17 +51470,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: - - *330 - - *331 - - *138 + - *325 + - *326 + - *142 responses: '200': description: Response content: application/json: - schema: *139 + schema: *143 examples: - default: *366 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50961,9 +51501,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: - - *330 - - *331 - - *138 + - *325 + - *326 + - *142 responses: '204': description: Response @@ -50989,11 +51529,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: - - *330 - - *331 - - *138 + - *325 + - *326 + - *142 responses: - '200': *143 + '200': *147 '404': *6 x-github: githubCloudOnly: false @@ -51015,9 +51555,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: - - *330 - - *331 - - *138 + - *325 + - *326 + - *142 requestBody: required: true content: @@ -51041,7 +51581,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *147 '404': *6 '422': *7 x-github: @@ -51065,9 +51605,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: - - *330 - - *331 - - *138 + - *325 + - *326 + - *142 requestBody: required: true content: @@ -51092,7 +51632,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *147 '404': *6 '422': *7 x-github: @@ -51116,11 +51656,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: - - *330 - - *331 - - *138 + - *325 + - *326 + - *142 responses: - '200': *367 + '200': *362 '404': *6 x-github: githubCloudOnly: false @@ -51147,12 +51687,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: - - *330 - - *331 - - *138 - - *368 + - *325 + - *326 + - *142 + - *363 responses: - '200': *143 + '200': *147 '404': *6 '422': *7 x-github: @@ -51178,9 +51718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *330 - - *331 - - &386 + - *325 + - *326 + - &381 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -51188,7 +51728,7 @@ paths: required: false schema: type: string - - &387 + - &382 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51196,7 +51736,7 @@ paths: required: false schema: type: string - - &388 + - &383 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51205,7 +51745,7 @@ paths: required: false schema: type: string - - &389 + - &384 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -51232,7 +51772,7 @@ paths: - pending - *17 - *19 - - &390 + - &385 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -51241,7 +51781,7 @@ paths: schema: type: string format: date-time - - &369 + - &364 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51250,13 +51790,13 @@ paths: schema: type: boolean default: false - - &391 + - &386 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &392 + - &387 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51279,7 +51819,7 @@ paths: type: integer workflow_runs: type: array - items: &370 + items: &365 title: Workflow Run description: An invocation of a workflow type: object @@ -51374,7 +51914,7 @@ paths: that triggered the run. type: array nullable: true - items: *76 + items: *75 created_at: type: string format: date-time @@ -51427,7 +51967,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &414 + properties: &409 id: type: string description: SHA for the commit @@ -51478,7 +52018,7 @@ paths: - name - email nullable: true - required: &415 + required: &410 - id - tree_id - message @@ -51486,8 +52026,8 @@ paths: - author - committer nullable: true - repository: *137 - head_repository: *137 + repository: *141 + head_repository: *141 head_repository_id: type: integer example: 5 @@ -51525,7 +52065,7 @@ paths: - workflow_url - pull_requests examples: - default: &393 + default: &388 value: total_count: 1 workflow_runs: @@ -51739,7 +52279,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: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51761,24 +52301,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *330 - - *331 - - &371 + - *325 + - *326 + - &366 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *369 + - *364 responses: '200': description: Response content: application/json: - schema: *370 + schema: *365 examples: - default: &374 + default: &369 value: id: 30433642 name: Build @@ -52019,9 +52559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '204': description: Response @@ -52044,9 +52584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '200': description: Response @@ -52165,15 +52705,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: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '201': description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -52200,12 +52740,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 - *17 - *19 - - *372 + - *367 responses: '200': description: Response @@ -52221,11 +52761,11 @@ paths: type: integer artifacts: type: array - items: *342 + items: *337 examples: - default: *373 + default: *368 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52247,25 +52787,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *330 - - *331 - - *371 - - &375 + - *325 + - *326 + - *366 + - &370 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *369 + - *364 responses: '200': description: Response content: application/json: - schema: *370 + schema: *365 examples: - default: *374 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52288,10 +52828,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *330 - - *331 - - *371 - - *375 + - *325 + - *326 + - *366 + - *370 - *17 - *19 responses: @@ -52309,9 +52849,9 @@ paths: type: integer jobs: type: array - items: *376 + items: *371 examples: - default: &377 + default: &372 value: total_count: 1 jobs: @@ -52400,7 +52940,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -52424,10 +52964,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *330 - - *331 - - *371 - - *375 + - *325 + - *326 + - *366 + - *370 responses: '302': description: Response @@ -52455,15 +52995,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '202': description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -52490,9 +53030,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: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 requestBody: required: true content: @@ -52559,15 +53099,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '202': description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -52594,9 +53134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -52626,11 +53166,11 @@ paths: type: integer jobs: type: array - items: *376 + items: *371 examples: - default: *377 + default: *372 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52653,9 +53193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '302': description: Response @@ -52682,14 +53222,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '204': description: Response '403': *29 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52711,9 +53251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '200': description: Response @@ -52773,7 +53313,7 @@ paths: items: type: object properties: - type: &493 + type: &488 type: string description: The type of reviewer. enum: @@ -52783,7 +53323,7 @@ paths: reviewer: anyOf: - *4 - - *169 + - *177 required: - environment - wait_timer @@ -52858,9 +53398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 requestBody: required: true content: @@ -52907,7 +53447,7 @@ paths: application/json: schema: type: array - items: &488 + items: &483 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52995,8 +53535,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -53013,7 +53553,7 @@ paths: - created_at - updated_at examples: - default: &489 + default: &484 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53069,9 +53609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 requestBody: required: false content: @@ -53092,7 +53632,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -53115,9 +53655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 requestBody: required: false content: @@ -53138,7 +53678,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -53170,9 +53710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '200': description: Response @@ -53309,8 +53849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -53328,11 +53868,11 @@ paths: type: integer secrets: type: array - items: *378 + items: *373 examples: - default: *379 + default: *374 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53355,16 +53895,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *380 + schema: *375 examples: - default: *381 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53386,17 +53926,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 responses: '200': description: Response content: application/json: - schema: *378 + schema: *373 examples: - default: &506 + default: &501 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53422,9 +53962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 requestBody: required: true content: @@ -53455,7 +53995,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -53481,9 +54021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 responses: '204': description: Response @@ -53508,9 +54048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *330 - - *331 - - *349 + - *325 + - *326 + - *344 - *19 responses: '200': @@ -53527,11 +54067,11 @@ paths: type: integer variables: type: array - items: *382 + items: *377 examples: - default: *383 + default: *378 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53552,8 +54092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -53580,7 +54120,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -53605,17 +54145,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *325 + - *326 + - *152 responses: '200': description: Response content: application/json: - schema: *382 + schema: *377 examples: - default: &507 + default: &502 value: name: USERNAME value: octocat @@ -53641,9 +54181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *325 + - *326 + - *152 requestBody: required: true content: @@ -53685,9 +54225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *325 + - *326 + - *152 responses: '204': description: Response @@ -53712,8 +54252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -53731,7 +54271,7 @@ paths: type: integer workflows: type: array - items: &384 + items: &379 title: Workflow description: A GitHub Actions workflow type: object @@ -53815,7 +54355,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: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53838,9 +54378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *330 - - *331 - - &385 + - *325 + - *326 + - &380 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53855,7 +54395,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *379 examples: default: value: @@ -53888,9 +54428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *330 - - *331 - - *385 + - *325 + - *326 + - *380 responses: '204': description: Response @@ -53915,9 +54455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *330 - - *331 - - *385 + - *325 + - *326 + - *380 responses: '204': description: Response @@ -53968,9 +54508,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *330 - - *331 - - *385 + - *325 + - *326 + - *380 responses: '204': description: Response @@ -53997,19 +54537,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *330 - - *331 + - *325 + - *326 + - *380 + - *381 + - *382 + - *383 + - *384 + - *17 + - *19 - *385 + - *364 - *386 - *387 - - *388 - - *389 - - *17 - - *19 - - *390 - - *369 - - *391 - - *392 responses: '200': description: Response @@ -54025,11 +54565,11 @@ paths: type: integer workflow_runs: type: array - items: *370 + items: *365 examples: - default: *393 + default: *388 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54059,9 +54599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *330 - - *331 - - *385 + - *325 + - *326 + - *380 responses: '200': description: Response @@ -54122,8 +54662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *330 - - *331 + - *325 + - *326 - *48 - *17 - *40 @@ -54268,7 +54808,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '422': *7 x-github: githubCloudOnly: false @@ -54287,8 +54827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -54300,9 +54840,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -54325,8 +54865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *330 - - *331 + - *325 + - *326 - name: assignee in: path required: true @@ -54362,8 +54902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -54475,8 +55015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *40 - *41 @@ -54532,7 +55072,7 @@ paths: initiator: type: string examples: - default: *394 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54552,8 +55092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -54561,7 +55101,7 @@ paths: application/json: schema: type: array - items: &395 + items: &390 title: Autolink reference description: An autolink reference. type: object @@ -54615,8 +55155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -54655,9 +55195,9 @@ paths: description: response content: application/json: - schema: *395 + schema: *390 examples: - default: &396 + default: &391 value: id: 1 key_prefix: TICKET- @@ -54688,9 +55228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *330 - - *331 - - &397 + - *325 + - *326 + - &392 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54702,9 +55242,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *390 examples: - default: *396 + default: *391 '404': *6 x-github: githubCloudOnly: false @@ -54724,9 +55264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *330 - - *331 - - *397 + - *325 + - *326 + - *392 responses: '204': description: Response @@ -54750,8 +55290,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response if Dependabot is enabled @@ -54799,8 +55339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -54821,8 +55361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -54842,8 +55382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *330 - - *331 + - *325 + - *326 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54881,7 +55421,7 @@ paths: - url protected: type: boolean - protection: &399 + protection: &394 title: Branch Protection description: Branch Protection type: object @@ -54923,7 +55463,7 @@ paths: required: - contexts - checks - enforce_admins: &402 + enforce_admins: &397 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54938,7 +55478,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &404 + required_pull_request_reviews: &399 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54959,7 +55499,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *169 + items: *177 apps: description: The list of apps with review dismissal access. @@ -54988,7 +55528,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *169 + items: *177 apps: description: The list of apps allowed to bypass pull request requirements. @@ -55014,7 +55554,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &401 + restrictions: &396 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55077,7 +55617,7 @@ paths: type: string teams: type: array - items: *169 + items: *177 apps: type: array items: @@ -55273,7 +55813,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -55291,9 +55831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *330 - - *331 - - &400 + - *325 + - *326 + - &395 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -55307,14 +55847,14 @@ paths: description: Response content: application/json: - schema: &410 + schema: &405 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &457 title: Commit description: Commit type: object @@ -55348,7 +55888,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &398 + properties: &393 name: type: string example: '"Chris Wanstrath"' @@ -55363,7 +55903,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *393 nullable: true message: type: string @@ -55384,7 +55924,7 @@ paths: required: - sha - url - verification: &513 + verification: &508 title: Verification type: object properties: @@ -55418,12 +55958,12 @@ paths: nullable: true oneOf: - *4 - - *146 + - *150 committer: nullable: true oneOf: - *4 - - *146 + - *150 parents: type: array items: @@ -55454,7 +55994,7 @@ paths: type: integer files: type: array - items: &475 + items: &470 title: Diff Entry description: Diff Entry type: object @@ -55538,7 +56078,7 @@ paths: - self protected: type: boolean - protection: *399 + protection: *394 protection_url: type: string format: uri @@ -55645,7 +56185,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *339 + '301': *334 '404': *6 x-github: githubCloudOnly: false @@ -55667,15 +56207,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *399 + schema: *394 examples: default: value: @@ -55869,9 +56409,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -56126,7 +56666,7 @@ paths: url: type: string format: uri - required_status_checks: &407 + required_status_checks: &402 title: Status Check Policy description: Status Check Policy type: object @@ -56202,7 +56742,7 @@ paths: items: *4 teams: type: array - items: *169 + items: *177 apps: type: array items: *5 @@ -56220,7 +56760,7 @@ paths: items: *4 teams: type: array - items: *169 + items: *177 apps: type: array items: *5 @@ -56278,7 +56818,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *401 + restrictions: *396 required_conversation_resolution: type: object properties: @@ -56390,9 +56930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56417,17 +56957,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *402 + schema: *397 examples: - default: &403 + default: &398 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56449,17 +56989,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *402 + schema: *397 examples: - default: *403 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56478,9 +57018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56505,17 +57045,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *404 + schema: *399 examples: - default: &405 + default: &400 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56611,9 +57151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -56711,9 +57251,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *399 examples: - default: *405 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -56734,9 +57274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56763,17 +57303,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *402 + schema: *397 examples: - default: &406 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56796,17 +57336,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *402 + schema: *397 examples: - default: *406 + default: *401 '404': *6 x-github: githubCloudOnly: false @@ -56826,9 +57366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56853,17 +57393,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *407 + schema: *402 examples: - default: &408 + default: &403 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56889,9 +57429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -56943,9 +57483,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *402 examples: - default: *408 + default: *403 '404': *6 '422': *15 x-github: @@ -56967,9 +57507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56993,9 +57533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -57029,9 +57569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -57098,9 +57638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -57164,9 +57704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: content: application/json: @@ -57232,15 +57772,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *401 + schema: *396 examples: default: value: @@ -57331,9 +57871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -57356,9 +57896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -57368,7 +57908,7 @@ paths: type: array items: *5 examples: - default: &409 + default: &404 value: - id: 1 slug: octoapp @@ -57425,9 +57965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57461,7 +58001,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -57482,9 +58022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57518,7 +58058,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -57539,9 +58079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57575,7 +58115,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -57597,9 +58137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -57607,9 +58147,9 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: *227 + default: *232 '404': *6 x-github: githubCloudOnly: false @@ -57629,9 +58169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -57667,9 +58207,9 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: *227 + default: *232 '422': *15 x-github: githubCloudOnly: false @@ -57690,9 +58230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -57728,9 +58268,9 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: *227 + default: *232 '422': *15 x-github: githubCloudOnly: false @@ -57751,9 +58291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: content: application/json: @@ -57788,9 +58328,9 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: *227 + default: *232 '422': *15 x-github: githubCloudOnly: false @@ -57812,9 +58352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -57824,7 +58364,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '404': *6 x-github: githubCloudOnly: false @@ -57848,9 +58388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57883,7 +58423,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -57908,9 +58448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57943,7 +58483,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -57968,9 +58508,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -58003,7 +58543,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -58030,9 +58570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -58054,7 +58594,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *405 examples: default: value: @@ -58170,8 +58710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -58450,7 +58990,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &406 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58561,16 +59101,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *76 - deployment: &713 + items: *75 + deployment: &715 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58637,8 +59177,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -58850,9 +59390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *330 - - *331 - - &412 + - *325 + - *326 + - &407 name: check_run_id description: The unique identifier of the check run. in: path @@ -58864,9 +59404,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *406 examples: - default: &413 + default: &408 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58966,9 +59506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *330 - - *331 - - *412 + - *325 + - *326 + - *407 requestBody: required: true content: @@ -59208,9 +59748,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *406 examples: - default: *413 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59230,9 +59770,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *330 - - *331 - - *412 + - *325 + - *326 + - *407 - *17 - *19 responses: @@ -59307,7 +59847,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: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59327,15 +59867,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *330 - - *331 - - *412 + - *325 + - *326 + - *407 responses: '201': description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -59373,8 +59913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -59396,7 +59936,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &416 + schema: &411 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59460,7 +60000,7 @@ paths: nullable: true pull_requests: type: array - items: *76 + items: *75 nullable: true app: title: GitHub app @@ -59471,9 +60011,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - repository: *137 + properties: *67 + required: *68 + repository: *141 created_at: type: string format: date-time @@ -59482,12 +60022,12 @@ paths: type: string format: date-time nullable: true - head_commit: &739 + head_commit: &741 title: Simple Commit description: A commit. type: object - properties: *414 - required: *415 + properties: *409 + required: *410 latest_check_runs_count: type: integer check_runs_url: @@ -59515,7 +60055,7 @@ paths: - check_runs_url - pull_requests examples: - default: &417 + default: &412 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59806,9 +60346,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *416 + schema: *411 examples: - default: *417 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59827,8 +60367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -59889,7 +60429,7 @@ paths: required: - app_id - setting - repository: *137 + repository: *141 examples: default: value: @@ -60137,9 +60677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *330 - - *331 - - &418 + - *325 + - *326 + - &413 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60151,9 +60691,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *411 examples: - default: *417 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60176,17 +60716,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *330 - - *331 - - *418 - - &468 + - *325 + - *326 + - *413 + - &463 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &464 name: status description: Returns check runs with the specified `status`. in: query @@ -60225,9 +60765,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *406 examples: - default: &470 + default: &465 value: total_count: 1 check_runs: @@ -60309,7 +60849,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60329,15 +60869,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *330 - - *331 - - *418 + - *325 + - *326 + - *413 responses: '201': description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -60364,21 +60904,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *330 - - *331 - - *419 - - *420 + - *325 + - *326 + - *414 + - *415 - *19 - *17 - - &437 + - &432 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: *421 - - &438 + schema: *416 + - &433 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60403,13 +60943,13 @@ paths: be returned. in: query required: false - schema: *422 + schema: *417 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *423 + schema: *418 responses: '200': description: Response @@ -60420,14 +60960,14 @@ paths: items: type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: *424 - state: *158 - fixed_at: *154 + number: *157 + created_at: *158 + updated_at: *159 + url: *160 + html_url: *161 + instances_url: *419 + state: *166 + fixed_at: *162 dismissed_by: title: Simple User description: A GitHub user. @@ -60435,12 +60975,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 - rule: *427 - tool: *428 - most_recent_instance: *429 + dismissed_at: *163 + dismissed_reason: *420 + dismissed_comment: *421 + rule: *422 + tool: *423 + most_recent_instance: *424 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60566,14 +61106,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &430 + '403': &425 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60593,9 +61133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *330 - - *331 - - &431 + - *325 + - *326 + - &426 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60603,23 +61143,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *54 + schema: *157 responses: '200': description: Response content: application/json: - schema: &432 + schema: &427 type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: *424 - state: *158 - fixed_at: *154 + number: *157 + created_at: *158 + updated_at: *159 + url: *160 + html_url: *161 + instances_url: *419 + state: *166 + fixed_at: *162 dismissed_by: title: Simple User description: A GitHub user. @@ -60627,9 +61167,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_at: *163 + dismissed_reason: *420 + dismissed_comment: *421 rule: type: object properties: @@ -60683,8 +61223,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *428 - most_recent_instance: *429 + tool: *423 + most_recent_instance: *424 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60783,9 +61323,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60803,9 +61343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 requestBody: required: true content: @@ -60820,8 +61360,8 @@ paths: enum: - open - dismissed - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *420 + dismissed_comment: *421 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60840,7 +61380,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *427 examples: default: value: @@ -60916,14 +61456,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &436 + '403': &431 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': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60943,15 +61483,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: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 responses: '200': description: Response content: application/json: - schema: &433 + schema: &428 type: object properties: status: @@ -60977,13 +61517,13 @@ paths: - description - started_at examples: - default: &434 + default: &429 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &435 + '400': &430 description: Bad Request content: application/json: @@ -60994,9 +61534,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': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61019,29 +61559,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: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 responses: '200': description: OK content: application/json: - schema: *433 + schema: *428 examples: - default: *434 + default: *429 '202': description: Accepted content: application/json: - schema: *433 + schema: *428 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *435 + '400': *430 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61051,7 +61591,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61073,9 +61613,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: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 requestBody: required: false content: @@ -61120,12 +61660,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *435 - '403': *436 + '400': *430 + '403': *431 '404': *6 '422': description: Unprocessable Entity - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61145,13 +61685,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 - *19 - *17 - - *437 - - *438 + - *432 + - *433 responses: '200': description: Response @@ -61159,7 +61699,7 @@ paths: application/json: schema: type: array - items: *429 + items: *424 examples: default: value: @@ -61198,9 +61738,9 @@ paths: end_column: 50 classifications: - source - '403': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61232,25 +61772,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *330 - - *331 - - *419 - - *420 + - *325 + - *326 + - *414 + - *415 - *19 - *17 - - *438 + - *433 - 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: *421 + schema: *416 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &436 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61271,23 +61811,23 @@ paths: application/json: schema: type: array - items: &442 + items: &437 type: object properties: - ref: *421 - commit_sha: &450 + ref: *416 + commit_sha: &445 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: *439 + analysis_key: *434 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *440 + category: *435 error: type: string example: error reading field xyz @@ -61311,8 +61851,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *428 + sarif_id: *436 + tool: *423 deletable: type: boolean warning: @@ -61373,9 +61913,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61409,8 +61949,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: - - *330 - - *331 + - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61423,7 +61963,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *437 examples: response: summary: application/json response @@ -61477,14 +62017,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *430 + '403': *425 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61564,8 +62104,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: - - *330 - - *331 + - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61618,9 +62158,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': *436 + '403': *431 '404': *6 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61640,8 +62180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -61649,7 +62189,7 @@ paths: application/json: schema: type: array - items: &443 + items: &438 title: CodeQL Database description: A CodeQL database. type: object @@ -61760,9 +62300,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': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61789,8 +62329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61802,7 +62342,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *438 examples: default: value: @@ -61834,11 +62374,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': &477 + '302': &472 description: Found - '403': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61858,8 +62398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *330 - - *331 + - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61869,9 +62409,9 @@ paths: responses: '204': description: Response - '403': *436 + '403': *431 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61897,8 +62437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -61907,7 +62447,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &439 type: string description: The language targeted by the CodeQL query enum: @@ -61986,7 +62526,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &443 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61996,7 +62536,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *444 + query_language: *439 query_pack_url: type: string description: The download url for the query pack. @@ -62043,7 +62583,7 @@ paths: items: type: object properties: - repository: &445 + repository: &440 title: Repository Identifier description: Repository Identifier type: object @@ -62079,7 +62619,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &444 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62111,7 +62651,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &446 + access_mismatch_repos: &441 type: object properties: repository_count: @@ -62125,7 +62665,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: *445 + items: *440 required: - repository_count - repositories @@ -62147,8 +62687,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *441 + over_limit_repos: *441 required: - access_mismatch_repos - not_found_repos @@ -62164,7 +62704,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &442 summary: Default response value: id: 1 @@ -62316,17 +62856,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *442 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *442 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62347,8 +62887,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: - - *330 - - *331 + - *325 + - *326 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62360,11 +62900,11 @@ paths: description: Response content: application/json: - schema: *448 + schema: *443 examples: - default: *447 + default: *442 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62385,7 +62925,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: - - *330 + - *325 - name: repo in: path description: The name of the controller repository. @@ -62420,7 +62960,7 @@ paths: type: object properties: repository: *53 - analysis_status: *449 + analysis_status: *444 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62524,7 +63064,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62545,8 +63085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -62631,9 +63171,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62652,8 +63192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -62720,7 +63260,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -62745,7 +63285,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *436 + '403': *431 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62759,7 +63299,7 @@ paths: content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62816,8 +63356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -62825,7 +63365,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *445 ref: type: string description: |- @@ -62883,7 +63423,7 @@ paths: schema: type: object properties: - id: *441 + id: *436 url: type: string description: The REST API URL for checking the status of the upload. @@ -62897,11 +63437,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': *436 + '403': *431 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62920,8 +63460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *330 - - *331 + - *325 + - *326 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62967,10 +63507,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': *430 + '403': *425 '404': description: Not Found if the sarif id does not match any upload - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62992,8 +63532,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -63049,7 +63589,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': *163 + '204': *171 '304': *37 '403': *29 '404': *6 @@ -63074,8 +63614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *330 - - *331 + - *325 + - *326 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -63195,8 +63735,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -63212,7 +63752,7 @@ paths: type: integer codespaces: type: array - items: *214 + items: *220 examples: default: value: @@ -63488,7 +64028,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': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -63510,8 +64050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -63574,22 +64114,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63613,8 +64153,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -63654,7 +64194,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *106 + '500': *104 '400': *14 '401': *25 '403': *29 @@ -63678,8 +64218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63714,14 +64254,14 @@ paths: type: integer machines: type: array - items: &661 + items: &664 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *447 + required: *448 examples: - default: &662 + default: &665 value: total_count: 2 machines: @@ -63738,7 +64278,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -63761,8 +64301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *330 - - *331 + - *325 + - *326 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63846,8 +64386,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: - - *330 - - *331 + - *325 + - *326 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -63892,7 +64432,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63913,8 +64453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -63932,7 +64472,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &452 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63952,9 +64492,9 @@ paths: - created_at - updated_at examples: - default: *454 + default: *449 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63975,16 +64515,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *455 + schema: *450 examples: - default: *456 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64004,17 +64544,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 responses: '200': description: Response content: application/json: - schema: *457 + schema: *452 examples: - default: *458 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64034,9 +64574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 requestBody: required: true content: @@ -64064,7 +64604,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -64088,9 +64628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 responses: '204': description: Response @@ -64118,8 +64658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *330 - - *331 + - *325 + - *326 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64161,7 +64701,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &454 login: type: string example: octocat @@ -64254,7 +64794,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &455 - avatar_url - events_url - followers_url @@ -64303,7 +64843,7 @@ paths: admin: false role_name: write headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -64328,9 +64868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *325 + - *326 + - *59 responses: '204': description: Response if user is a collaborator @@ -64376,9 +64916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *325 + - *326 + - *59 requestBody: required: false content: @@ -64404,7 +64944,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &526 + schema: &521 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64415,7 +64955,7 @@ paths: example: 42 type: integer format: int64 - repository: *137 + repository: *141 invitee: title: Simple User description: A GitHub user. @@ -64593,7 +65133,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *111 + schema: *110 '403': *29 x-github: triggersNotification: true @@ -64633,9 +65173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *325 + - *326 + - *59 responses: '204': description: No Content when collaborator was removed from the repository. @@ -64666,9 +65206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *330 - - *331 - - *63 + - *325 + - *326 + - *59 responses: '200': description: if user has admin permissions @@ -64688,8 +65228,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *454 + required: *455 nullable: true required: - permission @@ -64744,8 +65284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -64755,7 +65295,7 @@ paths: application/json: schema: type: array - items: &461 + items: &456 title: Commit Comment description: Commit Comment type: object @@ -64796,8 +65336,8 @@ paths: updated_at: type: string format: date-time - author_association: *72 - reactions: *73 + author_association: *71 + reactions: *72 required: - url - html_url @@ -64813,7 +65353,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &459 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64847,7 +65387,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64872,17 +65412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 responses: '200': description: Response content: application/json: - schema: *461 + schema: *456 examples: - default: &465 + default: &460 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64939,9 +65479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 requestBody: required: true content: @@ -64963,7 +65503,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *456 examples: default: value: @@ -65014,9 +65554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 responses: '204': description: Response @@ -65037,9 +65577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 - 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. @@ -65065,11 +65605,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -65088,9 +65628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 requestBody: required: true content: @@ -65122,16 +65662,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '201': description: Reaction created content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -65153,10 +65693,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *330 - - *331 - - *88 + - *325 - *326 + - *86 + - *321 responses: '204': description: Response @@ -65205,8 +65745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *330 - - *331 + - *325 + - *326 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65262,9 +65802,9 @@ paths: application/json: schema: type: array - items: *462 + items: *457 examples: - default: &575 + default: &570 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65334,8 +65874,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *58 - '500': *106 + Link: *54 + '500': *104 '400': *14 '404': *6 '409': *47 @@ -65358,9 +65898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *330 - - *331 - - &463 + - *325 + - *326 + - &458 name: commit_sha description: The SHA of the commit. in: path @@ -65432,9 +65972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *330 - - *331 - - *463 + - *325 + - *326 + - *458 - *17 - *19 responses: @@ -65444,11 +65984,11 @@ paths: application/json: schema: type: array - items: *461 + items: *456 examples: - default: *464 + default: *459 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65474,9 +66014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *330 - - *331 - - *463 + - *325 + - *326 + - *458 requestBody: required: true content: @@ -65511,9 +66051,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *456 examples: - default: *465 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65541,9 +66081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *330 - - *331 - - *463 + - *325 + - *326 + - *458 - *17 - *19 responses: @@ -65553,9 +66093,9 @@ paths: application/json: schema: type: array - items: *466 + items: *461 examples: - default: &567 + default: &562 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66034,7 +66574,7 @@ paths: auto_merge: draft: false headers: - Link: *58 + Link: *54 '409': *47 x-github: githubCloudOnly: false @@ -66092,11 +66632,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *330 - - *331 + - *325 + - *326 - *19 - *17 - - &467 + - &462 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)" @@ -66111,9 +66651,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *457 examples: - default: &554 + default: &549 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66199,8 +66739,8 @@ paths: ..... '422': *15 '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 '409': *47 x-github: githubCloudOnly: false @@ -66226,11 +66766,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *330 - - *331 - - *467 - - *468 - - *469 + - *325 + - *326 + - *462 + - *463 + - *464 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66264,11 +66804,11 @@ paths: type: integer check_runs: type: array - items: *411 + items: *406 examples: - default: *470 + default: *465 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66291,9 +66831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *330 - - *331 - - *467 + - *325 + - *326 + - *462 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66301,7 +66841,7 @@ paths: schema: type: integer example: 1 - - *468 + - *463 - *17 - *19 responses: @@ -66319,7 +66859,7 @@ paths: type: integer check_suites: type: array - items: *416 + items: *411 examples: default: value: @@ -66494,7 +67034,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: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66519,9 +67059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *330 - - *331 - - *467 + - *325 + - *326 + - *462 - *17 - *19 responses: @@ -66588,7 +67128,7 @@ paths: type: string total_count: type: integer - repository: *137 + repository: *141 commit_url: type: string format: uri @@ -66719,9 +67259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *330 - - *331 - - *467 + - *325 + - *326 + - *462 - *17 - *19 responses: @@ -66731,7 +67271,7 @@ paths: application/json: schema: type: array - items: &632 + items: &635 title: Status description: The status of a commit. type: object @@ -66811,8 +67351,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '301': *339 + Link: *54 + '301': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66840,8 +67380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -66870,20 +67410,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *471 - required: *472 + properties: *466 + required: *467 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &473 + properties: &468 url: type: string format: uri html_url: type: string format: uri - required: &474 + required: &469 - url - html_url nullable: true @@ -66891,32 +67431,32 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true contributing: title: Community Health File type: object - properties: *473 - required: *474 + properties: *468 + required: *469 nullable: true readme: title: Community Health File type: object - properties: *473 - required: *474 + properties: *468 + required: *469 nullable: true issue_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *468 + required: *469 nullable: true pull_request_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *468 + required: *469 nullable: true required: - code_of_conduct @@ -67043,8 +67583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *330 - - *331 + - *325 + - *326 - *19 - *17 - name: basehead @@ -67087,8 +67627,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *457 + merge_base_commit: *457 status: type: string enum: @@ -67108,10 +67648,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *457 files: type: array - items: *475 + items: *470 required: - url - html_url @@ -67354,8 +67894,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67397,8 +67937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *330 - - *331 + - *325 + - *326 - name: path description: path parameter in: path @@ -67541,7 +68081,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &476 + response-if-content-is-a-file: &471 summary: Response if content is a file value: type: file @@ -67673,7 +68213,7 @@ paths: - size - type - url - - &580 + - &575 title: Content File description: Content File type: object @@ -67874,7 +68414,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *471 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67943,7 +68483,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *477 + '302': *472 '304': *37 x-github: githubCloudOnly: false @@ -67966,8 +68506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *330 - - *331 + - *325 + - *326 - name: path description: path parameter in: path @@ -68060,7 +68600,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &473 title: File Commit description: File Commit type: object @@ -68212,7 +68752,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: example-for-creating-a-file: value: @@ -68266,7 +68806,7 @@ paths: schema: oneOf: - *3 - - &508 + - &503 description: Repository rule violation was detected type: object properties: @@ -68287,7 +68827,7 @@ paths: items: type: object properties: - placeholder_id: &624 + placeholder_id: &627 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68319,8 +68859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *330 - - *331 + - *325 + - *326 - name: path description: path parameter in: path @@ -68381,7 +68921,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: default: value: @@ -68416,7 +68956,7 @@ paths: '422': *15 '404': *6 '409': *47 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68436,8 +68976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *330 - - *331 + - *325 + - *326 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68537,7 +69077,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *58 + Link: *54 '204': description: Response if repository is empty '403': *29 @@ -68560,31 +69100,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *330 - - *331 - - *170 - - *171 - - *172 - - *173 + - *325 + - *326 + - *178 + - *179 + - *180 + - *181 - 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 - - *174 - - *479 - - *175 - - *176 + - *182 + - *474 + - *183 + - *184 - *48 - - 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)." @@ -68595,8 +69127,6 @@ paths: default: 30 - *40 - *41 - - *177 - - *178 responses: '200': description: Response @@ -68604,11 +69134,11 @@ paths: application/json: schema: type: array - items: &482 + items: &477 type: object description: A Dependabot alert. properties: - number: *54 + number: *157 state: type: string description: The state of the Dependabot alert. @@ -68650,13 +69180,13 @@ paths: - unknown - direct - transitive - security_advisory: *480 + security_advisory: *475 security_vulnerability: *52 - url: *56 - html_url: *57 - created_at: *55 - updated_at: *153 - dismissed_at: *155 + url: *160 + html_url: *161 + created_at: *158 + updated_at: *159 + dismissed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -68680,8 +69210,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *154 - auto_dismissed_at: *481 + fixed_at: *162 + auto_dismissed_at: *476 required: - number - state @@ -68911,9 +69441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *330 - - *331 - - &483 + - *325 + - *326 + - &478 name: alert_number in: path description: |- @@ -68922,13 +69452,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *54 + schema: *157 responses: '200': description: Response content: application/json: - schema: *482 + schema: *477 examples: default: value: @@ -69041,9 +69571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *330 - - *331 - - *483 + - *325 + - *326 + - *478 requestBody: required: true content: @@ -69088,7 +69618,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *477 examples: default: value: @@ -69217,8 +69747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -69236,7 +69766,7 @@ paths: type: integer secrets: type: array - items: &486 + items: &481 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69267,7 +69797,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69289,16 +69819,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *484 + schema: *479 examples: - default: *485 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69318,15 +69848,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 responses: '200': description: Response content: application/json: - schema: *486 + schema: *481 examples: default: value: @@ -69352,9 +69882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 requestBody: required: true content: @@ -69382,7 +69912,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -69406,9 +69936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 responses: '204': description: Response @@ -69430,8 +69960,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: - - *330 - - *331 + - *325 + - *326 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -69567,7 +70097,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *58 + Link: *54 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -69591,8 +70121,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -69808,7 +70338,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *58 + Link: *54 '404': *6 '403': *29 x-github: @@ -69831,8 +70361,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -69907,7 +70437,7 @@ paths: - version - url additionalProperties: false - metadata: &487 + metadata: &482 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69940,7 +70470,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *487 + metadata: *482 resolved: type: object description: A collection of resolved package dependencies. @@ -69953,7 +70483,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *487 + metadata: *482 relationship: type: string description: A notation of whether a dependency is requested @@ -70082,8 +70612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *330 - - *331 + - *325 + - *326 - name: sha description: The SHA recorded at creation time. in: query @@ -70123,11 +70653,11 @@ paths: application/json: schema: type: array - items: *488 + items: *483 examples: - default: *489 + default: *484 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70191,8 +70721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -70273,7 +70803,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *483 examples: simple-example: summary: Simple example @@ -70346,9 +70876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *330 - - *331 - - &490 + - *325 + - *326 + - &485 name: deployment_id description: deployment_id parameter in: path @@ -70360,7 +70890,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *483 examples: default: value: @@ -70425,9 +70955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *330 - - *331 - - *490 + - *325 + - *326 + - *485 responses: '204': description: Response @@ -70449,9 +70979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *330 - - *331 - - *490 + - *325 + - *326 + - *485 - *17 - *19 responses: @@ -70461,7 +70991,7 @@ paths: application/json: schema: type: array - items: &491 + items: &486 title: Deployment Status description: The status of a deployment. type: object @@ -70552,8 +71082,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -70602,7 +71132,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -70622,9 +71152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *325 + - *326 + - *485 requestBody: required: true content: @@ -70699,9 +71229,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *486 examples: - default: &492 + default: &487 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70757,9 +71287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *325 + - *326 + - *485 - name: status_id in: path required: true @@ -70770,9 +71300,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *486 examples: - default: *492 + default: *487 '404': *6 x-github: githubCloudOnly: false @@ -70797,8 +71327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -70855,8 +71385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -70873,7 +71403,7 @@ paths: type: integer environments: type: array - items: &494 + items: &489 title: Environment description: Details of a deployment environment type: object @@ -70925,7 +71455,7 @@ paths: type: type: string example: wait_timer - wait_timer: &496 + wait_timer: &491 type: integer example: 30 description: The amount of time to delay a job after @@ -70962,11 +71492,11 @@ paths: items: type: object properties: - type: *493 + type: *488 reviewer: anyOf: - *4 - - *169 + - *177 required: - id - node_id @@ -70986,7 +71516,7 @@ paths: - id - node_id - type - deployment_branch_policy: &497 + deployment_branch_policy: &492 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71102,9 +71632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *330 - - *331 - - &495 + - *325 + - *326 + - &490 name: environment_name in: path required: true @@ -71117,9 +71647,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *489 examples: - default: &498 + default: &493 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71203,9 +71733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 requestBody: required: false content: @@ -71214,7 +71744,7 @@ paths: type: object nullable: true properties: - wait_timer: *496 + wait_timer: *491 prevent_self_review: type: boolean example: false @@ -71231,13 +71761,13 @@ paths: items: type: object properties: - type: *493 + type: *488 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *497 + deployment_branch_policy: *492 additionalProperties: false examples: default: @@ -71257,9 +71787,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *489 examples: - default: *498 + default: *493 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71283,9 +71813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 responses: '204': description: Default response @@ -71310,9 +71840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 - *17 - *19 responses: @@ -71330,7 +71860,7 @@ paths: example: 2 branch_policies: type: array - items: &499 + items: &494 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71387,9 +71917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 requestBody: required: true content: @@ -71435,9 +71965,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *494 examples: - example-wildcard: &500 + example-wildcard: &495 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71479,10 +72009,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - &501 + - *325 + - *326 + - *490 + - &496 name: branch_policy_id in: path required: true @@ -71494,9 +72024,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *494 examples: - default: *500 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71515,10 +72045,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - *501 + - *325 + - *326 + - *490 + - *496 requestBody: required: true content: @@ -71546,9 +72076,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *494 examples: - default: *500 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71567,10 +72097,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - *501 + - *325 + - *326 + - *490 + - *496 responses: '204': description: Response @@ -71595,9 +72125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *495 - - *331 - - *330 + - *490 + - *326 + - *325 responses: '200': description: List of deployment protection rules @@ -71613,7 +72143,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &502 + items: &497 title: Deployment protection rule description: Deployment protection rule type: object @@ -71632,7 +72162,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &503 + app: &498 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71731,9 +72261,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: - - *495 - - *331 - - *330 + - *490 + - *326 + - *325 requestBody: content: application/json: @@ -71754,9 +72284,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *502 + schema: *497 examples: - default: &504 + default: &499 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71791,9 +72321,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: - - *495 - - *331 - - *330 + - *490 + - *326 + - *325 - *19 - *17 responses: @@ -71812,7 +72342,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *503 + items: *498 examples: default: value: @@ -71847,10 +72377,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *330 - - *331 - - *495 - - &505 + - *325 + - *326 + - *490 + - &500 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71862,9 +72392,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *497 examples: - default: *504 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71885,10 +72415,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *495 - - *331 - - *330 - - *505 + - *490 + - *326 + - *325 + - *500 responses: '204': description: Response @@ -71914,9 +72444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 - *17 - *19 responses: @@ -71934,11 +72464,11 @@ paths: type: integer secrets: type: array - items: *378 + items: *373 examples: - default: *379 + default: *374 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71961,17 +72491,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 responses: '200': description: Response content: application/json: - schema: *380 + schema: *375 examples: - default: *381 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71993,18 +72523,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *325 + - *326 + - *490 + - *149 responses: '200': description: Response content: application/json: - schema: *378 + schema: *373 examples: - default: *506 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72026,10 +72556,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *325 + - *326 + - *490 + - *149 requestBody: required: true content: @@ -72060,7 +72590,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -72086,10 +72616,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *325 + - *326 + - *490 + - *149 responses: '204': description: Default response @@ -72114,10 +72644,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *330 - - *331 - - *495 - - *349 + - *325 + - *326 + - *490 + - *344 - *19 responses: '200': @@ -72134,11 +72664,11 @@ paths: type: integer variables: type: array - items: *382 + items: *377 examples: - default: *383 + default: *378 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72159,9 +72689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 requestBody: required: true content: @@ -72188,7 +72718,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -72213,18 +72743,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *330 - - *331 - - *495 - - *148 + - *325 + - *326 + - *490 + - *152 responses: '200': description: Response content: application/json: - schema: *382 + schema: *377 examples: - default: *507 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72245,10 +72775,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *330 - - *331 - - *148 - - *495 + - *325 + - *326 + - *152 + - *490 requestBody: required: true content: @@ -72290,10 +72820,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *330 - - *331 - - *148 - - *495 + - *325 + - *326 + - *152 + - *490 responses: '204': description: Response @@ -72315,8 +72845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -72326,7 +72856,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: 200-response: value: @@ -72384,8 +72914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *330 - - *331 + - *325 + - *326 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72407,7 +72937,7 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: default: value: @@ -72520,7 +73050,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *58 + Link: *54 '400': *14 x-github: githubCloudOnly: false @@ -72544,8 +73074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: false content: @@ -72577,9 +73107,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *333 examples: - default: *340 + default: *335 '400': *14 '422': *15 '403': *29 @@ -72600,8 +73130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -72660,8 +73190,8 @@ paths: application/json: schema: oneOf: - - *111 - - *508 + - *110 + - *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72686,8 +73216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *330 - - *331 + - *325 + - *326 - name: file_sha in: path required: true @@ -72786,8 +73316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -72896,7 +73426,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &504 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73110,15 +73640,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *330 - - *331 - - *463 + - *325 + - *326 + - *458 responses: '200': description: Response content: application/json: - schema: *509 + schema: *504 examples: default: value: @@ -73174,9 +73704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *330 - - *331 - - &510 + - *325 + - *326 + - &505 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. @@ -73193,7 +73723,7 @@ paths: application/json: schema: type: array - items: &511 + items: &506 title: Git Reference description: Git references within a repository type: object @@ -73246,7 +73776,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *58 + Link: *54 '409': *47 x-github: githubCloudOnly: false @@ -73268,17 +73798,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *330 - - *331 - - *510 + - *325 + - *326 + - *505 responses: '200': description: Response content: application/json: - schema: *511 + schema: *506 examples: - default: &512 + default: &507 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73307,8 +73837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -73337,9 +73867,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *506 examples: - default: *512 + default: *507 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73365,9 +73895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *330 - - *331 - - *510 + - *325 + - *326 + - *505 requestBody: required: true content: @@ -73396,9 +73926,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *506 examples: - default: *512 + default: *507 '422': *15 '409': *47 x-github: @@ -73416,9 +73946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *330 - - *331 - - *510 + - *325 + - *326 + - *505 responses: '204': description: Response @@ -73473,8 +74003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -73541,7 +74071,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &509 title: Git Tag description: Metadata for a Git tag type: object @@ -73592,7 +74122,7 @@ paths: - sha - type - url - verification: *513 + verification: *508 required: - sha - url @@ -73602,7 +74132,7 @@ paths: - tag - message examples: - default: &515 + default: &510 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73675,8 +74205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *330 - - *331 + - *325 + - *326 - name: tag_sha in: path required: true @@ -73687,9 +74217,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *509 examples: - default: *515 + default: *510 '404': *6 '409': *47 x-github: @@ -73713,8 +74243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -73787,7 +74317,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &511 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73883,8 +74413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *330 - - *331 + - *325 + - *326 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73907,7 +74437,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *511 examples: default-response: summary: Default response @@ -73966,8 +74496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -73977,7 +74507,7 @@ paths: application/json: schema: type: array - items: &517 + items: &512 title: Webhook description: Webhooks for repositories. type: object @@ -74031,7 +74561,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &747 + last_response: &749 title: Hook Response type: object properties: @@ -74086,7 +74616,7 @@ paths: status: unused message: headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -74105,8 +74635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: false content: @@ -74158,9 +74688,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *512 examples: - default: &518 + default: &513 value: type: Repository id: 12345678 @@ -74208,17 +74738,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 responses: '200': description: Response content: application/json: - schema: *517 + schema: *512 examples: - default: *518 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -74238,9 +74768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 requestBody: required: true content: @@ -74285,9 +74815,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *512 examples: - default: *518 + default: *513 '422': *15 '404': *6 x-github: @@ -74308,9 +74838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 responses: '204': description: Response @@ -74334,9 +74864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 responses: '200': description: Response @@ -74363,9 +74893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 requestBody: required: false content: @@ -74409,11 +74939,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 - *17 - - *187 + - *193 responses: '200': description: Response @@ -74421,9 +74951,9 @@ paths: application/json: schema: type: array - items: *188 + items: *194 examples: - default: *189 + default: *195 '400': *14 '422': *15 x-github: @@ -74442,18 +74972,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: *191 + default: *197 '400': *14 '422': *15 x-github: @@ -74472,9 +75002,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 - *16 responses: '202': *39 @@ -74497,9 +75027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 responses: '204': description: Response @@ -74524,9 +75054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 responses: '204': description: Response @@ -74549,8 +75079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response if immutable releases are enabled @@ -74596,10 +75126,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *330 - - *331 + - *325 + - *326 responses: - '204': *163 + '204': *171 '409': *47 x-github: githubCloudOnly: false @@ -74617,10 +75147,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *330 - - *331 + - *325 + - *326 responses: - '204': *163 + '204': *171 '409': *47 x-github: githubCloudOnly: false @@ -74675,14 +75205,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &519 + schema: &514 title: Import description: A repository import from an external source. type: object @@ -74781,7 +75311,7 @@ paths: - html_url - authors_url examples: - default: &522 + default: &517 value: vcs: subversion use_lfs: true @@ -74797,7 +75327,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': &520 + '503': &515 description: Unavailable due to service under maintenance. content: application/json: @@ -74826,8 +75356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -74875,7 +75405,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *514 examples: default: value: @@ -74900,7 +75430,7 @@ paths: type: string '422': *15 '404': *6 - '503': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74928,8 +75458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: false content: @@ -74978,7 +75508,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *514 examples: example-1: summary: Example 1 @@ -75026,7 +75556,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': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75049,12 +75579,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response - '503': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75080,9 +75610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *330 - - *331 - - &684 + - *325 + - *326 + - &686 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75096,7 +75626,7 @@ paths: application/json: schema: type: array - items: &521 + items: &516 title: Porter Author description: Porter Author type: object @@ -75150,7 +75680,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': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75175,8 +75705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *330 - - *331 + - *325 + - *326 - name: author_id in: path required: true @@ -75206,7 +75736,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *516 examples: default: value: @@ -75219,7 +75749,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75243,8 +75773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -75285,7 +75815,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75313,8 +75843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -75341,11 +75871,11 @@ paths: description: Response content: application/json: - schema: *519 + schema: *514 examples: - default: *522 + default: *517 '422': *15 - '503': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75368,8 +75898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -75377,8 +75907,8 @@ paths: application/json: schema: *22 examples: - default: *523 - '301': *339 + default: *518 + '301': *334 '404': *6 x-github: githubCloudOnly: false @@ -75398,8 +75928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -75407,12 +75937,12 @@ paths: application/json: schema: anyOf: - - *204 + - *210 - type: object properties: {} additionalProperties: false examples: - default: &525 + default: &520 value: limit: collaborators_only origin: repository @@ -75437,13 +75967,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: application/json: - schema: *524 + schema: *519 examples: default: summary: Example request body @@ -75455,9 +75985,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *525 + default: *520 '409': description: Response x-github: @@ -75479,8 +76009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -75503,8 +76033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -75514,9 +76044,9 @@ paths: application/json: schema: type: array - items: *526 + items: *521 examples: - default: &677 + default: &679 value: - id: 1 repository: @@ -75630,7 +76160,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75647,9 +76177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *325 + - *326 + - *214 requestBody: required: false content: @@ -75678,7 +76208,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *521 examples: default: value: @@ -75809,9 +76339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *325 + - *326 + - *214 responses: '204': description: Response @@ -75842,8 +76372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *330 - - *331 + - *325 + - *326 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -75891,7 +76421,7 @@ paths: required: false schema: type: string - - *212 + - *218 - name: sort description: What to sort results by. in: query @@ -75904,7 +76434,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - *17 - *19 responses: @@ -75914,9 +76444,9 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: &535 + default: &530 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76063,8 +76593,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 - '301': *339 + Link: *54 + '301': *334 '422': *15 '404': *6 x-github: @@ -76093,8 +76623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -76176,9 +76706,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: &532 + default: &527 value: id: 1 node_id: MDU6SXNzdWUx @@ -76332,9 +76862,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *77 + '503': *105 '404': *6 - '410': *336 + '410': *331 x-github: triggersNotification: true githubCloudOnly: false @@ -76362,9 +76892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *330 - - *331 - - *96 + - *325 + - *326 + - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -76374,7 +76904,7 @@ paths: enum: - asc - desc - - *79 + - *77 - *17 - *19 responses: @@ -76384,9 +76914,9 @@ paths: application/json: schema: type: array - items: *527 + items: *522 examples: - default: &534 + default: &529 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76417,7 +76947,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '422': *15 '404': *6 x-github: @@ -76444,17 +76974,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 responses: '200': description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: &528 + default: &523 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76508,9 +77038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 requestBody: required: true content: @@ -76532,9 +77062,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: *528 + default: *523 '422': *15 x-github: githubCloudOnly: false @@ -76552,9 +77082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 responses: '204': description: Response @@ -76574,9 +77104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 - 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. @@ -76602,11 +77132,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -76625,9 +77155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 requestBody: required: true content: @@ -76659,16 +77189,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '201': description: Reaction created content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -76690,10 +77220,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *330 - - *331 - - *88 + - *325 - *326 + - *86 + - *321 responses: '204': description: Response @@ -76713,8 +77243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -76724,7 +77254,7 @@ paths: application/json: schema: type: array - items: &531 + items: &526 title: Issue Event description: Issue Event type: object @@ -76767,8 +77297,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *529 - required: *530 + properties: *524 + required: *525 nullable: true label: title: Issue Event Label @@ -76812,7 +77342,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *169 + requested_team: *177 dismissed_review: title: Issue Event Dismissed Review type: object @@ -76877,7 +77407,7 @@ paths: required: - from - to - author_association: *72 + author_association: *71 lock_reason: type: string nullable: true @@ -76890,8 +77420,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -77057,7 +77587,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -77075,8 +77605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *330 - - *331 + - *325 + - *326 - name: event_id in: path required: true @@ -77087,7 +77617,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *526 examples: default: value: @@ -77280,7 +77810,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *336 + '410': *331 '403': *29 x-github: githubCloudOnly: false @@ -77314,9 +77844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *330 - - *331 - - &533 + - *325 + - *326 + - &528 name: issue_number description: The number that identifies the issue. in: path @@ -77328,12 +77858,12 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 - '301': *339 + default: *527 + '301': *334 '404': *6 - '410': *336 + '410': *331 '304': *37 x-github: githubCloudOnly: false @@ -77358,9 +77888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: false content: @@ -77464,15 +77994,15 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 '422': *15 - '503': *77 + '503': *105 '403': *29 - '301': *339 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77490,9 +78020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: false content: @@ -77518,9 +78048,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77536,9 +78066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: content: application/json: @@ -77563,9 +78093,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77587,9 +78117,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: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - name: assignee in: path required: true @@ -77629,10 +78159,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *330 - - *331 - - *533 - - *79 + - *325 + - *326 + - *528 + - *77 - *17 - *19 responses: @@ -77642,13 +78172,13 @@ paths: application/json: schema: type: array - items: *527 + items: *522 examples: - default: *534 + default: *529 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77677,9 +78207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: true content: @@ -77701,16 +78231,16 @@ paths: description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: *528 + default: *523 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *336 + '410': *331 '422': *15 '404': *6 x-github: @@ -77738,9 +78268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - *17 - *19 responses: @@ -77750,14 +78280,14 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *535 + default: *530 headers: - Link: *58 - '301': *339 + Link: *54 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77785,9 +78315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: true content: @@ -77809,17 +78339,17 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *339 + '301': *334 '403': *29 - '410': *336 + '410': *331 '422': *15 '404': *6 x-github: @@ -77850,9 +78380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77864,15 +78394,15 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 - '301': *339 + default: *527 + '301': *334 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *331 x-github: triggersNotification: true githubCloudOnly: false @@ -77898,9 +78428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - *17 - *19 responses: @@ -77910,14 +78440,14 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *535 + default: *530 headers: - Link: *58 - '301': *339 + Link: *54 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77934,9 +78464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - *17 - *19 responses: @@ -77950,7 +78480,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &537 + - &532 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77981,8 +78511,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 label: type: object properties: @@ -78004,7 +78534,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &533 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78035,8 +78565,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 label: type: object properties: @@ -78124,8 +78654,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 assignee: *4 assigner: *4 required: @@ -78140,7 +78670,7 @@ paths: - performed_via_github_app - assignee - assigner - - &539 + - &534 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78171,8 +78701,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 milestone: type: object properties: @@ -78191,7 +78721,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &535 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78222,8 +78752,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 milestone: type: object properties: @@ -78242,7 +78772,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &536 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78273,8 +78803,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 rename: type: object properties: @@ -78296,7 +78826,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &537 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78327,10 +78857,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 review_requester: *4 - requested_team: *169 + requested_team: *177 requested_reviewer: *4 required: - review_requester @@ -78343,7 +78873,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &538 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78374,10 +78904,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 review_requester: *4 - requested_team: *169 + requested_team: *177 requested_reviewer: *4 required: - review_requester @@ -78390,7 +78920,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &539 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78421,8 +78951,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 dismissed_review: type: object properties: @@ -78450,7 +78980,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &540 title: Locked Issue Event description: Locked Issue Event type: object @@ -78481,8 +79011,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 lock_reason: type: string example: '"off-topic"' @@ -78498,7 +79028,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &541 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78529,8 +79059,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 project_card: type: object properties: @@ -78564,7 +79094,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &542 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78595,8 +79125,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 project_card: type: object properties: @@ -78630,7 +79160,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &543 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78661,8 +79191,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 project_card: type: object properties: @@ -78696,7 +79226,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &544 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78786,8 +79316,8 @@ paths: name: label color: red headers: - Link: *58 - '410': *336 + Link: *54 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78804,9 +79334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - *17 - *19 responses: @@ -78816,9 +79346,9 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: &536 + default: &531 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78835,10 +79365,10 @@ paths: color: a2eeef default: false headers: - Link: *58 - '301': *339 + Link: *54 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78855,9 +79385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: false content: @@ -78916,12 +79446,12 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 - '301': *339 + default: *531 + '301': *334 '404': *6 - '410': *336 + '410': *331 '422': *15 x-github: githubCloudOnly: false @@ -78938,9 +79468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: false content: @@ -79000,12 +79530,12 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 - '301': *339 + default: *531 + '301': *334 '404': *6 - '410': *336 + '410': *331 '422': *15 x-github: githubCloudOnly: false @@ -79022,15 +79552,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 responses: '204': description: Response - '301': *339 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79049,9 +79579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - name: name in: path required: true @@ -79064,7 +79594,7 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: default: value: @@ -79075,9 +79605,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *339 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79097,9 +79627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: false content: @@ -79127,7 +79657,7 @@ paths: '204': description: Response '403': *29 - '410': *336 + '410': *331 '404': *6 '422': *15 x-github: @@ -79145,9 +79675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 responses: '204': description: Response @@ -79177,20 +79707,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 responses: '200': description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 - '301': *339 + default: *527 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79207,9 +79737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - 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. @@ -79235,13 +79765,13 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79259,9 +79789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: true content: @@ -79293,16 +79823,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '201': description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -79324,10 +79854,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *330 - - *331 - - *533 + - *325 - *326 + - *528 + - *321 responses: '204': description: Response @@ -79356,9 +79886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: true content: @@ -79380,9 +79910,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79415,9 +79945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - *17 - *19 responses: @@ -79427,13 +79957,13 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *535 + default: *530 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79461,9 +79991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: true content: @@ -79490,16 +80020,16 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *336 + '410': *331 '422': *15 '404': *6 x-github: @@ -79519,9 +80049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: true content: @@ -79552,13 +80082,13 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 '403': *29 '404': *6 '422': *7 - '503': *77 + '503': *105 x-github: triggersNotification: true githubCloudOnly: false @@ -79576,9 +80106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - *17 - *19 responses: @@ -79593,6 +80123,11 @@ paths: description: Timeline Event type: object anyOf: + - *532 + - *533 + - *534 + - *535 + - *536 - *537 - *538 - *539 @@ -79601,11 +80136,6 @@ paths: - *542 - *543 - *544 - - *545 - - *546 - - *547 - - *548 - - *549 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79648,7 +80178,7 @@ paths: issue_url: type: string format: uri - author_association: *72 + author_association: *71 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -79658,9 +80188,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *67 + required: *68 + reactions: *72 required: - event - actor @@ -79691,7 +80221,7 @@ paths: properties: type: type: string - issue: *71 + issue: *70 required: - event - created_at @@ -79891,7 +80421,7 @@ paths: type: string body_text: type: string - author_association: *72 + author_association: *71 required: - event - id @@ -79914,7 +80444,7 @@ paths: type: string comments: type: array - items: &569 + items: &564 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80003,7 +80533,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *72 + author_association: *71 _links: type: object properties: @@ -80087,7 +80617,7 @@ paths: enum: - line - file - reactions: *73 + reactions: *72 body_html: type: string example: '"

comment body

"' @@ -80123,7 +80653,7 @@ paths: type: string comments: type: array - items: *461 + items: *456 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80154,8 +80684,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 assignee: *4 required: - id @@ -80198,8 +80728,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 assignee: *4 required: - id @@ -80242,8 +80772,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 state_reason: type: string nullable: true @@ -80410,9 +80940,9 @@ paths: type: User site_admin: true headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80429,8 +80959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -80440,7 +80970,7 @@ paths: application/json: schema: type: array - items: &550 + items: &545 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80490,7 +81020,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80506,8 +81036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -80543,9 +81073,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *545 examples: - default: &551 + default: &546 value: id: 1 key: ssh-rsa AAA... @@ -80579,9 +81109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *330 - - *331 - - &552 + - *325 + - *326 + - &547 name: key_id description: The unique identifier of the key. in: path @@ -80593,9 +81123,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *545 examples: - default: *551 + default: *546 '404': *6 x-github: githubCloudOnly: false @@ -80613,9 +81143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *330 - - *331 - - *552 + - *325 + - *326 + - *547 responses: '204': description: Response @@ -80635,8 +81165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -80646,11 +81176,11 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 + default: *531 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -80669,8 +81199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -80706,9 +81236,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *69 examples: - default: &553 + default: &548 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80740,8 +81270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *330 - - *331 + - *325 + - *326 - name: name in: path required: true @@ -80752,9 +81282,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *69 examples: - default: *553 + default: *548 '404': *6 x-github: githubCloudOnly: false @@ -80771,8 +81301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *330 - - *331 + - *325 + - *326 - name: name in: path required: true @@ -80811,7 +81341,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *69 examples: default: value: @@ -80837,8 +81367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *330 - - *331 + - *325 + - *326 - name: name in: path required: true @@ -80864,8 +81394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -80904,9 +81434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *330 - - *331 - - *437 + - *325 + - *326 + - *432 responses: '200': description: Response @@ -80968,8 +81498,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true required: - _links @@ -81051,8 +81581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -81117,8 +81647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -81152,9 +81682,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *457 examples: - default: *554 + default: *549 '204': description: Response when already merged '404': @@ -81179,8 +81709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *330 - - *331 + - *325 + - *326 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81221,12 +81751,12 @@ paths: application/json: schema: type: array - items: &555 + items: &550 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *255 + required: *256 examples: default: value: @@ -81265,7 +81795,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -81282,8 +81812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -81323,9 +81853,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *550 examples: - default: &556 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81384,9 +81914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *330 - - *331 - - &557 + - *325 + - *326 + - &552 name: milestone_number description: The number that identifies the milestone. in: path @@ -81398,9 +81928,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *550 examples: - default: *556 + default: *551 '404': *6 x-github: githubCloudOnly: false @@ -81417,9 +81947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *330 - - *331 - - *557 + - *325 + - *326 + - *552 requestBody: required: false content: @@ -81457,9 +81987,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *550 examples: - default: *556 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81475,9 +82005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *330 - - *331 - - *557 + - *325 + - *326 + - *552 responses: '204': description: Response @@ -81498,9 +82028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *330 - - *331 - - *557 + - *325 + - *326 + - *552 - *17 - *19 responses: @@ -81510,11 +82040,11 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 + default: *531 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81531,12 +82061,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *330 - - *331 - - *558 - - *559 - - *79 - - *560 + - *325 + - *326 + - *553 + - *554 + - *77 + - *555 - *17 - *19 responses: @@ -81546,11 +82076,11 @@ paths: application/json: schema: type: array - items: *99 + items: *97 examples: - default: *561 + default: *556 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -81572,8 +82102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: false content: @@ -81631,14 +82161,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &562 + schema: &557 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81763,7 +82293,7 @@ paths: - custom_404 - public examples: - default: &563 + default: &558 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81804,8 +82334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -81859,9 +82389,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *557 examples: - default: *563 + default: *558 '422': *15 '409': *47 x-github: @@ -81884,8 +82414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -81984,8 +82514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -82011,8 +82541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -82022,7 +82552,7 @@ paths: application/json: schema: type: array - items: &564 + items: &559 title: Page Build description: Page Build type: object @@ -82097,7 +82627,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82116,8 +82646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *330 - - *331 + - *325 + - *326 responses: '201': description: Response @@ -82162,16 +82692,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *564 + schema: *559 examples: - default: &565 + default: &560 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82219,8 +82749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *330 - - *331 + - *325 + - *326 - name: build_id in: path required: true @@ -82231,9 +82761,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *559 examples: - default: *565 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82253,8 +82783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -82359,9 +82889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *330 - - *331 - - &566 + - *325 + - *326 + - &561 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82419,11 +82949,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *330 - - *331 - - *566 + - *325 + - *326 + - *561 responses: - '204': *163 + '204': *171 '404': *6 x-github: githubCloudOnly: false @@ -82448,8 +82978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -82680,7 +83210,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -82707,8 +83237,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Private vulnerability reporting status @@ -82745,10 +83275,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: - '204': *163 + '204': *171 '422': *14 x-github: githubCloudOnly: false @@ -82767,10 +83297,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: - '204': *163 + '204': *171 '422': *14 x-github: githubCloudOnly: false @@ -82791,8 +83321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *330 - - *331 + - *325 + - *326 - name: state description: Indicates the state of the projects to return. in: query @@ -82813,7 +83343,7 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: default: value: @@ -82849,11 +83379,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *58 + Link: *54 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *331 '422': *7 x-github: githubCloudOnly: false @@ -82876,8 +83406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -82903,13 +83433,13 @@ paths: description: Response content: application/json: - schema: *244 + schema: *249 examples: - default: *335 + default: *330 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *331 '422': *7 x-github: githubCloudOnly: false @@ -82932,8 +83462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -82941,7 +83471,7 @@ paths: application/json: schema: type: array - items: *262 + items: *267 examples: default: value: @@ -82972,8 +83502,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -82985,7 +83515,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *262 + items: *267 required: - properties examples: @@ -83035,8 +83565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *330 - - *331 + - *325 + - *326 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83096,11 +83626,11 @@ paths: application/json: schema: type: array - items: *466 + items: *461 examples: - default: *567 + default: *562 headers: - Link: *58 + Link: *54 '304': *37 '422': *15 x-github: @@ -83130,8 +83660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -83196,7 +83726,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &566 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83307,8 +83837,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *255 + required: *256 nullable: true active_lock_reason: type: string @@ -83353,7 +83883,7 @@ paths: nullable: true requested_teams: type: array - items: *308 + items: *303 nullable: true head: type: object @@ -83362,7 +83892,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: *4 @@ -83379,7 +83909,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: *4 @@ -83392,14 +83922,14 @@ paths: _links: type: object properties: - comments: *252 - commits: *252 - statuses: *252 - html: *252 - issue: *252 - review_comments: *252 - review_comment: *252 - self: *252 + comments: *257 + commits: *257 + statuses: *257 + html: *257 + issue: *257 + review_comments: *257 + review_comment: *257 + self: *257 required: - comments - commits @@ -83409,8 +83939,8 @@ paths: - review_comments - review_comment - self - author_association: *72 - auto_merge: *568 + author_association: *71 + auto_merge: *563 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83502,7 +84032,7 @@ paths: - merged_by - review_comments examples: - default: &572 + default: &567 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84029,8 +84559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - name: sort in: query required: false @@ -84049,7 +84579,7 @@ paths: enum: - asc - desc - - *79 + - *77 - *17 - *19 responses: @@ -84059,9 +84589,9 @@ paths: application/json: schema: type: array - items: *569 + items: *564 examples: - default: &574 + default: &569 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84113,7 +84643,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84138,17 +84668,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 responses: '200': description: Response content: application/json: - schema: *569 + schema: *564 examples: - default: &570 + default: &565 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84223,9 +84753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 requestBody: required: true content: @@ -84247,9 +84777,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *564 examples: - default: *570 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84265,9 +84795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 responses: '204': description: Response @@ -84288,9 +84818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 - 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. @@ -84316,11 +84846,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -84339,9 +84869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 requestBody: required: true content: @@ -84373,16 +84903,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '201': description: Reaction created content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -84404,10 +84934,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *330 - - *331 - - *88 + - *325 - *326 + - *86 + - *321 responses: '204': description: Response @@ -84450,9 +84980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *330 - - *331 - - &573 + - *325 + - *326 + - &568 name: pull_number description: The number that identifies the pull request. in: path @@ -84465,9 +84995,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *571 + schema: *566 examples: - default: *572 + default: *567 '304': *37 '404': *6 '406': @@ -84475,8 +85005,8 @@ paths: content: application/json: schema: *3 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84502,9 +85032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: false content: @@ -84546,9 +85076,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *566 examples: - default: *572 + default: *567 '422': *15 '403': *29 x-github: @@ -84570,9 +85100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: true content: @@ -84632,21 +85162,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84672,10 +85202,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *330 - - *331 - - *573 - - *96 + - *325 + - *326 + - *568 + - *94 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -84685,7 +85215,7 @@ paths: enum: - asc - desc - - *79 + - *77 - *17 - *19 responses: @@ -84695,11 +85225,11 @@ paths: application/json: schema: type: array - items: *569 + items: *564 examples: - default: *574 + default: *569 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84730,9 +85260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: true content: @@ -84837,7 +85367,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *564 examples: example-for-a-multi-line-comment: value: @@ -84925,10 +85455,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *330 - - *331 - - *573 - - *88 + - *325 + - *326 + - *568 + - *86 requestBody: required: true content: @@ -84950,7 +85480,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *564 examples: default: value: @@ -85036,9 +85566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 - *17 - *19 responses: @@ -85048,11 +85578,11 @@ paths: application/json: schema: type: array - items: *462 + items: *457 examples: - default: *575 + default: *570 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85080,9 +85610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 - *17 - *19 responses: @@ -85092,7 +85622,7 @@ paths: application/json: schema: type: array - items: *475 + items: *470 examples: default: value: @@ -85108,10 +85638,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *58 + Link: *54 '422': *15 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85130,9 +85660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 responses: '204': description: Response if pull request has been merged @@ -85155,9 +85685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: false content: @@ -85268,9 +85798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 responses: '200': description: Response @@ -85286,7 +85816,7 @@ paths: items: *4 teams: type: array - items: *169 + items: *177 required: - users - teams @@ -85327,7 +85857,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85345,9 +85875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: false content: @@ -85384,7 +85914,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *461 examples: default: value: @@ -85920,9 +86450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: true content: @@ -85956,7 +86486,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *461 examples: default: value: @@ -86461,9 +86991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 - *17 - *19 responses: @@ -86473,7 +87003,7 @@ paths: application/json: schema: type: array - items: &576 + items: &571 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86542,7 +87072,7 @@ paths: type: string body_text: type: string - author_association: *72 + author_association: *71 required: - id - node_id @@ -86591,7 +87121,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86624,9 +87154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: false content: @@ -86712,9 +87242,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *571 examples: - default: &578 + default: &573 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86777,10 +87307,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - &577 + - *325 + - *326 + - *568 + - &572 name: review_id description: The unique identifier of the review. in: path @@ -86792,9 +87322,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *571 examples: - default: &579 + default: &574 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86853,10 +87383,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *325 + - *326 + - *568 + - *572 requestBody: required: true content: @@ -86879,7 +87409,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *571 examples: default: value: @@ -86941,18 +87471,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *325 + - *326 + - *568 + - *572 responses: '200': description: Response content: application/json: - schema: *576 + schema: *571 examples: - default: *578 + default: *573 '422': *7 '404': *6 x-github: @@ -86979,10 +87509,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *330 - - *331 - - *573 - - *577 + - *325 + - *326 + - *568 + - *572 - *17 - *19 responses: @@ -87061,13 +87591,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *72 + author_association: *71 _links: type: object properties: - self: *252 - html: *252 - pull_request: *252 + self: *257 + html: *257 + pull_request: *257 required: - self - html @@ -87076,7 +87606,7 @@ paths: type: string body_html: type: string - reactions: *73 + reactions: *72 side: description: The side of the first line of the range for a multi-line comment. @@ -87188,7 +87718,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -87217,10 +87747,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *325 + - *326 + - *568 + - *572 requestBody: required: true content: @@ -87248,7 +87778,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *571 examples: default: value: @@ -87311,10 +87841,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *325 + - *326 + - *568 + - *572 requestBody: required: true content: @@ -87349,9 +87879,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *571 examples: - default: *579 + default: *574 '404': *6 '422': *7 '403': *29 @@ -87373,9 +87903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: false content: @@ -87438,8 +87968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *330 - - *331 + - *325 + - *326 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87452,9 +87982,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *575 examples: - default: &581 + default: &576 value: type: file encoding: base64 @@ -87496,8 +88026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *330 - - *331 + - *325 + - *326 - name: dir description: The alternate path to look for a README file in: path @@ -87517,9 +88047,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *575 examples: - default: *581 + default: *576 '404': *6 '422': *15 x-github: @@ -87541,8 +88071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -87552,7 +88082,7 @@ paths: application/json: schema: type: array - items: *582 + items: *577 examples: default: value: @@ -87626,7 +88156,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -87646,8 +88176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -87723,9 +88253,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *577 examples: - default: &586 + default: &581 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87830,9 +88360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *330 - - *331 - - &584 + - *325 + - *326 + - &579 name: asset_id description: The unique identifier of the asset. in: path @@ -87844,9 +88374,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *578 examples: - default: &585 + default: &580 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 @@ -87881,7 +88411,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87897,9 +88427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *330 - - *331 - - *584 + - *325 + - *326 + - *579 requestBody: required: false content: @@ -87927,9 +88457,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *578 examples: - default: *585 + default: *580 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87945,9 +88475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *330 - - *331 - - *584 + - *325 + - *326 + - *579 responses: '204': description: Response @@ -87971,8 +88501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -88057,16 +88587,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *582 + schema: *577 examples: - default: *586 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88083,8 +88613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *330 - - *331 + - *325 + - *326 - name: tag description: tag parameter in: path @@ -88097,9 +88627,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *577 examples: - default: *586 + default: *581 '404': *6 x-github: githubCloudOnly: false @@ -88121,9 +88651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *330 - - *331 - - &587 + - *325 + - *326 + - &582 name: release_id description: The unique identifier of the release. in: path @@ -88137,9 +88667,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: *582 + schema: *577 examples: - default: *586 + default: *581 '401': description: Unauthorized x-github: @@ -88157,9 +88687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *330 - - *331 - - *587 + - *325 + - *326 + - *582 requestBody: required: false content: @@ -88223,9 +88753,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *577 examples: - default: *586 + default: *581 '404': description: Not Found if the discussion category name is invalid content: @@ -88246,9 +88776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *330 - - *331 - - *587 + - *325 + - *326 + - *582 responses: '204': description: Response @@ -88268,9 +88798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *330 - - *331 - - *587 + - *325 + - *326 + - *582 - *17 - *19 responses: @@ -88280,7 +88810,7 @@ paths: application/json: schema: type: array - items: *583 + items: *578 examples: default: value: @@ -88317,7 +88847,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88361,9 +88891,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: - - *330 - - *331 - - *587 + - *325 + - *326 + - *582 - name: name in: query required: true @@ -88389,7 +88919,7 @@ paths: description: Response for successful upload content: application/json: - schema: *583 + schema: *578 examples: response-for-successful-upload: value: @@ -88444,9 +88974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *330 - - *331 - - *587 + - *325 + - *326 + - *582 - 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. @@ -88470,11 +89000,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -88493,9 +89023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *330 - - *331 - - *587 + - *325 + - *326 + - *582 requestBody: required: true content: @@ -88525,16 +89055,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '201': description: Reaction created content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -88556,10 +89086,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *330 - - *331 - - *587 + - *325 - *326 + - *582 + - *321 responses: '204': description: Response @@ -88583,9 +89113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 - *17 - *19 responses: @@ -88601,8 +89131,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *271 - - &588 + - *276 + - &583 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88621,69 +89151,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *272 - - *588 - - allOf: - - *273 - - *588 - - allOf: - - *274 - - *588 - - allOf: - - *589 - - *588 - - allOf: - - *275 - - *588 - - allOf: - - *276 - - *588 - allOf: - *277 - - *588 + - *583 - allOf: - *278 - - *588 + - *583 - allOf: - *279 - - *588 + - *583 + - allOf: + - *584 + - *583 - allOf: - *280 - - *588 + - *583 - allOf: - *281 - - *588 + - *583 - allOf: - *282 - - *588 + - *583 - allOf: - *283 - - *588 + - *583 - allOf: - *284 - - *588 + - *583 - allOf: - *285 - - *588 + - *583 - allOf: - *286 - - *588 + - *583 - allOf: - *287 - - *588 + - *583 - allOf: - *288 - - *588 + - *583 - allOf: - *289 - - *588 + - *583 - allOf: - *290 - - *588 + - *583 + - allOf: + - *291 + - *583 + - allOf: + - *292 + - *583 + - allOf: + - *293 + - *583 + - allOf: + - *294 + - *583 + - allOf: + - *295 + - *583 - allOf: - - *590 - - *588 + - *585 + - *583 examples: default: value: @@ -88722,8 +89252,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 - name: includes_parents @@ -88734,7 +89264,7 @@ paths: schema: type: boolean default: true - - *591 + - *586 responses: '200': description: Response @@ -88742,7 +89272,7 @@ paths: application/json: schema: type: array - items: *291 + items: *296 examples: default: value: @@ -88773,7 +89303,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -88789,8 +89319,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *325 + - *326 requestBody: description: Request body required: true @@ -88810,16 +89340,16 @@ paths: - tag - push default: branch - enforcement: *268 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *274 + conditions: *271 rules: type: array description: An array of rules within the ruleset. - items: *592 + items: *587 required: - name - enforcement @@ -88850,9 +89380,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *296 examples: - default: &602 + default: &597 value: id: 42 name: super cool ruleset @@ -88885,7 +89415,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -88899,12 +89429,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *330 - - *331 - - *593 - - *594 - - *595 - - *596 + - *325 + - *326 + - *588 + - *589 + - *590 + - *591 - *17 - *19 responses: @@ -88912,11 +89442,11 @@ paths: description: Response content: application/json: - schema: *597 + schema: *592 examples: - default: *598 + default: *593 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88935,19 +89465,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *330 - - *331 - - *599 + - *325 + - *326 + - *594 responses: '200': description: Response content: application/json: - schema: *600 + schema: *595 examples: - default: *601 + default: *596 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88973,8 +89503,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88994,11 +89524,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *296 examples: - default: *602 + default: *597 '404': *6 - '500': *106 + '500': *104 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -89014,8 +89544,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89040,16 +89570,16 @@ paths: - branch - tag - push - enforcement: *268 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *274 + conditions: *271 rules: description: An array of rules within the ruleset. type: array - items: *592 + items: *587 examples: default: value: @@ -89077,11 +89607,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *296 examples: - default: *602 + default: *597 '404': *6 - '500': *106 + '500': *104 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -89097,8 +89627,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89109,7 +89639,7 @@ paths: '204': description: Response '404': *6 - '500': *106 + '500': *104 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -89121,8 +89651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 - name: ruleset_id @@ -89138,11 +89668,11 @@ paths: application/json: schema: type: array - items: *294 + items: *299 examples: - default: *603 + default: *598 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89159,8 +89689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *330 - - *331 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89178,7 +89708,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *599 examples: default: value: @@ -89211,7 +89741,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89233,21 +89763,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *330 - - *331 - - *295 - - *296 - - *297 - - *298 + - *325 + - *326 + - *600 + - *601 + - *602 + - *603 - *48 - *19 - *17 + - *604 - *605 - *606 - - *299 - - *300 - - *301 - - *302 + - *607 + - *608 + - *609 responses: '200': description: Response @@ -89255,11 +89785,11 @@ paths: application/json: schema: type: array - items: &610 + items: &613 type: object properties: - number: *54 - created_at: *55 + number: *157 + created_at: *158 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -89267,15 +89797,15 @@ paths: format: date-time readOnly: true nullable: true - url: *56 - html_url: *57 + url: *160 + html_url: *161 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *607 - resolution: *608 + state: *610 + resolution: *611 resolved_at: type: string format: date-time @@ -89371,7 +89901,7 @@ paths: pull request. ' - oneOf: *609 + oneOf: *612 nullable: true has_more_locations: type: boolean @@ -89498,7 +90028,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89520,16 +90050,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 - - *302 + - *325 + - *326 + - *426 + - *609 responses: '200': description: Response content: application/json: - schema: *610 + schema: *613 examples: default: value: @@ -89560,7 +90090,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89581,9 +90111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 requestBody: required: true content: @@ -89591,8 +90121,8 @@ paths: schema: type: object properties: - state: *607 - resolution: *608 + state: *610 + resolution: *611 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89610,7 +90140,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *613 examples: default: value: @@ -89663,7 +90193,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89685,9 +90215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 - *19 - *17 responses: @@ -89698,7 +90228,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &769 + items: &771 type: object properties: type: @@ -89724,9 +90254,6 @@ paths: example: commit details: oneOf: - - *611 - - *612 - - *613 - *614 - *615 - *616 @@ -89737,6 +90264,9 @@ paths: - *621 - *622 - *623 + - *624 + - *625 + - *626 examples: default: value: @@ -89796,11 +90326,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *58 + Link: *54 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89822,8 +90352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -89831,14 +90361,14 @@ paths: schema: type: object properties: - reason: &625 + reason: &628 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *624 + placeholder_id: *627 required: - reason - placeholder_id @@ -89855,7 +90385,7 @@ paths: schema: type: object properties: - reason: *625 + reason: *628 expire_at: type: string format: date-time @@ -89878,7 +90408,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89890,6 +90420,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 @@ -89898,13 +90431,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: - - *330 - - *331 + - *325 + - *326 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *77 + '503': *105 '200': description: Response content: @@ -89914,7 +90447,7 @@ paths: properties: incremental_scans: type: array - items: &626 + items: &629 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89940,15 +90473,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *626 + items: *629 backfill_scans: type: array - items: *626 + items: *629 custom_pattern_backfill_scans: type: array items: allOf: - - *626 + - *629 - type: object properties: pattern_name: @@ -90018,8 +90551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *330 - - *331 + - *325 + - *326 - *48 - name: sort description: The property to sort the results by. @@ -90063,9 +90596,9 @@ paths: application/json: schema: type: array - items: *627 + items: *630 examples: - default: *628 + default: *631 '400': *14 '404': *6 x-github: @@ -90088,8 +90621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -90162,7 +90695,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *302 required: - login - type @@ -90249,9 +90782,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: &630 + default: &633 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90484,8 +91017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -90589,7 +91122,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: default: value: @@ -90736,17 +91269,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *325 + - *326 + - *632 responses: '200': description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: *630 + default: *633 '403': *29 '404': *6 x-github: @@ -90770,9 +91303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *325 + - *326 + - *632 requestBody: required: true content: @@ -90845,7 +91378,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *302 required: - login - type @@ -90931,17 +91464,17 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: *630 - add_credit: *630 + default: *633 + add_credit: *633 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *111 + schema: *110 examples: invalid_state_transition: value: @@ -90972,9 +91505,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: - - *330 - - *331 - - *629 + - *325 + - *326 + - *632 responses: '202': *39 '400': *14 @@ -91001,17 +91534,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *330 - - *331 - - *629 + - *325 + - *326 + - *632 responses: '202': description: Response content: application/json: - schema: *338 + schema: *333 examples: - default: *340 + default: *335 '400': *14 '422': *15 '403': *29 @@ -91037,8 +91570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -91115,7 +91648,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -91137,8 +91670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91147,7 +91680,7 @@ paths: application/json: schema: type: array - items: &631 + items: &634 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91160,7 +91693,7 @@ paths: - 1124 - -435 '202': *39 - '204': *163 + '204': *171 '422': description: Repository contains more than 10,000 commits x-github: @@ -91180,8 +91713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -91230,7 +91763,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *163 + '204': *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91257,8 +91790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -91332,7 +91865,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *163 + '204': *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91354,8 +91887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91509,8 +92042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91520,7 +92053,7 @@ paths: application/json: schema: type: array - items: *631 + items: *634 examples: default: value: @@ -91533,7 +92066,7 @@ paths: - - 0 - 2 - 21 - '204': *163 + '204': *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91553,8 +92086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *330 - - *331 + - *325 + - *326 - name: sha in: path required: true @@ -91608,7 +92141,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *635 examples: default: value: @@ -91662,8 +92195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -91675,9 +92208,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91695,14 +92228,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &633 + schema: &636 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91770,8 +92303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: false content: @@ -91797,7 +92330,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *636 examples: default: value: @@ -91824,8 +92357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -91845,8 +92378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -91902,7 +92435,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91925,8 +92458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -91934,7 +92467,7 @@ paths: application/json: schema: type: array - items: &634 + items: &637 title: Tag protection description: Tag protection type: object @@ -91986,8 +92519,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -92010,7 +92543,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *637 examples: default: value: @@ -92041,8 +92574,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: - - *330 - - *331 + - *325 + - *326 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92079,8 +92612,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *330 - - *331 + - *325 + - *326 - name: ref in: path required: true @@ -92116,8 +92649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -92127,11 +92660,11 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: *227 + default: *232 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -92149,8 +92682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *330 - - *331 + - *325 + - *326 - *19 - *17 responses: @@ -92158,7 +92691,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &638 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92170,7 +92703,7 @@ paths: required: - names examples: - default: &636 + default: &639 value: names: - octocat @@ -92193,8 +92726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -92225,9 +92758,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *638 examples: - default: *636 + default: *639 '404': *6 '422': *7 x-github: @@ -92248,9 +92781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *330 - - *331 - - &637 + - *325 + - *326 + - &640 name: per description: The time frame to display results for. in: query @@ -92279,7 +92812,7 @@ paths: example: 128 clones: type: array - items: &638 + items: &641 title: Traffic type: object properties: @@ -92366,8 +92899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -92457,8 +92990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -92518,9 +93051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *330 - - *331 - - *637 + - *325 + - *326 + - *640 responses: '200': description: Response @@ -92539,7 +93072,7 @@ paths: example: 3782 views: type: array - items: *638 + items: *641 required: - uniques - count @@ -92616,8 +93149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -92653,7 +93186,7 @@ paths: description: Response content: application/json: - schema: *137 + schema: *141 examples: default: value: @@ -92891,8 +93424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92915,8 +93448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -92938,8 +93471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -92965,8 +93498,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *330 - - *331 + - *325 + - *326 - name: ref in: path required: true @@ -93058,9 +93591,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *333 examples: - default: *340 + default: *335 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93101,7 +93634,7 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: default: value: @@ -93290,7 +93823,7 @@ paths: html_url: type: string format: uri - repository: *137 + repository: *141 score: type: number file_size: @@ -93308,7 +93841,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &639 + text_matches: &642 title: Search Result Text Matches type: array items: @@ -93422,7 +93955,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *77 + '503': *105 '422': *15 '403': *29 x-github: @@ -93470,7 +94003,7 @@ paths: enum: - author-date - committer-date - - &640 + - &643 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 @@ -93541,7 +94074,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *393 nullable: true comment_count: type: integer @@ -93561,7 +94094,7 @@ paths: url: type: string format: uri - verification: *513 + verification: *508 required: - author - committer @@ -93580,7 +94113,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *393 nullable: true parents: type: array @@ -93593,12 +94126,12 @@ paths: type: string sha: type: string - repository: *137 + repository: *141 score: type: number node_id: type: string - text_matches: *639 + text_matches: *642 required: - sha - node_id @@ -93790,7 +94323,7 @@ paths: - interactions - created - updated - - *640 + - *643 - *17 - *19 - name: advanced_search @@ -93887,11 +94420,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: type: string state_reason: @@ -93908,8 +94441,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *255 + required: *256 nullable: true comments: type: integer @@ -93923,7 +94456,7 @@ paths: type: string format: date-time nullable: true - text_matches: *639 + text_matches: *642 pull_request: type: object properties: @@ -93956,10 +94489,10 @@ paths: type: string score: type: number - author_association: *72 + author_association: *71 draft: type: boolean - repository: *67 + repository: *66 body_html: type: string body_text: @@ -93967,7 +94500,7 @@ paths: timeline_url: type: string format: uri - type: *209 + type: *215 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93977,9 +94510,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *67 + required: *68 + reactions: *72 required: - assignee - closed_at @@ -94095,7 +94628,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *77 + '503': *105 '422': *15 '304': *37 '403': *29 @@ -94148,7 +94681,7 @@ paths: enum: - created - updated - - *640 + - *643 - *17 - *19 responses: @@ -94192,7 +94725,7 @@ paths: nullable: true score: type: number - text_matches: *639 + text_matches: *642 required: - id - node_id @@ -94277,7 +94810,7 @@ paths: - forks - help-wanted-issues - updated - - *640 + - *643 - *17 - *19 responses: @@ -94496,8 +95029,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true permissions: type: object @@ -94516,7 +95049,7 @@ paths: - admin - pull - push - text_matches: *639 + text_matches: *642 temp_clone_token: type: string allow_merge_commit: @@ -94718,7 +95251,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *77 + '503': *105 '422': *15 '304': *37 x-github: @@ -94816,7 +95349,7 @@ paths: type: string format: uri nullable: true - text_matches: *639 + text_matches: *642 related: type: array nullable: true @@ -95007,7 +95540,7 @@ paths: - followers - repositories - joined - - *640 + - *643 - *17 - *19 responses: @@ -95111,7 +95644,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *639 + text_matches: *642 blog: type: string nullable: true @@ -95170,7 +95703,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *77 + '503': *105 '422': *15 x-github: githubCloudOnly: false @@ -95190,7 +95723,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &644 + - &647 name: team_id description: The unique identifier of the team. in: path @@ -95202,9 +95735,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *310 examples: - default: *316 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -95231,7 +95764,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *644 + - *647 requestBody: required: true content: @@ -95294,16 +95827,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *310 examples: - default: *316 + default: *311 '201': description: Response content: application/json: - schema: *315 + schema: *310 examples: - default: *316 + default: *311 '404': *6 '422': *15 '403': *29 @@ -95331,7 +95864,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *644 + - *647 responses: '204': description: Response @@ -95362,7 +95895,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *644 + - *647 - *48 - *17 - *19 @@ -95373,11 +95906,11 @@ paths: application/json: schema: type: array - items: *317 + items: *312 examples: - default: *645 + default: *648 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95404,7 +95937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *644 + - *647 requestBody: required: true content: @@ -95438,9 +95971,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: *318 + default: *313 x-github: triggersNotification: true githubCloudOnly: false @@ -95467,16 +96000,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *644 - - *319 + - *647 + - *314 responses: '200': description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: *318 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95501,8 +96034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *644 - - *319 + - *647 + - *314 requestBody: required: false content: @@ -95525,9 +96058,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: *646 + default: *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95552,8 +96085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *644 - - *319 + - *647 + - *314 responses: '204': description: Response @@ -95582,8 +96115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *644 - - *319 + - *647 + - *314 - *48 - *17 - *19 @@ -95594,11 +96127,11 @@ paths: application/json: schema: type: array - items: *320 + items: *315 examples: - default: *647 + default: *650 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95625,8 +96158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *644 - - *319 + - *647 + - *314 requestBody: required: true content: @@ -95648,9 +96181,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *315 examples: - default: *321 + default: *316 x-github: triggersNotification: true githubCloudOnly: false @@ -95677,17 +96210,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *647 + - *314 + - *317 responses: '200': description: Response content: application/json: - schema: *320 + schema: *315 examples: - default: *321 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95712,9 +96245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *647 + - *314 + - *317 requestBody: required: true content: @@ -95736,9 +96269,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *315 examples: - default: *648 + default: *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95763,9 +96296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *647 + - *314 + - *317 responses: '204': description: Response @@ -95794,9 +96327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *647 + - *314 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -95822,11 +96355,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95853,9 +96386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *647 + - *314 + - *317 requestBody: required: true content: @@ -95887,9 +96420,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95915,8 +96448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *647 + - *314 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -95942,11 +96475,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95973,8 +96506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *647 + - *314 requestBody: required: true content: @@ -96006,9 +96539,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96032,7 +96565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *644 + - *647 - *17 - *19 responses: @@ -96042,11 +96575,11 @@ paths: application/json: schema: type: array - items: *206 + items: *212 examples: - default: *207 + default: *213 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96070,7 +96603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *644 + - *647 - name: role description: Filters members returned by their role in the team. in: query @@ -96093,9 +96626,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96121,8 +96654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *644 - - *63 + - *647 + - *59 responses: '204': description: if user is a member @@ -96158,8 +96691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *644 - - *63 + - *647 + - *59 responses: '204': description: Response @@ -96198,8 +96731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *644 - - *63 + - *647 + - *59 responses: '204': description: Response @@ -96235,16 +96768,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *647 + - *59 responses: '200': description: Response content: application/json: - schema: *327 + schema: *322 examples: - response-if-user-is-a-team-maintainer: *649 + response-if-user-is-a-team-maintainer: *652 '404': *6 x-github: githubCloudOnly: false @@ -96277,8 +96810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *647 + - *59 requestBody: required: false content: @@ -96303,9 +96836,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: *650 + response-if-users-membership-with-team-is-now-pending: *653 '403': description: Forbidden if team synchronization is set up '422': @@ -96339,8 +96872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *647 + - *59 responses: '204': description: Response @@ -96368,7 +96901,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *644 + - *647 - *17 - *19 responses: @@ -96378,11 +96911,11 @@ paths: application/json: schema: type: array - items: *328 + items: *323 examples: - default: *651 + default: *654 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96406,16 +96939,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *644 - - *329 + - *647 + - *324 responses: '200': description: Response content: application/json: - schema: *328 + schema: *323 examples: - default: *652 + default: *655 '404': description: Not Found if project is not managed by this team x-github: @@ -96439,8 +96972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *644 - - *329 + - *647 + - *324 requestBody: required: false content: @@ -96507,8 +97040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *644 - - *329 + - *647 + - *324 responses: '204': description: Response @@ -96535,7 +97068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *644 + - *647 - *17 - *19 responses: @@ -96545,11 +97078,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96577,15 +97110,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *644 - - *330 - - *331 + - *647 + - *325 + - *326 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *653 + schema: *656 examples: alternative-response-with-extra-repository-information: value: @@ -96736,9 +97269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *644 - - *330 - - *331 + - *647 + - *325 + - *326 requestBody: required: false content: @@ -96788,9 +97321,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *644 - - *330 - - *331 + - *647 + - *325 + - *326 responses: '204': description: Response @@ -96815,7 +97348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *644 + - *647 - *17 - *19 responses: @@ -96825,11 +97358,11 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - response-if-child-teams-exist: *654 + response-if-child-teams-exist: *657 headers: - Link: *58 + Link: *54 '404': *6 '403': *29 '422': *15 @@ -96860,7 +97393,7 @@ paths: application/json: schema: oneOf: - - &656 + - &659 title: Private User description: Private User type: object @@ -97063,7 +97596,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *655 + - *658 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97216,7 +97749,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *659 examples: default: value: @@ -97295,7 +97828,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '304': *37 '404': *6 '403': *29 @@ -97318,7 +97851,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: - - *63 + - *59 responses: '204': description: If the user is blocked @@ -97346,7 +97879,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -97370,7 +97903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -97419,11 +97952,11 @@ paths: type: integer codespaces: type: array - items: *214 + items: *220 examples: - default: *215 + default: *221 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -97560,21 +98093,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97614,7 +98147,7 @@ paths: type: integer secrets: type: array - items: &657 + items: &660 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97654,9 +98187,9 @@ paths: - visibility - selected_repositories_url examples: - default: *454 + default: *449 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97724,13 +98257,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *145 + - *149 responses: '200': description: Response content: application/json: - schema: *657 + schema: *660 examples: default: value: @@ -97760,7 +98293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *145 + - *149 requestBody: required: true content: @@ -97805,7 +98338,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -97833,7 +98366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *145 + - *149 responses: '204': description: Response @@ -97858,7 +98391,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *145 + - *149 responses: '200': description: Response @@ -97874,13 +98407,13 @@ paths: type: integer repositories: type: array - items: *137 + items: *141 examples: - default: *658 + default: *661 '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97901,7 +98434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *145 + - *149 requestBody: required: true content: @@ -97933,7 +98466,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97955,7 +98488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *145 + - *149 - name: repository_id in: path required: true @@ -97967,7 +98500,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97988,7 +98521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *145 + - *149 - name: repository_id in: path required: true @@ -98000,7 +98533,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98020,17 +98553,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *216 + - *222 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98054,7 +98587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *216 + - *222 requestBody: required: false content: @@ -98084,9 +98617,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '401': *25 '403': *29 '404': *6 @@ -98108,11 +98641,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *216 + - *222 responses: '202': *39 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98137,13 +98670,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *216 + - *222 responses: '202': description: Response content: application/json: - schema: &659 + schema: &662 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98184,7 +98717,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &660 + default: &663 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98192,7 +98725,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98216,7 +98749,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *216 + - *222 - name: export_id in: path required: true @@ -98229,9 +98762,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *662 examples: - default: *660 + default: *663 '404': *6 x-github: githubCloudOnly: false @@ -98252,7 +98785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *216 + - *222 responses: '200': description: Response @@ -98268,11 +98801,11 @@ paths: type: integer machines: type: array - items: *661 + items: *664 examples: - default: *662 + default: *665 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98299,7 +98832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *216 + - *222 requestBody: required: true content: @@ -98349,13 +98882,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *338 + repository: *333 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *447 + required: *448 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -99129,17 +99662,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *216 + - *222 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '304': *37 - '500': *106 + '500': *104 '400': *14 '401': *25 '402': @@ -99169,16 +99702,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *216 + - *222 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *451 - '500': *106 + default: *446 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -99207,9 +99740,9 @@ paths: application/json: schema: type: array - items: *228 + items: *233 examples: - default: &674 + default: &676 value: - id: 197 name: hello_docker @@ -99310,7 +99843,7 @@ paths: application/json: schema: type: array - items: &663 + items: &666 title: Email description: Email type: object @@ -99375,16 +99908,16 @@ paths: application/json: schema: type: array - items: *663 + items: *666 examples: - default: &676 + default: &678 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -99452,7 +99985,7 @@ paths: application/json: schema: type: array - items: *663 + items: *666 examples: default: value: @@ -99562,9 +100095,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -99595,9 +100128,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -99617,7 +100150,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: - - *63 + - *59 responses: '204': description: if the person is followed by the authenticated user @@ -99647,7 +100180,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -99672,7 +100205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -99708,7 +100241,7 @@ paths: application/json: schema: type: array - items: &664 + items: &667 title: GPG Key description: A unique encryption key type: object @@ -99839,7 +100372,7 @@ paths: - subkeys - revoked examples: - default: &690 + default: &692 value: - id: 3 name: Octocat's GPG Key @@ -99871,7 +100404,7 @@ paths: revoked: false raw_key: string headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -99924,9 +100457,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: &665 + default: &668 value: id: 3 name: Octocat's GPG Key @@ -99983,7 +100516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &666 + - &669 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99995,9 +100528,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: *665 + default: *668 '404': *6 '304': *37 '403': *29 @@ -100020,7 +100553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *666 + - *669 responses: '204': description: Response @@ -100163,7 +100696,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -100209,11 +100742,11 @@ paths: type: string repositories: type: array - items: *67 + items: *66 examples: - default: *129 + default: *133 headers: - Link: *58 + Link: *54 '404': *6 '403': *29 '304': *37 @@ -100236,7 +100769,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *126 + - *130 responses: '204': description: Response @@ -100262,7 +100795,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *126 + - *130 responses: '204': description: Response @@ -100296,12 +100829,12 @@ paths: application/json: schema: anyOf: - - *204 + - *210 - type: object properties: {} additionalProperties: false examples: - default: *205 + default: *211 '204': description: Response when there are no restrictions x-github: @@ -100325,7 +100858,7 @@ paths: required: true content: application/json: - schema: *524 + schema: *519 examples: default: value: @@ -100336,7 +100869,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *210 examples: default: value: @@ -100417,7 +100950,7 @@ paths: - closed - all default: open - - *212 + - *218 - name: sort description: What to sort results by. in: query @@ -100430,7 +100963,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - *17 - *19 responses: @@ -100440,11 +100973,11 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *213 + default: *219 headers: - Link: *58 + Link: *54 '404': *6 '304': *37 x-github: @@ -100475,7 +101008,7 @@ paths: application/json: schema: type: array - items: &667 + items: &670 title: Key description: Key type: object @@ -100526,7 +101059,7 @@ paths: verified: false read_only: false headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -100576,9 +101109,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: &668 + default: &671 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100611,15 +101144,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *547 responses: '200': description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: *668 + default: *671 '404': *6 '304': *37 '403': *29 @@ -100642,7 +101175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *547 responses: '204': description: Response @@ -100675,7 +101208,7 @@ paths: application/json: schema: type: array - items: &669 + items: &672 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100732,7 +101265,7 @@ paths: - id - type - login - plan: *90 + plan: *88 required: - billing_cycle - next_billing_date @@ -100743,7 +101276,7 @@ paths: - account - plan examples: - default: &670 + default: &673 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100776,7 +101309,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '304': *37 '401': *25 '404': *6 @@ -100805,11 +101338,11 @@ paths: application/json: schema: type: array - items: *669 + items: *672 examples: - default: *670 + default: *673 headers: - Link: *58 + Link: *54 '304': *37 '401': *25 x-github: @@ -100847,7 +101380,7 @@ paths: application/json: schema: type: array - items: *219 + items: *224 examples: default: value: @@ -100924,7 +101457,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -100949,13 +101482,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: *219 + schema: *224 examples: default: value: @@ -101013,7 +101546,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *105 + - *63 requestBody: required: true content: @@ -101038,7 +101571,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *224 examples: default: value: @@ -101106,7 +101639,7 @@ paths: application/json: schema: type: array - items: *221 + items: *226 examples: default: value: @@ -101259,7 +101792,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -101359,7 +101892,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *226 examples: default: value: @@ -101539,7 +102072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *222 + - *227 - name: exclude in: query required: false @@ -101552,7 +102085,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *226 examples: default: value: @@ -101746,7 +102279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *222 + - *227 responses: '302': description: Response @@ -101772,7 +102305,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *222 + - *227 responses: '204': description: Response @@ -101801,8 +102334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *222 - - *671 + - *227 + - *674 responses: '204': description: Response @@ -101826,7 +102359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *222 + - *227 - *17 - *19 responses: @@ -101836,11 +102369,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -101873,11 +102406,11 @@ paths: application/json: schema: type: array - items: *218 + items: *61 examples: - default: *672 + default: *101 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -101917,7 +102450,7 @@ paths: - docker - nuget - container - - *673 + - *675 - *19 - *17 responses: @@ -101927,10 +102460,10 @@ paths: application/json: schema: type: array - items: *228 + items: *233 examples: - default: *674 - '400': *675 + default: *676 + '400': *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101950,16 +102483,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *228 + schema: *233 examples: - default: &691 + default: &693 value: id: 40201 name: octo-name @@ -102072,8 +102605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *235 + - *236 responses: '204': description: Response @@ -102103,8 +102636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *235 + - *236 - name: token description: package token schema: @@ -102136,8 +102669,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: - - *230 - - *231 + - *235 + - *236 - *19 - *17 - name: state @@ -102157,7 +102690,7 @@ paths: application/json: schema: type: array - items: *232 + items: *237 examples: default: value: @@ -102206,15 +102739,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *230 - - *231 - - *233 + - *235 + - *236 + - *238 responses: '200': description: Response content: application/json: - schema: *232 + schema: *237 examples: default: value: @@ -102250,9 +102783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *230 - - *231 - - *233 + - *235 + - *236 + - *238 responses: '204': description: Response @@ -102282,9 +102815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *230 - - *231 - - *233 + - *235 + - *236 + - *238 responses: '204': description: Response @@ -102340,7 +102873,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *249 examples: default: value: @@ -102412,11 +102945,11 @@ paths: application/json: schema: type: array - items: *663 + items: *666 examples: - default: *676 + default: *678 headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -102525,9 +103058,9 @@ paths: application/json: schema: type: array - items: *67 + items: *66 examples: - default: &683 + default: &685 summary: Default response value: - id: 1296269 @@ -102648,7 +103181,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '403': *29 @@ -102831,9 +103364,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *333 examples: - default: *340 + default: *335 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102871,11 +103404,11 @@ paths: application/json: schema: type: array - items: *526 + items: *521 examples: - default: *677 + default: *679 headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -102896,7 +103429,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *208 + - *214 responses: '204': description: Response @@ -102919,7 +103452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *208 + - *214 responses: '204': description: Response @@ -102952,7 +103485,7 @@ paths: application/json: schema: type: array - items: &678 + items: &680 title: Social account description: Social media account type: object @@ -102967,12 +103500,12 @@ paths: - provider - url examples: - default: &679 + default: &681 value: - provider: twitter url: https://twitter.com/github headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103029,9 +103562,9 @@ paths: application/json: schema: type: array - items: *678 + items: *680 examples: - default: *679 + default: *681 '422': *15 '304': *37 '404': *6 @@ -103118,7 +103651,7 @@ paths: application/json: schema: type: array - items: &680 + items: &682 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103138,7 +103671,7 @@ paths: - title - created_at examples: - default: &705 + default: &707 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103151,7 +103684,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103204,9 +103737,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *682 examples: - default: &681 + default: &683 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103237,7 +103770,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: - - &682 + - &684 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103249,9 +103782,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *682 examples: - default: *681 + default: *683 '404': *6 '304': *37 '403': *29 @@ -103274,7 +103807,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: - - *682 + - *684 responses: '204': description: Response @@ -103303,7 +103836,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &706 + - &708 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 @@ -103326,13 +103859,13 @@ paths: application/json: schema: type: array - items: *67 + items: *66 examples: - default-response: *683 + default-response: *685 application/vnd.github.v3.star+json: schema: type: array - items: &707 + items: &709 title: Starred Repository description: Starred Repository type: object @@ -103340,7 +103873,7 @@ paths: starred_at: type: string format: date-time - repo: *67 + repo: *66 required: - starred_at - repo @@ -103468,7 +104001,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -103488,8 +104021,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: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response if this repository is starred by you @@ -103517,8 +104050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -103542,8 +104075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -103576,11 +104109,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -103615,7 +104148,7 @@ paths: application/json: schema: type: array - items: *315 + items: *310 examples: default: value: @@ -103666,7 +104199,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103693,7 +104226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *92 + - *90 responses: '200': description: Response @@ -103701,10 +104234,10 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *659 + - *658 examples: - default-response: &685 + default-response: &687 summary: Default response value: login: octocat @@ -103739,7 +104272,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &686 + response-with-git-hub-plan-information: &688 summary: Response with GitHub plan information value: login: octocat @@ -103799,7 +104332,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *684 + - *686 - *17 responses: '200': @@ -103810,7 +104343,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: Link: example: ; rel="next" @@ -103840,7 +104373,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *63 + - *59 responses: '200': description: Response @@ -103848,11 +104381,11 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *659 + - *658 examples: - default-response: *685 - response-with-git-hub-plan-information: *686 + default-response: *687 + response-with-git-hub-plan-information: *688 '404': *6 x-github: githubCloudOnly: false @@ -103878,7 +104411,7 @@ paths: - *17 - *40 - *41 - - *63 + - *59 requestBody: required: true content: @@ -103901,8 +104434,8 @@ paths: required: - subject_digests examples: - default: *687 - withPredicateType: *688 + default: *689 + withPredicateType: *690 responses: '200': description: Response @@ -103955,7 +104488,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *689 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103973,7 +104506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *63 + - *59 requestBody: required: true content: @@ -104038,7 +104571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *63 + - *59 - name: subject_digest description: Subject Digest in: path @@ -104069,7 +104602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *63 + - *59 - name: attestation_id description: Attestation ID in: path @@ -104107,7 +104640,7 @@ paths: - *17 - *40 - *41 - - *63 + - *59 - name: subject_digest description: Subject Digest in: path @@ -104159,12 +104692,12 @@ paths: initiator: type: string examples: - default: *394 + default: *389 '201': description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -104190,7 +104723,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: - - *63 + - *59 responses: '200': description: Response @@ -104198,9 +104731,9 @@ paths: application/json: schema: type: array - items: *228 + items: *233 examples: - default: *674 + default: *676 '403': *29 '401': *25 x-github: @@ -104223,7 +104756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104233,7 +104766,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -104295,8 +104828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: + - *59 - *63 - - *105 - *17 - *19 responses: @@ -104306,7 +104839,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -104383,7 +104916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104393,7 +104926,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -104451,7 +104984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104463,9 +104996,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104482,7 +105015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104494,9 +105027,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104513,7 +105046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *63 + - *59 - name: target_user in: path required: true @@ -104540,8 +105073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *63 - - *79 + - *59 + - *77 - *17 - *19 responses: @@ -104551,11 +105084,11 @@ paths: application/json: schema: type: array - items: *80 + items: *78 examples: - default: *81 + default: *79 headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -104574,7 +105107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104584,11 +105117,11 @@ paths: application/json: schema: type: array - items: *664 + items: *667 examples: - default: *690 + default: *692 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104610,7 +105143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *63 + - *59 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -104682,7 +105215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *63 + - *59 responses: '200': description: Response @@ -104690,7 +105223,7 @@ paths: application/json: schema: *22 examples: - default: *523 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104708,7 +105241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104743,7 +105276,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104763,7 +105296,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104773,11 +105306,11 @@ paths: application/json: schema: type: array - items: *218 + items: *61 examples: - default: *672 + default: *101 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104814,8 +105347,8 @@ paths: - docker - nuget - container - - *673 - - *63 + - *675 + - *59 - *19 - *17 responses: @@ -104825,12 +105358,12 @@ paths: application/json: schema: type: array - items: *228 + items: *233 examples: - default: *674 + default: *676 '403': *29 '401': *25 - '400': *675 + '400': *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104850,17 +105383,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *230 - - *231 - - *63 + - *235 + - *236 + - *59 responses: '200': description: Response content: application/json: - schema: *228 + schema: *233 examples: - default: *691 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104881,9 +105414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *230 - - *231 - - *63 + - *235 + - *236 + - *59 responses: '204': description: Response @@ -104915,9 +105448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *230 - - *231 - - *63 + - *235 + - *236 + - *59 - name: token description: package token schema: @@ -104949,9 +105482,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: - - *230 - - *231 - - *63 + - *235 + - *236 + - *59 responses: '200': description: Response @@ -104959,7 +105492,7 @@ paths: application/json: schema: type: array - items: *232 + items: *237 examples: default: value: @@ -105017,16 +105550,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *230 - - *231 - - *233 - - *63 + - *235 + - *236 + - *238 + - *59 responses: '200': description: Response content: application/json: - schema: *232 + schema: *237 examples: default: value: @@ -105061,10 +105594,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *230 - - *231 - - *63 - - *233 + - *235 + - *236 + - *59 + - *238 responses: '204': description: Response @@ -105096,10 +105629,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *230 - - *231 - - *63 - - *233 + - *235 + - *236 + - *59 + - *238 responses: '204': description: Response @@ -105125,7 +105658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *63 + - *59 - name: state description: Indicates the state of the projects to return. in: query @@ -105146,7 +105679,7 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: default: value: @@ -105182,7 +105715,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -105204,7 +105737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *63 + - *59 - name: q description: Limit results to projects of the specified type. in: query @@ -105221,11 +105754,11 @@ paths: application/json: schema: type: array - items: *245 + items: *250 examples: - default: *246 + default: *251 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105245,18 +105778,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *247 - - *63 + - *252 + - *59 responses: '200': description: Response content: application/json: - schema: *245 + schema: *250 examples: - default: *246 + default: *251 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105276,8 +105809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *247 - - *63 + - *252 + - *59 - *17 - *40 - *41 @@ -105288,11 +105821,11 @@ paths: application/json: schema: type: array - items: *248 + items: *253 examples: - default: *249 + default: *254 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105312,19 +105845,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *247 - - *692 - - *63 + - *252 + - *694 + - *59 responses: '200': description: Response content: application/json: - schema: *248 + schema: *253 examples: - default: *249 + default: *254 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105345,8 +105878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *247 - - *63 + - *252 + - *59 - *40 - *41 - *17 @@ -105358,16 +105891,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -105375,11 +105911,11 @@ paths: application/json: schema: type: array - items: *255 + items: *260 examples: - default: *256 + default: *261 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105398,8 +105934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *63 - - *247 + - *59 + - *252 requestBody: required: true description: Details of the item to add to the project. @@ -105436,10 +105972,10 @@ paths: description: Response content: application/json: - schema: *693 + schema: *695 examples: - issue: *254 - pull_request: *254 + issue: *259 + pull_request: *259 '304': *37 '403': *29 '401': *25 @@ -105459,30 +105995,33 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *247 - - *63 - - *257 + - *252 + - *59 + - *262 - 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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *255 + schema: *260 examples: - default: *256 + default: *261 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105501,9 +106040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *247 - - *63 - - *257 + - *252 + - *59 + - *262 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105573,13 +106112,13 @@ paths: description: Response content: application/json: - schema: *255 + schema: *260 examples: - text_field: *256 - number_field: *256 - date_field: *256 - single_select_field: *256 - iteration_field: *256 + text_field: *261 + number_field: *261 + date_field: *261 + single_select_field: *261 + iteration_field: *261 '401': *25 '403': *29 '404': *6 @@ -105599,9 +106138,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *247 - - *63 - - *257 + - *252 + - *59 + - *262 responses: '204': description: Response @@ -105628,7 +106167,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -105638,7 +106177,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -105703,7 +106242,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -105713,7 +106252,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -105776,7 +106315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *63 + - *59 - name: type description: Limit results to repositories of the specified type. in: query @@ -105819,11 +106358,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105845,15 +106384,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: *695 + default: *697 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105875,15 +106414,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *696 + schema: *698 examples: - default: *697 + default: *699 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105892,7 +106431,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 @@ -105900,12 +106442,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: - - *63 - - *107 - - *698 - - *108 - - *699 + - *59 + - *106 - *700 + - *107 + - *701 + - *702 responses: '200': description: Response when getting a billing premium request usage report @@ -105958,19 +106500,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 @@ -106012,8 +106554,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106035,15 +106577,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *701 + schema: *703 examples: - default: *702 + default: *704 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106063,11 +106605,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *63 + - *59 + - *106 + - *705 - *107 - - *703 - - *108 - - *704 + - *706 responses: '200': description: Response when getting a billing usage report @@ -106137,8 +106679,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106156,7 +106698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -106166,11 +106708,11 @@ paths: application/json: schema: type: array - items: *678 + items: *680 examples: - default: *679 + default: *681 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106188,7 +106730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -106198,11 +106740,11 @@ paths: application/json: schema: type: array - items: *680 + items: *682 examples: - default: *705 + default: *707 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106224,8 +106766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *63 - - *706 + - *59 + - *708 - *48 - *17 - *19 @@ -106237,13 +106779,13 @@ paths: schema: anyOf: - type: array - items: *707 + items: *709 - type: array - items: *67 + items: *66 examples: - default-response: *683 + default-response: *685 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106260,7 +106802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -106270,11 +106812,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106400,7 +106942,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &708 + enterprise: &710 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106458,7 +107000,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &709 + installation: &711 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106477,7 +107019,7 @@ x-webhooks: required: - id - node_id - organization: &710 + organization: &712 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106537,13 +107079,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &711 + repository: &713 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &741 + properties: &743 id: description: Unique identifier of the repository example: 42 @@ -106563,8 +107105,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true organization: title: Simple User @@ -107226,7 +107768,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &742 + required: &744 - archive_url - assignees_url - blobs_url @@ -107377,10 +107919,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -107456,11 +107998,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: &712 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + rule: &714 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) @@ -107683,11 +108225,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + rule: *714 sender: *4 required: - action @@ -107870,11 +108412,11 @@ x-webhooks: - everyone required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + rule: *714 sender: *4 required: - action @@ -107958,7 +108500,7 @@ x-webhooks: type: string enum: - completed - check_run: &714 + check_run: &716 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108011,8 +108553,8 @@ x-webhooks: type: string pull_requests: type: array - items: *76 - repository: *137 + items: *75 + repository: *141 status: example: completed type: string @@ -108049,7 +108591,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *713 + deployment: *715 details_url: example: https://example.com type: string @@ -108099,7 +108641,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *76 + items: *75 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -108134,10 +108676,10 @@ x-webhooks: - output - app - pull_requests - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + installation: *711 + enterprise: *710 + organization: *712 + repository: *713 sender: *4 required: - check_run @@ -108530,11 +109072,11 @@ x-webhooks: type: string enum: - created - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *716 + installation: *711 + enterprise: *710 + organization: *712 + repository: *713 sender: *4 required: - check_run @@ -108930,11 +109472,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *716 + installation: *711 + enterprise: *710 + organization: *712 + repository: *713 requested_action: description: The action requested by the user. type: object @@ -109339,11 +109881,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *716 + installation: *711 + enterprise: *710 + organization: *712 + repository: *713 sender: *4 required: - check_run @@ -110320,10 +110862,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -110993,10 +111535,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -111660,10 +112202,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -111829,7 +112371,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *421 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111974,20 +112516,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &715 + commit_oid: &717 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: *708 - installation: *709 - organization: *710 - ref: &716 + enterprise: *710 + installation: *711 + organization: *712 + ref: &718 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: *711 + repository: *713 sender: *4 required: - action @@ -112152,7 +112694,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *421 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112382,12 +112924,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *717 + enterprise: *710 + installation: *711 + organization: *712 + ref: *718 + repository: *713 sender: *4 required: - action @@ -112482,7 +113024,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *421 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112653,12 +113195,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *717 + enterprise: *710 + installation: *711 + organization: *712 + ref: *718 + repository: *713 sender: *4 required: - action @@ -112824,7 +113366,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *421 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112990,12 +113532,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *717 + enterprise: *710 + installation: *711 + organization: *712 + ref: *718 + repository: *713 sender: *4 required: - action @@ -113095,7 +113637,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *426 + dismissed_comment: *421 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113263,16 +113805,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *711 + repository: *713 sender: *4 required: - action @@ -113369,7 +113911,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *421 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113509,12 +114051,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *717 + enterprise: *710 + installation: *711 + organization: *712 + ref: *718 + repository: *713 sender: *4 required: - action @@ -113771,10 +114313,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -113854,18 +114396,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *710 - pusher_type: &717 + organization: *712 + pusher_type: &719 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &718 + ref: &720 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113875,7 +114417,7 @@ x-webhooks: enum: - tag - branch - repository: *711 + repository: *713 sender: *4 required: - ref @@ -113957,10 +114499,10 @@ x-webhooks: type: string enum: - created - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *263 + enterprise: *710 + installation: *711 + organization: *712 sender: *4 required: - action @@ -114045,9 +114587,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 sender: *4 required: - action @@ -114124,10 +114666,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *263 + enterprise: *710 + installation: *711 + organization: *712 sender: *4 required: - action @@ -114204,10 +114746,10 @@ x-webhooks: type: string enum: - updated - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *263 + enterprise: *710 + installation: *711 + organization: *712 sender: *4 required: - action @@ -114284,19 +114826,19 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - repository: *711 - organization: *710 + enterprise: *710 + installation: *711 + repository: *713 + organization: *712 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *262 + items: *267 old_property_values: type: array description: The old custom property values for the repository. - items: *262 + items: *267 required: - action - repository @@ -114372,18 +114914,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - pusher_type: *717 - ref: *718 + enterprise: *710 + installation: *711 + organization: *712 + pusher_type: *719 + ref: *720 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *711 + repository: *713 sender: *4 required: - ref @@ -114467,11 +115009,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -114555,11 +115097,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -114643,11 +115185,11 @@ x-webhooks: type: string enum: - created - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -114729,11 +115271,11 @@ x-webhooks: type: string enum: - dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -114815,11 +115357,11 @@ x-webhooks: type: string enum: - fixed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -114902,11 +115444,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -114988,11 +115530,11 @@ x-webhooks: type: string enum: - reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -115069,9 +115611,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - key: &719 + enterprise: *710 + installation: *711 + key: &721 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115107,8 +115649,8 @@ x-webhooks: - verified - created_at - read_only - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -115185,11 +115727,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - key: *719 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + key: *721 + organization: *712 + repository: *713 sender: *4 required: - action @@ -115750,12 +116292,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - workflow: &723 + workflow: &725 title: Workflow type: object nullable: true @@ -116481,13 +117023,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *488 + deployment: *483 pull_requests: type: array - items: *571 - repository: *711 - organization: *710 - installation: *709 + items: *566 + repository: *713 + organization: *712 + installation: *711 sender: *4 responses: '200': @@ -116558,7 +117100,7 @@ x-webhooks: type: string enum: - approved - approver: &720 + approver: &722 type: object properties: avatar_url: @@ -116601,11 +117143,11 @@ x-webhooks: type: string comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: &721 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + reviewers: &723 type: array items: type: object @@ -116684,7 +117226,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &722 + workflow_job_run: &724 type: object properties: conclusion: @@ -117415,18 +117957,18 @@ x-webhooks: type: string enum: - rejected - approver: *720 + approver: *722 comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: *721 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + reviewers: *723 sender: *4 since: type: string - workflow_job_run: *722 + workflow_job_run: *724 workflow_job_runs: type: array items: @@ -118130,13 +118672,13 @@ x-webhooks: type: string enum: - requested - enterprise: *708 + enterprise: *710 environment: type: string - installation: *709 - organization: *710 - repository: *711 - requestor: &728 + installation: *711 + organization: *712 + repository: *713 + requestor: &730 title: User type: object nullable: true @@ -120035,12 +120577,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - workflow: *723 + workflow: *725 workflow_run: title: Deployment Workflow Run type: object @@ -120720,7 +121262,7 @@ x-webhooks: type: string enum: - answered - answer: &726 + answer: &728 type: object properties: author_association: @@ -120877,11 +121419,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121008,11 +121550,11 @@ x-webhooks: - from required: - category - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121095,11 +121637,11 @@ x-webhooks: type: string enum: - closed - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121181,7 +121723,7 @@ x-webhooks: type: string enum: - created - comment: &725 + comment: &727 type: object properties: author_association: @@ -121338,11 +121880,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121425,12 +121967,12 @@ x-webhooks: type: string enum: - deleted - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *727 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121525,12 +122067,12 @@ x-webhooks: - from required: - body - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *727 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121614,11 +122156,11 @@ x-webhooks: type: string enum: - created - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121700,11 +122242,11 @@ x-webhooks: type: string enum: - deleted - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121804,11 +122346,11 @@ x-webhooks: type: string required: - from - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121890,10 +122432,10 @@ x-webhooks: type: string enum: - labeled - discussion: *724 - enterprise: *708 - installation: *709 - label: &727 + discussion: *726 + enterprise: *710 + installation: *711 + label: &729 title: Label type: object properties: @@ -121925,8 +122467,8 @@ x-webhooks: - color - default - description - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122009,11 +122551,11 @@ x-webhooks: type: string enum: - locked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122095,11 +122637,11 @@ x-webhooks: type: string enum: - pinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122181,11 +122723,11 @@ x-webhooks: type: string enum: - reopened - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122270,16 +122812,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *724 - new_repository: *711 + new_discussion: *726 + new_repository: *713 required: - new_discussion - new_repository - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122362,10 +122904,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *724 - old_answer: *726 - organization: *710 - repository: *711 + discussion: *726 + old_answer: *728 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122447,12 +122989,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *724 - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122535,11 +123077,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122621,11 +123163,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122698,7 +123240,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *708 + enterprise: *710 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123358,9 +123900,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - forkee @@ -123506,9 +124048,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pages: description: The pages that were updated. type: array @@ -123545,7 +124087,7 @@ x-webhooks: - action - sha - html_url - repository: *711 + repository: *713 sender: *4 required: - pages @@ -123621,10 +124163,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories: &729 + organization: *712 + repositories: &731 description: An array of repository objects that the installation can access. type: array @@ -123650,8 +124192,8 @@ x-webhooks: - name - full_name - private - repository: *711 - requester: *728 + repository: *713 + requester: *730 sender: *4 required: - action @@ -123726,11 +124268,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *712 + repositories: *731 + repository: *713 requester: nullable: true sender: *4 @@ -123806,11 +124348,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *712 + repositories: *731 + repository: *713 requester: nullable: true sender: *4 @@ -123886,10 +124428,10 @@ x-webhooks: type: string enum: - added - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories_added: &730 + organization: *712 + repositories_added: &732 description: An array of repository objects, which were added to the installation. type: array @@ -123935,15 +124477,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *711 - repository_selection: &731 + repository: *713 + repository_selection: &733 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *728 + requester: *730 sender: *4 required: - action @@ -124022,10 +124564,10 @@ x-webhooks: type: string enum: - removed - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories_added: *730 + organization: *712 + repositories_added: *732 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124052,9 +124594,9 @@ x-webhooks: - name - full_name - private - repository: *711 - repository_selection: *731 - requester: *728 + repository: *713 + repository_selection: *733 + requester: *730 sender: *4 required: - action @@ -124133,11 +124675,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *712 + repositories: *731 + repository: *713 requester: nullable: true sender: *4 @@ -124315,10 +124857,10 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 target_type: type: string @@ -124397,11 +124939,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *712 + repositories: *731 + repository: *713 requester: nullable: true sender: *4 @@ -124525,8 +125067,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 reactions: title: Reactions type: object @@ -124653,8 +125195,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125448,8 +125990,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125465,7 +126007,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -125798,8 +126340,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -125879,7 +126421,7 @@ x-webhooks: type: string enum: - deleted - comment: &732 + comment: &734 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126044,8 +126586,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126835,8 +127377,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126852,7 +127394,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -127187,8 +127729,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -127268,7 +127810,7 @@ x-webhooks: type: string enum: - edited - changes: &761 + changes: &763 description: The changes to the comment. type: object properties: @@ -127280,9 +127822,9 @@ x-webhooks: type: string required: - from - comment: *732 - enterprise: *708 - installation: *709 + comment: *734 + enterprise: *710 + installation: *711 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128075,8 +128617,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128092,7 +128634,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -128425,8 +128967,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -128510,15 +129052,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 + blocked_issue: *70 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + blocking_issue_repo: *66 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -128606,15 +129148,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 + blocked_issue: *70 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + blocking_issue_repo: *66 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -128701,15 +129243,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 - blocked_issue_repo: *67 + blocked_issue: *70 + blocked_issue_repo: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -128797,15 +129339,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 - blocked_issue_repo: *67 + blocked_issue: *70 + blocked_issue_repo: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -128890,10 +129432,10 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - issue: &735 + assignee: *730 + enterprise: *710 + installation: *711 + issue: &737 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129682,11 +130224,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129702,7 +130244,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -129803,8 +130345,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -129884,8 +130426,8 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130679,11 +131221,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130699,7 +131241,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -130935,8 +131477,8 @@ x-webhooks: required: - state - closed_at - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -131015,8 +131557,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131801,11 +132343,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131821,7 +132363,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -131921,8 +132463,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -132001,8 +132543,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132809,11 +133351,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132829,7 +133371,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -132908,7 +133450,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &733 + milestone: &735 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133046,8 +133588,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -133146,8 +133688,8 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133936,11 +134478,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133953,7 +134495,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *215 title: description: Title of the issue type: string @@ -134057,9 +134599,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -134139,8 +134681,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134928,11 +135470,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134945,7 +135487,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *215 title: description: Title of the issue type: string @@ -135049,9 +135591,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -135131,8 +135673,8 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135944,11 +136486,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135961,7 +136503,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *215 title: description: Title of the issue type: string @@ -136042,8 +136584,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -136122,8 +136664,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136929,11 +137471,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136949,7 +137491,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -137027,9 +137569,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *733 - organization: *710 - repository: *711 + milestone: *735 + organization: *712 + repository: *713 sender: *4 required: - action @@ -137897,11 +138439,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137994,7 +138536,7 @@ x-webhooks: required: - login - id - type: *209 + type: *215 required: - id - number @@ -138463,8 +139005,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139253,11 +139795,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139273,7 +139815,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -139373,8 +139915,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -139454,9 +139996,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *708 - installation: *709 - issue: &734 + enterprise: *710 + installation: *711 + issue: &736 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140239,11 +140781,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140259,7 +140801,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -140359,8 +140901,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -140439,8 +140981,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141250,11 +141792,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141348,9 +141890,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *209 - organization: *710 - repository: *711 + type: *215 + organization: *712 + repository: *713 sender: *4 required: - action @@ -142216,11 +142758,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142236,7 +142778,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -142804,11 +143346,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + issue: *736 + organization: *712 + repository: *713 sender: *4 required: - action @@ -142888,12 +143430,12 @@ x-webhooks: type: string enum: - typed - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + issue: *737 + type: *215 + organization: *712 + repository: *713 sender: *4 required: - action @@ -142974,7 +143516,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &764 + assignee: &766 title: User type: object nullable: true @@ -143044,11 +143586,11 @@ x-webhooks: required: - login - id - enterprise: *708 - installation: *709 - issue: *735 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + issue: *737 + organization: *712 + repository: *713 sender: *4 required: - action @@ -143127,12 +143669,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - issue: *735 - label: *727 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + issue: *737 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -143212,8 +143754,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144023,11 +144565,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144043,7 +144585,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -144121,8 +144663,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -144202,11 +144744,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + issue: *736 + organization: *712 + repository: *713 sender: *4 required: - action @@ -144285,12 +144827,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + issue: *737 + type: *215 + organization: *712 + repository: *713 sender: *4 required: - action @@ -144370,11 +144912,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -144452,11 +144994,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -144566,11 +145108,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -144652,9 +145194,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: &736 + enterprise: *710 + installation: *711 + marketplace_purchase: &738 title: Marketplace Purchase type: object required: @@ -144737,8 +145279,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: &737 + organization: *712 + previous_marketplace_purchase: &739 title: Marketplace Purchase type: object properties: @@ -144818,7 +145360,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *713 sender: *4 required: - action @@ -144898,10 +145440,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *710 + installation: *711 + marketplace_purchase: *738 + organization: *712 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144984,7 +145526,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *713 sender: *4 required: - action @@ -145066,10 +145608,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *710 + installation: *711 + marketplace_purchase: *738 + organization: *712 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145151,7 +145693,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *713 sender: *4 required: - action @@ -145232,8 +145774,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 marketplace_purchase: title: Marketplace Purchase type: object @@ -145315,9 +145857,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + organization: *712 + previous_marketplace_purchase: *739 + repository: *713 sender: *4 required: - action @@ -145397,12 +145939,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + enterprise: *710 + installation: *711 + marketplace_purchase: *738 + organization: *712 + previous_marketplace_purchase: *739 + repository: *713 sender: *4 required: - action @@ -145504,11 +146046,11 @@ x-webhooks: type: string required: - to - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + member: *730 + organization: *712 + repository: *713 sender: *4 required: - action @@ -145608,11 +146150,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + member: *730 + organization: *712 + repository: *713 sender: *4 required: - action @@ -145691,11 +146233,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + member: *730 + organization: *712 + repository: *713 sender: *4 required: - action @@ -145773,11 +146315,11 @@ x-webhooks: type: string enum: - added - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + member: *730 + organization: *712 + repository: *713 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145853,7 +146395,7 @@ x-webhooks: required: - login - id - team: &738 + team: &740 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146076,11 +146618,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + member: *730 + organization: *712 + repository: *713 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146157,7 +146699,7 @@ x-webhooks: required: - login - id - team: *738 + team: *740 required: - action - scope @@ -146239,8 +146781,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *709 - merge_group: &740 + installation: *711 + merge_group: &742 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146259,15 +146801,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *739 + head_commit: *741 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -146353,10 +146895,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *709 - merge_group: *740 - organization: *710 - repository: *711 + installation: *711 + merge_group: *742 + organization: *712 + repository: *713 sender: *4 required: - action @@ -146429,7 +146971,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *710 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146538,16 +147080,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *709 - organization: *710 + installation: *711 + organization: *712 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *743 + required: *744 nullable: true sender: *4 required: @@ -146628,11 +147170,11 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + milestone: *735 + organization: *712 + repository: *713 sender: *4 required: - action @@ -146711,9 +147253,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - milestone: &743 + enterprise: *710 + installation: *711 + milestone: &745 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146850,8 +147392,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -146930,11 +147472,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + milestone: *735 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147044,11 +147586,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + milestone: *735 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147128,11 +147670,11 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - milestone: *743 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + milestone: *745 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147211,11 +147753,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *730 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147294,11 +147836,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *730 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147377,9 +147919,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - membership: &744 + enterprise: *710 + installation: *711 + membership: &746 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147486,8 +148028,8 @@ x-webhooks: - role - organization_url - user - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147565,11 +148107,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + membership: *746 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147648,8 +148190,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147765,10 +148307,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 - user: *728 + user: *730 required: - action - invitation @@ -147846,11 +148388,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + membership: *746 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147937,11 +148479,11 @@ x-webhooks: properties: from: type: string - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + membership: *746 + organization: *712 + repository: *713 sender: *4 required: - action @@ -148017,9 +148559,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 package: description: Information about the package. type: object @@ -148518,7 +149060,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &745 + items: &747 title: Ruby Gems metadata type: object properties: @@ -148613,7 +149155,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *713 sender: *4 required: - action @@ -148689,9 +149231,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 package: description: Information about the package. type: object @@ -149044,7 +149586,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *747 source_url: type: string format: uri @@ -149114,7 +149656,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *713 sender: *4 required: - action @@ -149291,12 +149833,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *708 + enterprise: *710 id: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - id @@ -149373,7 +149915,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &746 + personal_access_token_request: &748 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149519,10 +150061,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *708 - organization: *710 + enterprise: *710 + organization: *712 sender: *4 - installation: *709 + installation: *711 required: - action - personal_access_token_request @@ -149599,11 +150141,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *748 + enterprise: *710 + organization: *712 sender: *4 - installation: *709 + installation: *711 required: - action - personal_access_token_request @@ -149679,11 +150221,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *748 + enterprise: *710 + organization: *712 sender: *4 - installation: *709 + installation: *711 required: - action - personal_access_token_request @@ -149758,11 +150300,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *746 - organization: *710 - enterprise: *708 + personal_access_token_request: *748 + organization: *712 + enterprise: *710 sender: *4 - installation: *709 + installation: *711 required: - action - personal_access_token_request @@ -149867,7 +150409,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *747 + last_response: *749 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149899,8 +150441,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 zen: description: Random string of GitHub zen. @@ -150145,10 +150687,10 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: &748 + enterprise: *710 + installation: *711 + organization: *712 + project_card: &750 title: Project Card type: object properties: @@ -150267,7 +150809,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *713 sender: *4 required: - action @@ -150348,11 +150890,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project_card: *750 + repository: *713 sender: *4 required: - action @@ -150432,9 +150974,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 project_card: title: Project Card type: object @@ -150562,8 +151104,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *743 + required: *744 nullable: true sender: *4 required: @@ -150657,11 +151199,11 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project_card: *750 + repository: *713 sender: *4 required: - action @@ -150755,9 +151297,9 @@ x-webhooks: - from required: - column_id - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 project_card: allOf: - title: Project Card @@ -150947,7 +151489,7 @@ x-webhooks: type: string required: - after_id - repository: *711 + repository: *713 sender: *4 required: - action @@ -151027,10 +151569,10 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - organization: *710 - project: &750 + enterprise: *710 + installation: *711 + organization: *712 + project: &752 title: Project type: object properties: @@ -151154,7 +151696,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *713 sender: *4 required: - action @@ -151234,10 +151776,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_column: &749 + enterprise: *710 + installation: *711 + organization: *712 + project_column: &751 title: Project Column type: object properties: @@ -151276,7 +151818,7 @@ x-webhooks: - name - created_at - updated_at - repository: *711 + repository: *713 sender: *4 required: - action @@ -151355,18 +151897,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 + enterprise: *710 + installation: *711 + organization: *712 + project_column: *751 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *743 + required: *744 nullable: true sender: *4 required: @@ -151456,11 +151998,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project_column: *751 + repository: *713 sender: *4 required: - action @@ -151540,11 +152082,11 @@ x-webhooks: type: string enum: - moved - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project_column: *751 + repository: *713 sender: *4 required: - action @@ -151624,11 +152166,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project: *752 + repository: *713 sender: *4 required: - action @@ -151708,18 +152250,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project: *750 + enterprise: *710 + installation: *711 + organization: *712 + project: *752 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *743 + required: *744 nullable: true sender: *4 required: @@ -151821,11 +152363,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project: *752 + repository: *713 sender: *4 required: - action @@ -151904,11 +152446,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project: *752 + repository: *713 sender: *4 required: - action @@ -151989,9 +152531,9 @@ x-webhooks: type: string enum: - closed - installation: *709 - organization: *710 - projects_v2: *245 + installation: *711 + organization: *712 + projects_v2: *250 sender: *4 required: - action @@ -152072,9 +152614,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2: *245 + installation: *711 + organization: *712 + projects_v2: *250 sender: *4 required: - action @@ -152155,9 +152697,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2: *245 + installation: *711 + organization: *712 + projects_v2: *250 sender: *4 required: - action @@ -152274,9 +152816,9 @@ x-webhooks: type: string to: type: string - installation: *709 - organization: *710 - projects_v2: *245 + installation: *711 + organization: *712 + projects_v2: *250 sender: *4 required: - action @@ -152359,7 +152901,7 @@ x-webhooks: type: string enum: - archived - changes: &754 + changes: &756 type: object properties: archived_at: @@ -152373,9 +152915,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *709 - organization: *710 - projects_v2_item: &751 + installation: *711 + organization: *712 + projects_v2_item: &753 title: Projects v2 Item description: An item belonging to a project type: object @@ -152393,7 +152935,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *253 + content_type: *258 creator: *4 created_at: type: string @@ -152510,9 +153052,9 @@ x-webhooks: nullable: true to: type: string - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *711 + organization: *712 + projects_v2_item: *753 sender: *4 required: - action @@ -152594,9 +153136,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *711 + organization: *712 + projects_v2_item: *753 sender: *4 required: - action @@ -152677,9 +153219,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *711 + organization: *712 + projects_v2_item: *753 sender: *4 required: - action @@ -152785,7 +153327,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &752 + - &754 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152807,7 +153349,7 @@ x-webhooks: required: - id - name - - &753 + - &755 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152841,8 +153383,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *752 - - *753 + - *754 + - *755 required: - field_value - type: object @@ -152858,9 +153400,9 @@ x-webhooks: nullable: true required: - body - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *711 + organization: *712 + projects_v2_item: *753 sender: *4 required: - action @@ -152955,9 +153497,9 @@ x-webhooks: to: type: string nullable: true - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *711 + organization: *712 + projects_v2_item: *753 sender: *4 required: - action @@ -153040,10 +153582,10 @@ x-webhooks: type: string enum: - restored - changes: *754 - installation: *709 - organization: *710 - projects_v2_item: *751 + changes: *756 + installation: *711 + organization: *712 + projects_v2_item: *753 sender: *4 required: - action @@ -153125,9 +153667,9 @@ x-webhooks: type: string enum: - reopened - installation: *709 - organization: *710 - projects_v2: *245 + installation: *711 + organization: *712 + projects_v2: *250 sender: *4 required: - action @@ -153208,14 +153750,14 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_status_update: &757 + installation: *711 + organization: *712 + projects_v2_status_update: &759 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *755 - required: *756 + properties: *757 + required: *758 sender: *4 required: - action @@ -153296,9 +153838,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *711 + organization: *712 + projects_v2_status_update: *759 sender: *4 required: - action @@ -153434,9 +153976,9 @@ x-webhooks: type: string format: date nullable: true - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *711 + organization: *712 + projects_v2_status_update: *759 sender: *4 required: - action @@ -153507,10 +154049,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - repository @@ -153587,13 +154129,13 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - number: &758 + assignee: *730 + enterprise: *710 + installation: *711 + number: &760 description: The pull request number. type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -155876,7 +156418,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -155958,11 +156500,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -158240,7 +158782,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *713 sender: *4 required: - action @@ -158322,11 +158864,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -160604,7 +161146,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *713 sender: *4 required: - action @@ -160686,13 +161228,13 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: &759 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 + pull_request: &761 allOf: - - *571 + - *566 - type: object properties: allow_auto_merge: @@ -160754,7 +161296,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *711 + repository: *713 sender: *4 required: - action @@ -160835,12 +161377,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 + pull_request: *761 + repository: *713 sender: *4 required: - action @@ -160920,11 +161462,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: &760 + enterprise: *710 + milestone: *550 + number: *760 + organization: *712 + pull_request: &762 title: Pull Request type: object properties: @@ -163187,7 +163729,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -163266,11 +163808,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -165552,7 +166094,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *711 + repository: *713 sender: *4 required: - action @@ -165676,12 +166218,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 + pull_request: *761 + repository: *713 sender: *4 required: - action @@ -165761,11 +166303,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -168032,7 +168574,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -168112,11 +168654,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *710 + installation: *711 + label: *729 + number: *760 + organization: *712 pull_request: title: Pull Request type: object @@ -170398,7 +170940,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -170479,10 +171021,10 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 pull_request: title: Pull Request type: object @@ -172762,7 +173304,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -172842,12 +173384,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: *760 - repository: *711 + enterprise: *710 + milestone: *550 + number: *760 + organization: *712 + pull_request: *762 + repository: *713 sender: *4 required: - action @@ -172926,12 +173468,12 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 + pull_request: *761 + repository: *713 sender: *4 required: - action @@ -173012,12 +173554,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 + pull_request: *761 + repository: *713 sender: *4 required: - action @@ -173097,12 +173639,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 + pull_request: *761 + repository: *713 sender: *4 required: - action @@ -173468,9 +174010,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: type: object properties: @@ -175640,7 +176182,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *713 sender: *4 required: - action @@ -175720,7 +176262,7 @@ x-webhooks: type: string enum: - deleted - comment: &762 + comment: &764 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176005,9 +176547,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: type: object properties: @@ -178165,7 +178707,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *713 sender: *4 required: - action @@ -178245,11 +178787,11 @@ x-webhooks: type: string enum: - edited - changes: *761 - comment: *762 - enterprise: *708 - installation: *709 - organization: *710 + changes: *763 + comment: *764 + enterprise: *710 + installation: *711 + organization: *712 pull_request: type: object properties: @@ -180410,7 +180952,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *713 sender: *4 required: - action @@ -180491,9 +181033,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: title: Simple Pull Request type: object @@ -182666,7 +183208,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *713 review: description: The review that was affected. type: object @@ -182913,9 +183455,9 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: title: Simple Pull Request type: object @@ -184969,8 +185511,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: &763 + repository: *713 + review: &765 description: The review that was affected. type: object properties: @@ -185203,12 +185745,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: description: The pull request number. type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -187491,7 +188033,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 requested_reviewer: title: User type: object @@ -187575,12 +188117,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: description: The pull request number. type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -189870,7 +190412,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190062,12 +190604,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: description: The pull request number. type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -192352,7 +192894,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 requested_reviewer: title: User type: object @@ -192437,12 +192979,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: description: The pull request number. type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -194718,7 +195260,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194899,9 +195441,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: title: Simple Pull Request type: object @@ -197076,8 +197618,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: *763 + repository: *713 + review: *765 sender: *4 required: - action @@ -197157,9 +197699,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: title: Simple Pull Request type: object @@ -199229,7 +199771,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *713 sender: *4 thread: type: object @@ -199616,9 +200158,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: title: Simple Pull Request type: object @@ -201674,7 +202216,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *713 sender: *4 thread: type: object @@ -202064,10 +202606,10 @@ x-webhooks: type: string before: type: string - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 pull_request: title: Pull Request type: object @@ -204338,7 +204880,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -204420,11 +204962,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *764 - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + assignee: *766 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 pull_request: title: Pull Request type: object @@ -206707,7 +207249,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -206786,11 +207328,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *710 + installation: *711 + label: *729 + number: *760 + organization: *712 pull_request: title: Pull Request type: object @@ -209063,7 +209605,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -209144,10 +209686,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 pull_request: title: Pull Request type: object @@ -211412,7 +211954,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -211612,7 +212154,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *708 + enterprise: *710 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211704,8 +212246,8 @@ x-webhooks: - url - author - committer - installation: *709 - organization: *710 + installation: *711 + organization: *712 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212280,9 +212822,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 registry_package: type: object properties: @@ -212728,7 +213270,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *745 + items: *747 summary: type: string tag_name: @@ -212782,7 +213324,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *713 sender: *4 required: - action @@ -212860,9 +213402,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 registry_package: type: object properties: @@ -213170,7 +213712,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *747 summary: type: string tag_name: @@ -213219,7 +213761,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *713 sender: *4 required: - action @@ -213296,10 +213838,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - release: &765 + enterprise: *710 + installation: *711 + organization: *712 + release: &767 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213617,7 +214159,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *711 + repository: *713 sender: *4 required: - action @@ -213694,11 +214236,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + release: *767 + repository: *713 sender: *4 required: - action @@ -213815,11 +214357,11 @@ x-webhooks: type: boolean required: - to - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + release: *767 + repository: *713 sender: *4 required: - action @@ -213897,9 +214439,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214221,7 +214763,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *713 sender: *4 required: - action @@ -214297,10 +214839,10 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - release: &766 + enterprise: *710 + installation: *711 + organization: *712 + release: &768 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214619,7 +215161,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *713 sender: *4 required: - action @@ -214695,11 +215237,11 @@ x-webhooks: type: string enum: - released - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + release: *767 + repository: *713 sender: *4 required: - action @@ -214775,11 +215317,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *708 - installation: *709 - organization: *710 - release: *766 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + release: *768 + repository: *713 sender: *4 required: - action @@ -214855,11 +215397,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + repository_advisory: *630 sender: *4 required: - action @@ -214935,11 +215477,11 @@ x-webhooks: type: string enum: - reported - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + repository_advisory: *630 sender: *4 required: - action @@ -215015,10 +215557,10 @@ x-webhooks: type: string enum: - archived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215095,10 +215637,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215176,10 +215718,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215263,10 +215805,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215378,10 +215920,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215453,10 +215995,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 status: type: string @@ -215537,10 +216079,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215617,10 +216159,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215714,10 +216256,10 @@ x-webhooks: - name required: - repository - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215797,11 +216339,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + repository_ruleset: *296 sender: *4 required: - action @@ -215879,11 +216421,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + repository_ruleset: *296 sender: *4 required: - action @@ -215961,11 +216503,11 @@ x-webhooks: type: string enum: - edited - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + repository_ruleset: *296 changes: type: object properties: @@ -215984,16 +216526,16 @@ x-webhooks: properties: added: type: array - items: *266 + items: *271 deleted: type: array - items: *266 + items: *271 updated: type: array items: type: object properties: - condition: *266 + condition: *271 changes: type: object properties: @@ -216026,16 +216568,16 @@ x-webhooks: properties: added: type: array - items: *592 + items: *587 deleted: type: array - items: *592 + items: *587 updated: type: array items: type: object properties: - rule: *592 + rule: *587 changes: type: object properties: @@ -216269,10 +216811,10 @@ x-webhooks: - from required: - owner - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -216350,10 +216892,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -216431,7 +216973,7 @@ x-webhooks: type: string enum: - create - alert: &767 + alert: &769 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216552,10 +217094,10 @@ x-webhooks: type: string enum: - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -216761,10 +217303,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -216842,11 +217384,11 @@ x-webhooks: type: string enum: - reopen - alert: *767 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *769 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217045,10 +217587,10 @@ x-webhooks: enum: - fixed - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217126,11 +217668,11 @@ x-webhooks: type: string enum: - created - alert: &768 + alert: &770 type: object properties: - number: *54 - created_at: *55 + number: *157 + created_at: *158 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -217138,8 +217680,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *56 - html_url: *57 + url: *160 + html_url: *161 locations_url: type: string format: uri @@ -217244,10 +217786,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217328,11 +217870,11 @@ x-webhooks: type: string enum: - created - alert: *768 - installation: *709 - location: *769 - organization: *710 - repository: *711 + alert: *770 + installation: *711 + location: *771 + organization: *712 + repository: *713 sender: *4 required: - location @@ -217570,11 +218112,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *770 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217652,11 +218194,11 @@ x-webhooks: type: string enum: - reopened - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *770 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217734,11 +218276,11 @@ x-webhooks: type: string enum: - resolved - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *770 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217816,11 +218358,11 @@ x-webhooks: type: string enum: - validated - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *770 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217946,10 +218488,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *711 - enterprise: *708 - installation: *709 - organization: *710 + repository: *713 + enterprise: *710 + installation: *711 + organization: *712 sender: *4 required: - action @@ -218027,11 +218569,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: &770 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + security_advisory: &772 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218214,11 +218756,11 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: *770 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + security_advisory: *772 sender: *4 required: - action @@ -218291,10 +218833,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218478,11 +219020,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *265 - enterprise: *708 - installation: *709 - organization: *710 - repository: *338 + security_and_analysis: *270 + enterprise: *710 + installation: *711 + organization: *712 + repository: *333 sender: *4 required: - changes @@ -218560,12 +219102,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - sponsorship: &771 + sponsorship: &773 type: object properties: created_at: @@ -218866,12 +219408,12 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - sponsorship: *771 + sponsorship: *773 required: - action - sponsorship @@ -218959,12 +219501,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - sponsorship: *771 + sponsorship: *773 required: - action - changes @@ -219041,17 +219583,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &772 + effective_date: &774 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: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - sponsorship: *771 + sponsorship: *773 required: - action - sponsorship @@ -219125,7 +219667,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &773 + changes: &775 type: object properties: tier: @@ -219169,13 +219711,13 @@ x-webhooks: - from required: - tier - effective_date: *772 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + effective_date: *774 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - sponsorship: *771 + sponsorship: *773 required: - action - changes @@ -219252,13 +219794,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *773 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + changes: *775 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - sponsorship: *771 + sponsorship: *773 required: - action - changes @@ -219332,10 +219874,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219418,10 +219960,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219841,15 +220383,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *708 + enterprise: *710 id: description: The unique identifier of the status. type: integer - installation: *709 + installation: *711 name: type: string - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 sha: description: The Commit SHA. @@ -219958,15 +220500,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - parent_issue_repo: *67 + parent_issue: *70 + parent_issue_repo: *66 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + sub_issue: *70 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -220050,15 +220592,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - parent_issue_repo: *67 + parent_issue: *70 + parent_issue_repo: *66 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + sub_issue: *70 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -220142,15 +220684,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - sub_issue_repo: *67 + sub_issue: *70 + sub_issue_repo: *66 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + parent_issue: *70 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -220234,15 +220776,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - sub_issue_repo: *67 + sub_issue: *70 + sub_issue_repo: *66 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + parent_issue: *70 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -220319,12 +220861,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - team: &774 + team: &776 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220547,9 +221089,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 repository: title: Repository description: A git repository @@ -221007,7 +221549,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *776 required: - action - team @@ -221083,9 +221625,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 repository: title: Repository description: A git repository @@ -221543,7 +222085,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *776 required: - action - team @@ -221620,9 +222162,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 repository: title: Repository description: A git repository @@ -222080,7 +222622,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *776 required: - action - team @@ -222224,9 +222766,9 @@ x-webhooks: - from required: - permissions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 repository: title: Repository description: A git repository @@ -222684,7 +223226,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *776 required: - action - changes @@ -222762,9 +223304,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 repository: title: Repository description: A git repository @@ -223222,7 +223764,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *776 required: - action - team @@ -223298,10 +223840,10 @@ x-webhooks: type: string enum: - started - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -223374,16 +223916,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *708 + enterprise: *710 inputs: type: object nullable: true additionalProperties: true - installation: *709 - organization: *710 + installation: *711 + organization: *712 ref: type: string - repository: *711 + repository: *713 sender: *4 workflow: type: string @@ -223465,10 +224007,10 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 workflow_job: allOf: @@ -223705,7 +224247,7 @@ x-webhooks: type: string required: - conclusion - deployment: *488 + deployment: *483 required: - action - repository @@ -223784,10 +224326,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 workflow_job: allOf: @@ -224047,7 +224589,7 @@ x-webhooks: required: - status - steps - deployment: *488 + deployment: *483 required: - action - repository @@ -224126,10 +224668,10 @@ x-webhooks: type: string enum: - queued - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 workflow_job: type: object @@ -224264,7 +224806,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *483 required: - action - repository @@ -224343,10 +224885,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 workflow_job: type: object @@ -224482,7 +225024,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *483 required: - action - repository @@ -224562,12 +225104,12 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - workflow: *723 + workflow: *725 workflow_run: title: Workflow Run type: object @@ -225566,12 +226108,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - workflow: *723 + workflow: *725 workflow_run: title: Workflow Run type: object @@ -226555,12 +227097,12 @@ x-webhooks: type: string enum: - requested - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - workflow: *723 + workflow: *725 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 744d87ec26..90fba3f03a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/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." @@ -20480,29 +20484,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).\"", @@ -22110,1758 +22091,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": { - "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, - "nullable": 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", - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "nullable": true, - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests" - ] - }, - "resolved_at": { - "type": "string", - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "resolved_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "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" - ], - "nullable": true - }, - "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", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "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", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "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", - "description": "Whether push protection was bypassed for the detected secret.", - "nullable": true - }, - "push_protection_bypassed_by": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "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" - ], - "nullable": true - }, - "push_protection_bypassed_at": { - "type": "string", - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "nullable": true - }, - "push_protection_bypass_request_reviewer": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "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" - ], - "nullable": true - }, - "push_protection_bypass_request_reviewer_comment": { - "type": "string", - "description": "An optional comment when reviewing a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_comment": { - "type": "string", - "description": "An optional comment when requesting a push protection bypass.", - "nullable": true - }, - "push_protection_bypass_request_html_url": { - "type": "string", - "format": "uri", - "description": "The URL to a push protection bypass request.", - "nullable": true - }, - "resolution_comment": { - "type": "string", - "description": "The comment that was optionally added when this alert was closed", - "nullable": true - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": "boolean", - "description": "Whether the secret was publicly leaked.", - "nullable": true - }, - "multi_repo": { - "type": "boolean", - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise.", - "nullable": true - }, - "is_base64_encoded": { - "type": "boolean", - "description": "A boolean value representing whether or not alert is base64 encoded", - "nullable": true - }, - "first_location_detected": { - "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", - "example": "/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", - "example": "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", - "example": "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", - "example": "/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", - "example": "af5626b4a114abcb82d63db7c8082c3c4756e51b" - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "example": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "example": "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "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.", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ], - "nullable": true - }, - "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": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "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" - ], - "nullable": true - } - } - } - }, - "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", @@ -24092,6 +22321,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": { "nullable": true, "type": "string", @@ -25358,8 +23597,503 @@ } }, { - "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": { + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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": { @@ -25368,29 +24102,248 @@ } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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" + } + } + } + } + } }, - "403": { - "description": "Forbidden", + "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": "Basic Error", - "description": "Basic Error", + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "message": { - "type": "string" + "login": { + "type": "string", + "example": "github" }, - "documentation_url": { - "type": "string" + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" }, "url": { - "type": "string" + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, - "status": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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" } } } @@ -25402,7 +24355,59 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "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": [ + { + "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": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" } } }, @@ -25634,6 +24639,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": { "nullable": true, "type": "string", @@ -65205,7 +64220,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" ], @@ -65349,7 +64364,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -65357,7 +64372,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -65365,7 +64380,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -67564,6 +66579,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -67667,6 +66687,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -67807,6 +66831,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": "string", + "nullable": true } } }, @@ -67825,6 +66854,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": [ @@ -67905,6 +66939,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -68008,6 +67047,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -68063,6 +67106,587 @@ } } }, + "/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", + "example": 1 + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "example": 200 + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "example": "CustomImage" + }, + "source": { + "description": "The image provider.", + "type": "string", + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "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", + "example": 1 + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "example": 200 + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "example": "CustomImage" + }, + "source": { + "description": "The image provider.", + "type": "string", + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "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", + "example": "1.0.0" + }, + "state": { + "description": "The state of image version.", + "type": "string", + "example": "Ready" + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "example": 30 + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "example": "2024-11-09T23:39:01Z" + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "example": "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", + "example": "1.0.0" + }, + "state": { + "description": "The state of image version.", + "type": "string", + "example": "Ready" + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "example": 30 + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "example": "2024-11-09T23:39:01Z" + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "example": "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", @@ -68612,6 +68236,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -68715,6 +68344,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -68830,6 +68463,11 @@ "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", + "nullable": true } } }, @@ -68899,6 +68537,261 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" + } + }, + "required": [ + "id", + "size_gb", + "display_name", + "source" + ], + "nullable": true + }, + "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", + "example": "8-core" + }, + "cpu_cores": { + "description": "The number of cores.", + "type": "integer", + "example": 8 + }, + "memory_gb": { + "description": "The available RAM for the machine spec.", + "type": "integer", + "example": 32 + }, + "storage_gb": { + "description": "The available SSD storage for the machine spec.", + "type": "integer", + "example": 300 + } + }, + "required": [ + "id", + "cpu_cores", + "memory_gb", + "storage_gb" + ] + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "example": "Ready", + "enum": [ + "Ready", + "Provisioning", + "Shutdown", + "Deleting", + "Stuck" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "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, + "example": 5 + }, + "public_ip_enabled": { + "description": "Whether public IP is enabled for the hosted runners.", + "type": "boolean", + "example": 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", + "example": true + }, + "prefix": { + "description": "The prefix for the public IP.", + "type": "string", + "example": "20.80.208.150" + }, + "length": { + "description": "The length of the IP prefix.", + "type": "integer", + "example": 28 + } + } + } + }, + "last_active_on": { + "description": "The time at which the runner was last used, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2022-10-09T23:39:01Z", + "nullable": true + }, + "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", + "example": 5 + }, + "name": { + "description": "The name of the hosted runner.", + "type": "string", + "example": "my-github-hosted-runner" + }, + "runner_group_id": { + "description": "The unique identifier of the group that the hosted runner belongs to.", + "type": "integer", + "example": 2 + }, + "image_details": { + "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", + "example": "ubuntu-20.04" + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "example": 86 + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "example": 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", + "example": "latest" } }, "required": [ @@ -69002,247 +68895,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true - } - }, - "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", - "example": 5 - }, - "name": { - "description": "The name of the hosted runner.", - "type": "string", - "example": "my-github-hosted-runner" - }, - "runner_group_id": { - "description": "The unique identifier of the group that the hosted runner belongs to.", - "type": "integer", - "example": 2 - }, - "image_details": { - "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", - "example": "ubuntu-20.04" - }, - "size_gb": { - "description": "Image size in GB.", - "type": "integer", - "example": 86 - }, - "display_name": { - "description": "Display name for this image.", - "type": "string", - "example": 20.04 - }, - "source": { - "description": "The image provider.", - "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] - } - }, - "required": [ - "id", - "size_gb", - "display_name", - "source" - ], - "nullable": true - }, - "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", - "example": "8-core" - }, - "cpu_cores": { - "description": "The number of cores.", - "type": "integer", - "example": 8 - }, - "memory_gb": { - "description": "The available RAM for the machine spec.", - "type": "integer", - "example": 32 - }, - "storage_gb": { - "description": "The available SSD storage for the machine spec.", - "type": "integer", - "example": 300 - } - }, - "required": [ - "id", - "cpu_cores", - "memory_gb", - "storage_gb" - ] }, - "status": { - "description": "The status of the runner.", - "type": "string", - "example": "Ready", - "enum": [ - "Ready", - "Provisioning", - "Shutdown", - "Deleting", - "Stuck" - ] - }, - "platform": { - "description": "The operating system of the image.", - "type": "string", - "example": "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, - "example": 5 - }, - "public_ip_enabled": { - "description": "Whether public IP is enabled for the hosted runners.", + "image_gen": { "type": "boolean", - "example": 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", - "example": true - }, - "prefix": { - "description": "The prefix for the public IP.", - "type": "string", - "example": "20.80.208.150" - }, - "length": { - "description": "The length of the IP prefix.", - "type": "integer", - "example": 28 - } - } - } - }, - "last_active_on": { - "description": "The time at which the runner was last used, in ISO 8601 format.", - "type": "string", - "format": "date-time", - "example": "2022-10-09T23:39:01Z", - "nullable": true + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -74717,6 +74373,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -74820,6 +74481,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -83791,6 +83456,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", @@ -100085,29 +99854,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).\"", @@ -148274,16 +148020,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } }, { @@ -155438,16 +155190,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -304039,16 +303797,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).\"", @@ -304076,29 +303824,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": { @@ -488890,7 +488615,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" ], @@ -624057,16 +623782,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -631194,16 +630925,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -655215,7 +654952,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" ], @@ -655346,7 +655083,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -655354,7 +655091,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -655362,7 +655099,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/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index f6e9af8bd8..136554362a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/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 @@ -855,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &307 + type: &302 type: string description: The type of credit the user is receiving. enum: @@ -988,7 +990,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &112 + schema: &111 title: Validation Error Simple description: Validation Error Simple type: object @@ -1021,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &629 + - &632 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1139,7 +1141,7 @@ paths: GitHub. type: object nullable: true - properties: &68 + properties: &67 id: description: Unique identifier of the GitHub app example: 37 @@ -1272,7 +1274,7 @@ paths: about itself. example: 5 type: integer - required: &69 + required: &68 - id - node_id - owner @@ -1577,7 +1579,7 @@ paths: schema: type: integer default: 30 - - &187 + - &193 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1593,7 +1595,7 @@ paths: application/json: schema: type: array - items: &188 + items: &194 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1675,7 @@ paths: - installation_id - repository_id examples: - default: &189 + default: &195 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1732,7 +1734,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &111 + schema: &110 title: Validation Error description: Validation Error type: object @@ -1801,7 +1803,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &196 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1917,7 @@ paths: - request - response examples: - default: &191 + default: &197 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2116,7 +2118,7 @@ paths: parameters: - *17 - *19 - - &79 + - &77 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) @@ -2653,7 +2655,7 @@ paths: suspended_at: suspended_by: headers: - Link: &58 + Link: &54 example: ; rel="next", ; rel="last" schema: @@ -2842,11 +2844,11 @@ paths: - selected repositories: type: array - items: &67 + items: &66 title: Repository description: A repository on GitHub. type: object - properties: &263 + properties: &268 id: description: Unique identifier of the repository example: 42 @@ -2866,7 +2868,7 @@ paths: title: License Simple description: License Simple type: object - properties: &74 + properties: &73 key: type: string example: mit @@ -2888,7 +2890,7 @@ paths: html_url: type: string format: uri - required: &75 + required: &74 - key - name - url @@ -3284,7 +3286,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &264 + required: &269 - archive_url - assignees_url - blobs_url @@ -5071,7 +5073,7 @@ paths: responses: '202': *39 '422': *7 - '500': &106 + '500': &104 description: Internal Error content: application/json: @@ -7395,7 +7397,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &159 + code_scanning_options: &167 type: object description: Security Configuration feature options for code scanning nullable: true @@ -7589,7 +7591,7 @@ paths: description: Response content: application/json: - schema: &161 + schema: &169 type: array description: A list of default code security configurations items: @@ -7605,7 +7607,7 @@ paths: default configuration: *43 examples: - default: &162 + default: &170 value: - default_for_new_repos: public configuration: @@ -7936,7 +7938,7 @@ paths: - *42 - *45 responses: - '204': &163 + '204': &171 description: A header with no content is returned. '400': *14 '403': *29 @@ -8063,7 +8065,7 @@ paths: default: value: default_for_new_repos: all - configuration: &160 + configuration: &168 value: id: 1325 target_type: organization @@ -8148,7 +8150,7 @@ paths: application/json: schema: type: array - items: &164 + items: &172 type: object description: Repositories associated with a code security configuration and attachment status @@ -8170,7 +8172,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &103 + properties: &102 id: type: integer format: int64 @@ -8397,7 +8399,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &104 + required: &103 - archive_url - assignees_url - blobs_url @@ -8449,7 +8451,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &165 + repository: &173 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8543,7 +8545,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &170 + - &178 name: state in: query description: |- @@ -8552,7 +8554,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &171 + - &179 name: severity in: query description: |- @@ -8561,7 +8563,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &172 + - &180 name: ecosystem in: query description: |- @@ -8570,14 +8572,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &173 + - &181 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 - - &174 + - &182 name: epss_percentage in: query description: |- @@ -8589,7 +8591,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 - - &479 + - &474 name: has in: query description: |- @@ -8603,7 +8605,7 @@ paths: type: string enum: - patch - - &175 + - &183 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8613,7 +8615,7 @@ paths: enum: - development - runtime - - &176 + - &184 name: sort in: query description: |- @@ -8631,31 +8633,6 @@ paths: - *48 - *40 - *41 - - &177 - 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 - - &178 - 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': @@ -8664,11 +8641,11 @@ paths: application/json: schema: type: array - items: &179 + items: &185 type: object description: A Dependabot alert. properties: - number: &54 + number: &157 type: integer description: The security alert number. readOnly: true @@ -8730,7 +8707,7 @@ paths: - unknown - direct - transitive - security_advisory: &480 + security_advisory: &475 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8933,29 +8910,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *52 - url: &56 + url: &160 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &57 + html_url: &161 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &55 + created_at: &158 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: &153 + updated_at: &159 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: &155 + dismissed_at: &163 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8985,14 +8962,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &154 + fixed_at: &162 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &481 + auto_dismissed_at: &476 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9018,7 +8995,7 @@ paths: - repository additionalProperties: false examples: - default: &180 + default: &186 value: - number: 2 state: dismissed @@ -9346,718 +9323,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: - - *42 - - &295 - 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 - - &296 - 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 - - &297 - 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 - - &298 - 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 - - *48 - - *17 - - *40 - - *41 - - &299 - 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 - - &300 - 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 - - &301 - 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 - - &302 - 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: &303 - type: object - properties: - number: *54 - created_at: *55 - updated_at: - 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 - nullable: true - url: *56 - html_url: *57 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &607 - description: Sets the state of the secret scanning alert. You - must provide `resolution` when you set the state to `resolved`. - type: string - enum: - - open - - resolved - resolution: &608 - type: string - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - nullable: true - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - resolved_at: - type: string - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - resolved_by: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - 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: *53 - push_protection_bypassed: - type: boolean - description: Whether push protection was bypassed for the detected - secret. - nullable: true - push_protection_bypassed_by: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - push_protection_bypassed_at: - type: string - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - nullable: true - push_protection_bypass_request_reviewer: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - push_protection_bypass_request_reviewer_comment: - type: string - description: An optional comment when reviewing a push protection - bypass. - nullable: true - push_protection_bypass_request_comment: - type: string - description: An optional comment when requesting a push protection - bypass. - nullable: true - push_protection_bypass_request_html_url: - type: string - format: uri - description: The URL to a push protection bypass request. - nullable: true - resolution_comment: - type: string - description: The comment that was optionally added when this - alert was closed - nullable: true - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: boolean - description: Whether the secret was publicly leaked. - nullable: true - multi_repo: - type: boolean - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - nullable: true - is_base64_encoded: - type: boolean - description: A boolean value representing whether or not alert - is base64 encoded - nullable: true - first_location_detected: - description: 'Details on the location where the token was initially - detected. This can be a commit, wiki commit, issue, discussion, - pull request. - - ' - oneOf: &609 - - &611 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - example: "/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 - example: 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 - example: 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 - - &612 - description: Represents a 'wiki_commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - example: "/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 - example: af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - example: 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 - - &613 - description: Represents an 'issue_title' secret scanning location - type. This location type shows that a secret was detected - in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &614 - description: Represents an 'issue_body' secret scanning location - type. This location type shows that a secret was detected - in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret - was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &615 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &616 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &617 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - example: https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &618 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &619 - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret was - detected in the title of a pull request. - 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. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &620 - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret was - detected in the body of a pull request. - 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. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &621 - description: Represents a 'pull_request_comment' secret scanning - location type. This location type shows that a secret was - detected in a comment on a pull request. - 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. - example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &622 - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret was - detected in a review on a pull request. - 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. - example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &623 - description: Represents a 'pull_request_review_comment' secret - scanning location type. This location type shows that a - secret was detected in a review comment on a pull request. - 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. - example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - nullable: true - 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: - title: Simple User - description: A GitHub user. - type: object - properties: *20 - required: *21 - nullable: true - examples: - default: &304 - 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: *58 - '404': *6 - '503': &77 - 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 @@ -10079,7 +9344,7 @@ paths: application/json: schema: type: array - items: &59 + items: &55 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10137,7 +9402,7 @@ paths: - updated_at - group_id examples: - default: &60 + default: &56 value: - id: 1 name: Justice League @@ -10150,7 +9415,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10193,6 +9458,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: nullable: true type: string @@ -10211,9 +9488,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10231,7 +9508,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *42 - - &61 + - &57 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10250,7 +9527,7 @@ paths: type: array items: *4 examples: - default: &62 + default: &58 value: - login: octocat id: 1 @@ -10271,7 +9548,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10289,7 +9566,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *42 - - *61 + - *57 requestBody: required: true content: @@ -10320,7 +9597,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10338,7 +9615,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *42 - - *61 + - *57 requestBody: required: true content: @@ -10369,7 +9646,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10387,8 +9664,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *42 - - *61 - - &63 + - *57 + - &59 name: username description: The handle for the GitHub user account. in: path @@ -10402,7 +9679,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &64 + exampleKey1: &60 value: login: octocat id: 1 @@ -10438,8 +9715,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *42 - - *61 - - *63 + - *57 + - *59 responses: '201': description: Successfully added team member @@ -10447,7 +9724,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *64 + exampleKey1: *60 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10465,8 +9742,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *42 - - *61 - - *63 + - *57 + - *59 responses: '204': description: Response @@ -10476,6 +9753,290 @@ 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: + - *42 + - *57 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: &61 + title: Organization Simple + description: A GitHub organization. + type: object + properties: &175 + login: + type: string + example: github + id: + type: integer + example: 1 + node_id: + type: string + example: MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + example: https://api.github.com/orgs/github + repos_url: + type: string + format: uri + example: https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + example: https://api.github.com/orgs/github/events + hooks_url: + type: string + example: https://api.github.com/orgs/github/hooks + issues_url: + type: string + example: https://api.github.com/orgs/github/issues + members_url: + type: string + example: https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + example: https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + example: https://github.com/images/error/octocat_happy.gif + description: + type: string + example: A great organization + nullable: true + required: &176 + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + examples: + default: &62 + 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: + - *42 + - *57 + 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: *61 + examples: + default: &101 + 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: + - *42 + - *57 + 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: + - *42 + - *57 + - &63 + 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: *61 + examples: + default: *62 + '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: + - *42 + - *57 + - *63 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *61 + examples: + default: *62 + 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: + - *42 + - *57 + - *63 + 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 @@ -10491,7 +10052,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *42 - - &65 + - &64 name: team_slug description: The slug of the team name. in: path @@ -10503,11 +10064,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10525,7 +10086,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *42 - - *65 + - *64 requestBody: required: true content: @@ -10551,6 +10112,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: nullable: true type: string @@ -10568,11 +10141,11 @@ paths: description: Response content: application/json: - schema: *59 + schema: *55 examples: - default: *60 + default: *56 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -10593,7 +10166,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *42 - - *65 + - *64 responses: '204': description: Response @@ -10631,7 +10204,7 @@ paths: application/json: schema: type: array - items: &98 + items: &96 title: Event description: Event type: object @@ -10641,7 +10214,7 @@ paths: type: type: string nullable: true - actor: &66 + actor: &65 title: Actor description: Actor type: object @@ -10681,7 +10254,7 @@ paths: - id - name - url - org: *66 + org: *65 payload: oneOf: - title: CreateEvent @@ -10727,7 +10300,7 @@ paths: properties: action: type: string - discussion: &724 + discussion: &726 title: Discussion description: A Discussion in a repository. type: object @@ -11014,7 +10587,7 @@ paths: - id labels: type: array - items: &70 + items: &69 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11089,12 +10662,12 @@ paths: properties: action: type: string - issue: &71 + issue: &70 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &529 + properties: &524 id: type: integer format: int64 @@ -11208,7 +10781,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &250 + properties: &255 url: type: string format: uri @@ -11278,7 +10851,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &251 + required: &256 - closed_issues - creator - description @@ -11357,7 +10930,7 @@ paths: timeline_url: type: string format: uri - type: &209 + type: &215 title: Issue Type description: The type of issue. type: object @@ -11407,7 +10980,7 @@ paths: - node_id - name - description - repository: *67 + repository: *66 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11418,9 +10991,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - author_association: &72 + properties: *67 + required: *68 + author_association: &71 title: author_association type: string example: OWNER @@ -11435,7 +11008,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &73 + reactions: &72 title: Reaction Rollup type: object properties: @@ -11471,7 +11044,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &641 + sub_issues_summary: &644 title: Sub-issues Summary type: object properties: @@ -11491,7 +11064,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &642 + issue_dependencies_summary: &645 title: Issue Dependencies Summary type: object properties: @@ -11510,7 +11083,7 @@ paths: - total_blocking issue_field_values: type: array - items: &643 + items: &646 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11571,7 +11144,7 @@ paths: - node_id - data_type - value - required: &530 + required: &525 - assignee - closed_at - comments @@ -11596,10 +11169,10 @@ paths: assignees: type: array items: *4 - label: *70 + label: *69 labels: type: array - items: *70 + items: *69 required: - action - issue @@ -11608,8 +11181,8 @@ paths: properties: action: type: string - issue: *71 - comment: &527 + issue: *70 + comment: &522 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11657,7 +11230,7 @@ paths: issue_url: type: string format: uri - author_association: *72 + author_association: *71 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11668,9 +11241,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *67 + required: *68 + reactions: *72 required: - id - node_id @@ -11843,8 +11416,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true allow_forking: type: boolean @@ -11933,7 +11506,7 @@ paths: type: string number: type: integer - pull_request: &76 + pull_request: &75 title: Pull Request Minimal type: object properties: @@ -12004,10 +11577,10 @@ paths: assignees: type: array items: *4 - label: *70 + label: *69 labels: type: array - items: *70 + items: *69 required: - action - number @@ -12017,7 +11590,7 @@ paths: properties: action: type: string - pull_request: *76 + pull_request: *75 comment: type: object properties: @@ -12268,7 +11841,7 @@ paths: - pull_request updated_at: type: string - pull_request: *76 + pull_request: *75 required: - action - review @@ -12317,7 +11890,7 @@ paths: updated_at: type: string format: date-time - reactions: *73 + reactions: *72 required: - action - comment @@ -12328,7 +11901,7 @@ paths: type: string release: allOf: - - &582 + - &577 title: Release description: A release. type: object @@ -12399,7 +11972,7 @@ paths: author: *4 assets: type: array - items: &583 + items: &578 title: Release Asset description: Data related to a release. type: object @@ -12474,7 +12047,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *73 + reactions: *72 required: - assets_url - upload_url @@ -12566,7 +12139,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *77 + '503': &105 + 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 @@ -12647,7 +12232,7 @@ paths: _links: type: object properties: - timeline: &78 + timeline: &76 title: Link With Type description: Hypermedia Link with Type type: object @@ -12659,17 +12244,17 @@ paths: required: - href - type - user: *78 - security_advisories: *78 - current_user: *78 - current_user_public: *78 - current_user_actor: *78 - current_user_organization: *78 + user: *76 + security_advisories: *76 + current_user: *76 + current_user_public: *76 + current_user_actor: *76 + current_user_organization: *76 current_user_organizations: type: array - items: *78 - repository_discussions: *78 - repository_discussions_category: *78 + items: *76 + repository_discussions: *76 + repository_discussions_category: *76 required: - timeline - user @@ -12731,7 +12316,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *79 + - *77 - *17 - *19 responses: @@ -12741,7 +12326,7 @@ paths: application/json: schema: type: array - items: &80 + items: &78 title: Base Gist description: Base Gist type: object @@ -12840,7 +12425,7 @@ paths: - created_at - updated_at examples: - default: &81 + default: &79 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -12885,7 +12470,7 @@ paths: site_admin: false truncated: false headers: - Link: *58 + Link: *54 '304': *37 '403': *29 x-github: @@ -12961,7 +12546,7 @@ paths: description: Response content: application/json: - schema: &82 + schema: &80 title: Gist Simple description: Gist Simple type: object @@ -12978,7 +12563,7 @@ paths: url: type: string format: uri - user: &655 + user: &658 title: Public User description: Public User type: object @@ -13340,7 +12925,7 @@ paths: truncated: type: boolean examples: - default: &83 + default: &81 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13444,7 +13029,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *79 + - *77 - *17 - *19 responses: @@ -13454,11 +13039,11 @@ paths: application/json: schema: type: array - items: *80 + items: *78 examples: - default: *81 + default: *79 headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '403': *29 @@ -13478,7 +13063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *79 + - *77 - *17 - *19 responses: @@ -13488,11 +13073,11 @@ paths: application/json: schema: type: array - items: *80 + items: *78 examples: - default: *81 + default: *79 headers: - Link: *58 + Link: *54 '401': *25 '304': *37 '403': *29 @@ -13518,7 +13103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &84 + - &82 name: gist_id description: The unique identifier of the gist. in: path @@ -13530,10 +13115,10 @@ paths: description: Response content: application/json: - schema: *82 + schema: *80 examples: - default: *83 - '403': &87 + default: *81 + '403': &85 description: Forbidden Gist content: application/json: @@ -13581,7 +13166,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *84 + - *82 requestBody: required: true content: @@ -13641,9 +13226,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *80 examples: - updateGist: *83 + updateGist: *81 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -13801,7 +13386,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *84 + - *82 responses: '204': description: Response @@ -13830,7 +13415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *84 + - *82 - *17 - *19 responses: @@ -13840,7 +13425,7 @@ paths: application/json: schema: type: array - items: &85 + items: &83 title: Gist Comment description: A comment made to a gist. type: object @@ -13875,7 +13460,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *72 + author_association: *71 required: - url - id @@ -13915,7 +13500,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -13940,7 +13525,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *84 + - *82 requestBody: required: true content: @@ -13965,9 +13550,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *83 examples: - default: &86 + default: &84 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14025,8 +13610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *84 - - &88 + - *82 + - &86 name: comment_id description: The unique identifier of the comment. in: path @@ -14039,12 +13624,12 @@ paths: description: Response content: application/json: - schema: *85 + schema: *83 examples: - default: *86 + default: *84 '304': *37 '404': *6 - '403': *87 + '403': *85 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14066,8 +13651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *84 - - *88 + - *82 + - *86 requestBody: required: true content: @@ -14092,9 +13677,9 @@ paths: description: Response content: application/json: - schema: *85 + schema: *83 examples: - default: *86 + default: *84 '404': *6 x-github: githubCloudOnly: false @@ -14111,8 +13696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *84 - - *88 + - *82 + - *86 responses: '204': description: Response @@ -14135,7 +13720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *84 + - *82 - *17 - *19 responses: @@ -14236,7 +13821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *84 + - *82 - *17 - *19 responses: @@ -14246,7 +13831,7 @@ paths: application/json: schema: type: array - items: *82 + items: *80 examples: default: value: @@ -14292,7 +13877,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '404': *6 '304': *37 '403': *29 @@ -14311,13 +13896,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *84 + - *82 responses: '201': description: Response content: application/json: - schema: *80 + schema: *78 examples: default: value: @@ -14388,7 +13973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *84 + - *82 responses: '204': description: Response if gist is starred @@ -14418,7 +14003,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *84 + - *82 responses: '204': description: Response @@ -14440,7 +14025,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *84 + - *82 responses: '204': description: Response @@ -14469,7 +14054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *84 + - *82 - name: sha in: path required: true @@ -14480,9 +14065,9 @@ paths: description: Response content: application/json: - schema: *82 + schema: *80 examples: - default: *83 + default: *81 '422': *15 '404': *6 '403': *29 @@ -14641,7 +14226,7 @@ paths: type: integer repositories: type: array - items: *67 + items: *66 repository_selection: type: string example: selected @@ -14764,7 +14349,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '403': *29 '304': *37 '401': *25 @@ -14848,7 +14433,7 @@ paths: - closed - all default: open - - &212 + - &218 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14867,7 +14452,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - name: collab in: query required: false @@ -14897,9 +14482,9 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: &213 + default: &219 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15144,7 +14729,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '404': *6 @@ -15183,8 +14768,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 examples: default: value: @@ -15469,7 +15054,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &89 + X-CommonMarker-Version: &87 example: 0.17.4 schema: type: string @@ -15524,7 +15109,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *89 + X-CommonMarker-Version: *87 content: text/html: schema: @@ -15553,7 +15138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &92 + - &90 name: account_id description: account_id parameter in: path @@ -15565,7 +15150,7 @@ paths: description: Response content: application/json: - schema: &91 + schema: &89 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15595,7 +15180,7 @@ paths: nullable: true id: type: integer - plan: &90 + plan: &88 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -15684,7 +15269,7 @@ paths: nullable: true updated_at: type: string - plan: *90 + plan: *88 required: - url - id @@ -15692,7 +15277,7 @@ paths: - login - marketplace_purchase examples: - default: &93 + default: &91 value: url: https://api.github.com/orgs/github type: Organization @@ -15777,9 +15362,9 @@ paths: application/json: schema: type: array - items: *90 + items: *88 examples: - default: &94 + default: &92 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -15797,7 +15382,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '404': *6 '401': *25 x-github: @@ -15819,14 +15404,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &95 + - &93 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &96 + - &94 name: sort description: The property to sort the results by. in: query @@ -15856,9 +15441,9 @@ paths: application/json: schema: type: array - items: *91 + items: *89 examples: - default: &97 + default: &95 value: - url: https://api.github.com/orgs/github type: Organization @@ -15909,7 +15494,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '404': *6 '422': *15 '401': *25 @@ -15932,15 +15517,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *92 + - *90 responses: '200': description: Response content: application/json: - schema: *91 + schema: *89 examples: - default: *93 + default: *91 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -15972,11 +15557,11 @@ paths: application/json: schema: type: array - items: *90 + items: *88 examples: - default: *94 + default: *92 headers: - Link: *58 + Link: *54 '401': *25 x-github: githubCloudOnly: false @@ -15997,8 +15582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *95 - - *96 + - *93 + - *94 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16018,11 +15603,11 @@ paths: application/json: schema: type: array - items: *91 + items: *89 examples: - default: *97 + default: *95 headers: - Link: *58 + Link: *54 '401': *25 x-github: githubCloudOnly: false @@ -16284,14 +15869,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &330 + - &325 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &331 + - &326 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16308,7 +15893,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -16353,7 +15938,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &339 + '301': &334 description: Moved permanently content: application/json: @@ -16375,7 +15960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &558 + - &553 name: all description: If `true`, show notifications marked as read. in: query @@ -16383,7 +15968,7 @@ paths: schema: type: boolean default: false - - &559 + - &554 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16392,8 +15977,8 @@ paths: schema: type: boolean default: false - - *79 - - &560 + - *77 + - &555 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: @@ -16418,18 +16003,18 @@ paths: application/json: schema: type: array - items: &99 + items: &97 title: Thread description: Thread type: object properties: id: type: string - repository: &137 + repository: &141 title: Minimal Repository description: Minimal Repository type: object - properties: &182 + properties: &188 id: type: integer format: int64 @@ -16705,7 +16290,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &265 + security_and_analysis: &270 nullable: true type: object properties: @@ -16779,7 +16364,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &183 + required: &189 - archive_url - assignees_url - blobs_url @@ -16867,7 +16452,7 @@ paths: - url - subscription_url examples: - default: &561 + default: &556 value: - id: '1' repository: @@ -16949,7 +16534,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -17033,7 +16618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &100 + - &98 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 @@ -17047,7 +16632,7 @@ paths: description: Response content: application/json: - schema: *99 + schema: *97 examples: default: value: @@ -17149,7 +16734,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *100 + - *98 responses: '205': description: Reset Content @@ -17171,7 +16756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *100 + - *98 responses: '204': description: No content @@ -17194,13 +16779,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *100 + - *98 responses: '200': description: Response content: application/json: - schema: &101 + schema: &99 title: Thread Subscription description: Thread Subscription type: object @@ -17237,7 +16822,7 @@ paths: - url - subscribed examples: - default: &102 + default: &100 value: subscribed: true ignored: false @@ -17268,7 +16853,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *100 + - *98 requestBody: required: false content: @@ -17289,9 +16874,9 @@ paths: description: Response content: application/json: - schema: *101 + schema: *99 examples: - default: *102 + default: *100 '304': *37 '403': *29 '401': *25 @@ -17314,7 +16899,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *100 + - *98 responses: '204': description: Response @@ -17409,79 +16994,9 @@ paths: application/json: schema: type: array - items: &218 - title: Organization Simple - description: A GitHub organization. - type: object - properties: &167 - login: - type: string - example: github - id: - type: integer - example: 1 - node_id: - type: string - example: MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - example: https://api.github.com/orgs/github - repos_url: - type: string - format: uri - example: https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - example: https://api.github.com/orgs/github/events - hooks_url: - type: string - example: https://api.github.com/orgs/github/hooks - issues_url: - type: string - example: https://api.github.com/orgs/github/issues - members_url: - type: string - example: https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - example: https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - example: https://github.com/images/error/octocat_happy.gif - description: - type: string - example: A great organization - nullable: true - required: &168 - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description + items: *61 examples: - default: &672 - 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: *101 headers: Link: example: ; rel="next" @@ -17508,13 +17023,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: - - &105 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *63 - name: page in: query description: The page number of results to fetch. @@ -17558,8 +17067,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *103 - required: *104 + properties: *102 + required: *103 nullable: true additionalProperties: false examples: @@ -17665,7 +17174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -17731,7 +17240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *105 + - *63 requestBody: required: true content: @@ -17767,9 +17276,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 @@ -17777,8 +17287,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: - - *105 - - &107 + - *63 + - &106 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, @@ -17787,7 +17297,7 @@ paths: required: false schema: type: integer - - &698 + - &700 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 @@ -17796,7 +17306,7 @@ paths: required: false schema: type: integer - - &108 + - &107 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 @@ -17811,14 +17321,14 @@ paths: required: false schema: type: string - - &699 + - &701 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &700 + - &702 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -17880,19 +17390,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 @@ -17934,8 +17444,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17955,9 +17465,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *105 - - *107 - - &703 + - *63 + - *106 + - &705 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 @@ -17966,8 +17476,8 @@ paths: required: false schema: type: integer - - *108 - - &704 + - *107 + - &706 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 @@ -18050,8 +17560,8 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18077,13 +17587,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &109 + schema: &108 title: Organization Full description: Organization Full type: object @@ -18402,7 +17912,7 @@ paths: - updated_at - archived_at examples: - default-response: &110 + default-response: &109 value: login: github id: 1 @@ -18502,7 +18012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *105 + - *63 requestBody: required: false content: @@ -18718,17 +18228,17 @@ paths: description: Response content: application/json: - schema: *109 + schema: *108 examples: - default: *110 + default: *109 '422': description: Validation failed content: application/json: schema: oneOf: + - *110 - *111 - - *112 '409': *47 x-github: githubCloudOnly: false @@ -18752,7 +18262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *105 + - *63 responses: '202': *39 '404': *6 @@ -18777,7 +18287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -18803,7 +18313,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18824,7 +18334,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: - - *105 + - *63 - *17 - *19 responses: @@ -18842,7 +18352,7 @@ paths: type: integer repository_cache_usages: type: array - items: &344 + items: &339 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18877,7 +18387,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18897,7 +18407,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -18915,7 +18425,7 @@ paths: type: integer runners: type: array - items: &113 + items: &112 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -18958,13 +18468,18 @@ paths: - github - partner - custom + version: + description: The image version of the hosted runner + pool. + type: string + example: latest required: - id - size_gb - display_name - source nullable: true - machine_size_details: &116 + machine_size_details: &120 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19047,6 +18562,10 @@ paths: format: date-time example: '2022-10-09T23:39:01Z' nullable: true + image_gen: + type: boolean + description: Whether custom image generation is enabled + for the hosted runners. required: - id - name @@ -19056,7 +18575,7 @@ paths: - public_ip_enabled - platform examples: - default: &136 + default: &140 value: total_count: 2 runners: @@ -19098,7 +18617,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19116,7 +18635,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -19145,6 +18664,11 @@ 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 + nullable: true size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -19162,6 +18686,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 @@ -19183,9 +18712,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: &117 + default: &121 value: id: 5 name: My hosted ubuntu runner @@ -19212,6 +18741,307 @@ 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: + - *63 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: &113 + 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 + example: 1 + platform: + description: The operating system of the image. + type: string + example: linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + example: 200 + name: + description: Display name for this image. + type: string + example: CustomImage + source: + description: The image provider. + type: string + example: custom + versions_count: + description: The number of image versions associated with + the image. + type: integer + example: 4 + latest_version: + description: The latest image version associated with the + image. + type: string + example: 1.3.0 + state: + description: The number of image versions associated with + the image. + type: string + example: Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + examples: + default: &115 + 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: + - *63 + - &114 + 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: *113 + 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: + - *63 + - *114 + 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: + - *114 + - *63 + 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: &116 + 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 + example: 1.0.0 + state: + description: The state of image version. + type: string + example: Ready + size_gb: + description: Image version size in GB. + type: integer + example: 30 + created_on: + description: The creation date time of the image version. + type: string + example: '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + example: None + required: + - version + - state + - size_gb + - created_on + - state_details + examples: + default: *115 + 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: + - *63 + - *114 + - &117 + 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: *116 + 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: + - *63 + - *114 + - *117 + 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 @@ -19224,7 +19054,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: - - *105 + - *63 responses: '200': description: Response @@ -19240,7 +19070,7 @@ paths: type: integer images: type: array - items: &114 + items: &118 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -19276,7 +19106,7 @@ paths: - display_name - source examples: - default: &115 + default: &119 value: id: ubuntu-20.04 platform: linux-x64 @@ -19300,7 +19130,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: - - *105 + - *63 responses: '200': description: Response @@ -19316,9 +19146,9 @@ paths: type: integer images: type: array - items: *114 + items: *118 examples: - default: *115 + default: *119 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19335,7 +19165,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: - - *105 + - *63 responses: '200': description: Response @@ -19388,7 +19218,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: - - *105 + - *63 responses: '200': description: Response @@ -19404,7 +19234,7 @@ paths: type: integer machine_specs: type: array - items: *116 + items: *120 examples: default: value: @@ -19429,7 +19259,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: - - *105 + - *63 responses: '200': description: Response @@ -19473,8 +19303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *105 - - &118 + - *63 + - &122 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -19486,11 +19316,11 @@ paths: description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: *117 + default: *121 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19508,8 +19338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *105 - - *118 + - *63 + - *122 requestBody: required: true content: @@ -19535,6 +19365,11 @@ 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 + nullable: true examples: default: value: @@ -19547,9 +19382,9 @@ paths: description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: *117 + default: *121 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19565,16 +19400,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *105 - - *118 + - *63 + - *122 responses: '202': description: Response content: application/json: - schema: *113 + schema: *112 examples: - default: *117 + default: *121 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -19594,13 +19429,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: - - *105 + - *63 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &119 + schema: &123 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -19614,7 +19449,7 @@ paths: required: - include_claim_keys examples: - default: &120 + default: &124 value: include_claim_keys: - repo @@ -19636,20 +19471,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: - - *105 + - *63 requestBody: required: true content: application/json: - schema: *119 + schema: *123 examples: - default: *120 + default: *124 responses: '201': description: Empty response content: application/json: - schema: &146 + schema: &150 title: Empty Object description: An object without any properties. type: object @@ -19679,7 +19514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -19688,7 +19523,7 @@ paths: schema: type: object properties: - enabled_repositories: &121 + enabled_repositories: &125 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -19701,7 +19536,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: &122 + allowed_actions: &126 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -19709,12 +19544,12 @@ paths: - all - local_only - selected - selected_actions_url: &350 + selected_actions_url: &345 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &123 + sha_pinning_required: &127 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -19745,7 +19580,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -19756,9 +19591,9 @@ paths: schema: type: object properties: - enabled_repositories: *121 - allowed_actions: *122 - sha_pinning_required: *123 + enabled_repositories: *125 + allowed_actions: *126 + sha_pinning_required: *127 required: - enabled_repositories examples: @@ -19786,13 +19621,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &354 + schema: &349 type: object properties: days: @@ -19829,12 +19664,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: application/json: - schema: &355 + schema: &350 type: object properties: days: @@ -19871,13 +19706,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &124 + schema: &128 type: object properties: approval_policy: @@ -19891,7 +19726,7 @@ paths: required: - approval_policy examples: - default: &356 + default: &351 value: approval_policy: first_time_contributors '404': *6 @@ -19912,7 +19747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -19922,7 +19757,7 @@ paths: required: true content: application/json: - schema: *124 + schema: *128 examples: default: summary: Set approval policy to first time contributors @@ -19944,13 +19779,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: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &357 + schema: &352 type: object required: - run_workflows_from_fork_pull_requests @@ -19976,7 +19811,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &125 + default: &129 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -19999,12 +19834,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: - - *105 + - *63 requestBody: required: true content: application/json: - schema: &358 + schema: &353 type: object required: - run_workflows_from_fork_pull_requests @@ -20027,7 +19862,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *125 + default: *129 responses: '204': description: Empty response for successful settings update @@ -20057,7 +19892,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: - - *105 + - *63 - *17 - *19 responses: @@ -20075,9 +19910,9 @@ paths: type: number repositories: type: array - items: *67 + items: *66 examples: - default: &129 + default: &133 value: total_count: 1 repositories: @@ -20217,7 +20052,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: - - *105 + - *63 responses: '204': description: Response @@ -20261,8 +20096,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: - - *105 - - &126 + - *63 + - &130 name: repository_id description: The unique identifier of the repository. in: path @@ -20290,8 +20125,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: - - *105 - - *126 + - *63 + - *130 responses: '204': description: Response @@ -20314,13 +20149,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &127 + schema: &131 type: object properties: github_owned_allowed: @@ -20342,7 +20177,7 @@ paths: items: type: string examples: - default: &128 + default: &132 value: github_owned_allowed: true verified_allowed: false @@ -20367,7 +20202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -20375,9 +20210,9 @@ paths: required: false content: application/json: - schema: *127 + schema: *131 examples: - selected_actions: *128 + selected_actions: *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20397,7 +20232,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -20445,7 +20280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -20492,7 +20327,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: - - *105 + - *63 - *17 - *19 responses: @@ -20507,9 +20342,9 @@ paths: type: integer repositories: type: array - items: *67 + items: *66 examples: - default: *129 + default: *133 '403': *29 '404': *6 x-github: @@ -20529,7 +20364,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: - - *105 + - *63 requestBody: required: true content: @@ -20577,8 +20412,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: - - *105 - - *126 + - *63 + - *130 responses: '204': description: No content @@ -20604,8 +20439,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: - - *105 - - *126 + - *63 + - *130 responses: '204': description: No content @@ -20633,23 +20468,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &359 + schema: &354 type: object properties: - default_workflow_permissions: &130 + default_workflow_permissions: &134 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &131 + can_approve_pull_request_reviews: &135 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -20657,7 +20492,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &132 + default: &136 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -20682,7 +20517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Success response @@ -20690,13 +20525,13 @@ paths: required: false content: application/json: - schema: &360 + schema: &355 type: object properties: - default_workflow_permissions: *130 - can_approve_pull_request_reviews: *131 + default_workflow_permissions: *134 + can_approve_pull_request_reviews: *135 examples: - default: *132 + default: *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20716,7 +20551,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: - - *105 + - *63 - *17 - *19 - name: visible_to_repository @@ -20741,7 +20576,7 @@ paths: type: number runner_groups: type: array - items: &133 + items: &137 type: object properties: id: @@ -20857,7 +20692,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: - - *105 + - *63 requestBody: required: true content: @@ -20929,9 +20764,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *137 examples: - default: &135 + default: &139 value: id: 2 name: octo-runner-group @@ -20966,8 +20801,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: - - *105 - - &134 + - *63 + - &138 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -20979,7 +20814,7 @@ paths: description: Response content: application/json: - schema: *133 + schema: *137 examples: default: value: @@ -21015,8 +20850,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: - - *105 - - *134 + - *63 + - *138 requestBody: required: true content: @@ -21070,9 +20905,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *137 examples: - default: *135 + default: *139 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21091,8 +20926,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: - - *105 - - *134 + - *63 + - *138 responses: '204': description: Response @@ -21115,8 +20950,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: - - *105 - - *134 + - *63 + - *138 - *17 - *19 responses: @@ -21134,11 +20969,11 @@ paths: type: number runners: type: array - items: *113 + items: *112 examples: - default: *136 + default: *140 headers: - Link: *58 + Link: *54 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21158,8 +20993,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: - - *105 - - *134 + - *63 + - *138 - *19 - *17 responses: @@ -21177,9 +21012,9 @@ paths: type: number repositories: type: array - items: *137 + items: *141 examples: - default: &658 + default: &661 value: total_count: 1 repositories: @@ -21431,8 +21266,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: - - *105 - - *134 + - *63 + - *138 requestBody: required: true content: @@ -21476,9 +21311,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: - - *105 - - *134 - - *126 + - *63 + - *138 + - *130 responses: '204': description: Response @@ -21500,9 +21335,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: - - *105 - - *134 - - *126 + - *63 + - *138 + - *130 responses: '204': description: Response @@ -21525,8 +21360,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: - - *105 - - *134 + - *63 + - *138 - *17 - *19 responses: @@ -21544,7 +21379,7 @@ paths: type: number runners: type: array - items: &139 + items: &143 title: Self hosted runners description: A self hosted runner type: object @@ -21573,7 +21408,7 @@ paths: type: boolean labels: type: array - items: &142 + items: &146 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -21603,7 +21438,7 @@ paths: - busy - labels examples: - default: &140 + default: &144 value: total_count: 2 runners: @@ -21643,7 +21478,7 @@ paths: name: no-gpu type: custom headers: - Link: *58 + Link: *54 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21662,8 +21497,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: - - *105 - - *134 + - *63 + - *138 requestBody: required: true content: @@ -21707,9 +21542,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: - - *105 - - *134 - - &138 + - *63 + - *138 + - &142 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -21737,9 +21572,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: - - *105 - - *134 + - *63 - *138 + - *142 responses: '204': description: Response @@ -21769,7 +21604,7 @@ paths: in: query schema: type: string - - *105 + - *63 - *17 - *19 responses: @@ -21787,11 +21622,11 @@ paths: type: integer runners: type: array - items: *139 + items: *143 examples: - default: *140 + default: *144 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21813,7 +21648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -21821,7 +21656,7 @@ paths: application/json: schema: type: array - items: &361 + items: &356 title: Runner Application description: Runner Application type: object @@ -21846,7 +21681,7 @@ paths: - download_url - filename examples: - default: &362 + default: &357 value: - os: osx architecture: x64 @@ -21889,7 +21724,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: - - *105 + - *63 requestBody: required: true content: @@ -21932,7 +21767,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &363 + '201': &358 description: Response content: application/json: @@ -21942,7 +21777,7 @@ paths: - runner - encoded_jit_config properties: - runner: *139 + runner: *143 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -21999,13 +21834,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *105 + - *63 responses: '201': description: Response content: application/json: - schema: &141 + schema: &145 title: Authentication Token description: Authentication Token type: object @@ -22027,7 +21862,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *67 + items: *66 single_file: type: string example: config.yaml @@ -22043,7 +21878,7 @@ paths: - token - expires_at examples: - default: &364 + default: &359 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22074,15 +21909,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *105 + - *63 responses: '201': description: Response content: application/json: - schema: *141 + schema: *145 examples: - default: &365 + default: &360 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22107,16 +21942,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: - - *105 - - *138 + - *63 + - *142 responses: '200': description: Response content: application/json: - schema: *139 + schema: *143 examples: - default: &366 + default: &361 value: id: 23 name: MBP @@ -22157,8 +21992,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: - - *105 - - *138 + - *63 + - *142 responses: '204': description: Response @@ -22184,10 +22019,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: - - *105 - - *138 + - *63 + - *142 responses: - '200': &143 + '200': &147 description: Response content: application/json: @@ -22201,7 +22036,7 @@ paths: type: integer labels: type: array - items: *142 + items: *146 examples: default: value: @@ -22240,8 +22075,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: - - *105 - - *138 + - *63 + - *142 requestBody: required: true content: @@ -22265,7 +22100,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *147 '404': *6 '422': *7 x-github: @@ -22289,8 +22124,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: - - *105 - - *138 + - *63 + - *142 requestBody: required: true content: @@ -22315,7 +22150,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *147 '404': *6 '422': *7 x-github: @@ -22339,10 +22174,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: - - *105 - - *138 + - *63 + - *142 responses: - '200': &367 + '200': &362 description: Response content: application/json: @@ -22356,7 +22191,7 @@ paths: type: integer labels: type: array - items: *142 + items: *146 examples: default: value: @@ -22397,9 +22232,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: - - *105 - - *138 - - &368 + - *63 + - *142 + - &363 name: name description: The name of a self-hosted runner's custom label. in: path @@ -22407,7 +22242,7 @@ paths: schema: type: string responses: - '200': *143 + '200': *147 '404': *6 '422': *7 x-github: @@ -22432,7 +22267,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *105 + - *63 - *17 - *19 responses: @@ -22450,7 +22285,7 @@ paths: type: integer secrets: type: array - items: &144 + items: &148 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -22500,7 +22335,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22523,13 +22358,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &380 + schema: &375 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22558,7 +22393,7 @@ paths: - key_id - key examples: - default: &381 + default: &376 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22583,8 +22418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *105 - - &145 + - *63 + - &149 name: secret_name description: The name of the secret. in: path @@ -22596,7 +22431,7 @@ paths: description: Response content: application/json: - schema: *144 + schema: *148 examples: default: value: @@ -22626,8 +22461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -22684,7 +22519,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -22710,8 +22545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 responses: '204': description: Response @@ -22737,8 +22572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - *19 - *17 responses: @@ -22756,9 +22591,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *141 examples: - default: &149 + default: &153 value: total_count: 1 repositories: @@ -22850,8 +22685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -22903,8 +22738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - name: repository_id in: path required: true @@ -22937,8 +22772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - name: repository_id in: path required: true @@ -22970,8 +22805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *105 - - &349 + - *63 + - &344 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -22995,7 +22830,7 @@ paths: type: integer variables: type: array - items: &147 + items: &151 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23059,7 +22894,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23080,7 +22915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *105 + - *63 requestBody: required: true content: @@ -23128,7 +22963,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -23153,8 +22988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *105 - - &148 + - *63 + - &152 name: name description: The name of the variable. in: path @@ -23166,7 +23001,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *151 examples: default: value: @@ -23196,8 +23031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *152 requestBody: required: true content: @@ -23259,8 +23094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *152 responses: '204': description: Response @@ -23286,8 +23121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *152 - *19 - *17 responses: @@ -23305,9 +23140,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *141 examples: - default: *149 + default: *153 '409': description: Response when the visibility of the variable is not set to `selected` @@ -23333,8 +23168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *152 requestBody: required: true content: @@ -23383,8 +23218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *152 - name: repository_id in: path required: true @@ -23418,8 +23253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *105 - - *148 + - *63 + - *152 - name: repository_id in: path required: true @@ -23450,7 +23285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *105 + - *63 requestBody: required: true content: @@ -23582,7 +23417,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *105 + - *63 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -23667,7 +23502,7 @@ paths: - *17 - *40 - *41 - - *105 + - *63 requestBody: required: true content: @@ -23690,12 +23525,12 @@ paths: required: - subject_digests examples: - default: &687 + default: &689 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &688 + withPredicateType: &690 value: subject_digests: - sha256:abc123 @@ -23753,7 +23588,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &689 + default: &691 value: attestations_subject_digests: - sha256:abc: @@ -23862,7 +23697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *105 + - *63 requestBody: required: true content: @@ -23927,7 +23762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *105 + - *63 - name: subject_digest description: Subject Digest in: path @@ -23946,6 +23781,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 + - *40 + - *41 + - *63 + - 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 @@ -23958,7 +23844,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *105 + - *63 - name: attestation_id description: Attestation ID in: path @@ -23996,7 +23882,7 @@ paths: - *17 - *40 - *41 - - *105 + - *63 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24049,7 +23935,7 @@ paths: initiator: type: string examples: - default: &394 + default: &389 value: attestations: - bundle: @@ -24156,7 +24042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -24168,7 +24054,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24187,8 +24073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: If the user is blocked @@ -24213,8 +24099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -24234,8 +24120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -24260,7 +24146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *105 + - *63 - *19 - *17 - *48 @@ -24268,7 +24154,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &150 + schema: &154 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -24294,7 +24180,7 @@ paths: application/json: schema: type: array - items: &151 + items: &155 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -24325,7 +24211,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &169 + items: &177 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -24400,7 +24286,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &225 + properties: &230 id: description: Unique identifier of the team type: integer @@ -24472,7 +24358,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &226 + required: &231 - id - node_id - url @@ -24515,7 +24401,7 @@ paths: type: string format: date-time nullable: true - state: *150 + state: *154 contact_link: description: The contact link of the campaign. type: string @@ -24610,9 +24496,9 @@ paths: closed_at: state: open headers: - Link: *58 + Link: *54 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24636,7 +24522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -24730,9 +24616,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *155 examples: - default: &152 + default: &156 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -24781,7 +24667,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24803,7 +24689,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *105 + - *63 - name: campaign_number description: The campaign number. in: path @@ -24815,16 +24701,16 @@ paths: description: Response content: application/json: - schema: *151 + schema: *155 examples: - default: *152 + default: *156 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24845,7 +24731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *105 + - *63 - name: campaign_number description: The campaign number. in: path @@ -24894,7 +24780,7 @@ paths: type: string format: uri nullable: true - state: *150 + state: *154 examples: default: value: @@ -24904,9 +24790,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *155 examples: - default: *152 + default: *156 '400': description: Bad Request content: @@ -24918,7 +24804,7 @@ paths: content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24939,7 +24825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *105 + - *63 - name: campaign_number description: The campaign number. in: path @@ -24950,7 +24836,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24972,18 +24858,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *105 - - &419 + - *63 + - &414 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: &156 + schema: &164 type: string description: The name of the tool used to generate the code scanning analysis. - - &420 + - &415 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 @@ -24991,7 +24877,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &157 + schema: &165 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -25006,7 +24892,7 @@ paths: be returned. in: query required: false - schema: &422 + schema: &417 type: string description: State of a code scanning alert. enum: @@ -25029,7 +24915,7 @@ paths: be returned. in: query required: false - schema: &423 + schema: &418 type: string description: Severity of a code scanning alert. enum: @@ -25050,18 +24936,18 @@ paths: items: type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: &424 + number: *157 + created_at: *158 + updated_at: *159 + url: *160 + html_url: *161 + instances_url: &419 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &158 + state: &166 type: string description: State of a code scanning alert. nullable: true @@ -25069,7 +24955,7 @@ paths: - open - dismissed - fixed - fixed_at: *154 + fixed_at: *162 dismissed_by: title: Simple User description: A GitHub user. @@ -25077,8 +24963,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *155 - dismissed_reason: &425 + dismissed_at: *163 + dismissed_reason: &420 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -25087,13 +24973,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &426 + dismissed_comment: &421 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &427 + rule: &422 type: object properties: id: @@ -25146,25 +25032,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &428 + tool: &423 type: object properties: - name: *156 + name: *164 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *157 - most_recent_instance: &429 + guid: *165 + most_recent_instance: &424 type: object properties: - ref: &421 + ref: &416 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &439 + analysis_key: &434 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25175,13 +25061,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &440 + category: &435 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: *158 + state: *166 commit_sha: type: string message: @@ -25475,9 +25361,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: *58 + Link: *54 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25499,7 +25385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *105 + - *63 - name: target_type in: query description: The target type of the code security configuration @@ -25610,7 +25496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *105 + - *63 requestBody: required: true content: @@ -25688,7 +25574,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *159 + code_scanning_options: *167 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -25831,7 +25717,7 @@ paths: application/json: schema: *43 examples: - default: *160 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25853,15 +25739,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: *161 + schema: *169 examples: - default: *162 + default: *170 '304': *37 '403': *29 '404': *6 @@ -25887,7 +25773,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *105 + - *63 requestBody: required: true content: @@ -25913,7 +25799,7 @@ paths: - 32 - 91 responses: - '204': *163 + '204': *171 '400': *14 '403': *29 '404': *6 @@ -25939,7 +25825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *105 + - *63 - *45 responses: '200': @@ -25948,7 +25834,7 @@ paths: application/json: schema: *43 examples: - default: *160 + default: *168 '304': *37 '403': *29 '404': *6 @@ -25972,7 +25858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *105 + - *63 - *45 requestBody: required: true @@ -26229,10 +26115,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *105 + - *63 - *45 responses: - '204': *163 + '204': *171 '400': *14 '403': *29 '404': *6 @@ -26260,7 +26146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *105 + - *63 - *45 requestBody: required: true @@ -26324,7 +26210,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: - - *105 + - *63 - *45 requestBody: required: true @@ -26370,7 +26256,7 @@ paths: default: value: default_for_new_repos: all - configuration: *160 + configuration: *168 '403': *29 '404': *6 x-github: @@ -26394,7 +26280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *105 + - *63 - *45 - name: per_page description: The number of results per page (max 100). For more information, @@ -26423,13 +26309,13 @@ paths: application/json: schema: type: array - items: *164 + items: *172 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *165 + repository: *173 '403': *29 '404': *6 x-github: @@ -26453,7 +26339,7 @@ paths: parameters: - *17 - *19 - - *105 + - *63 responses: '200': description: Response @@ -26469,7 +26355,7 @@ paths: type: integer codespaces: type: array - items: &214 + items: &220 type: object title: Codespace description: A codespace. @@ -26494,12 +26380,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *137 + repository: *141 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &452 + properties: &447 name: type: string description: The name of the machine. @@ -26541,7 +26427,7 @@ paths: - ready - in_progress nullable: true - required: &453 + required: &448 - name - display_name - operating_system @@ -26746,7 +26632,7 @@ paths: - pulls_url - recent_folders examples: - default: &215 + default: &221 value: total_count: 3 codespaces: @@ -27156,7 +27042,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -27178,7 +27064,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *105 + - *63 deprecated: true requestBody: required: true @@ -27222,7 +27108,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27245,7 +27131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *105 + - *63 deprecated: true requestBody: required: true @@ -27277,7 +27163,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27300,7 +27186,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *105 + - *63 requestBody: required: true content: @@ -27331,7 +27217,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27352,7 +27238,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *105 + - *63 - *17 - *19 responses: @@ -27370,7 +27256,7 @@ paths: type: integer secrets: type: array - items: &166 + items: &174 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -27409,7 +27295,7 @@ paths: - updated_at - visibility examples: - default: &454 + default: &449 value: total_count: 2 secrets: @@ -27422,7 +27308,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27441,13 +27327,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &455 + schema: &450 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27476,7 +27362,7 @@ paths: - key_id - key examples: - default: &456 + default: &451 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27499,23 +27385,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 responses: '200': description: Response content: application/json: - schema: *166 + schema: *174 examples: - default: &458 + default: &453 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -27535,8 +27421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -27591,7 +27477,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -27617,8 +27503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 responses: '204': description: Response @@ -27643,8 +27529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - *19 - *17 responses: @@ -27662,9 +27548,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *141 examples: - default: *149 + default: *153 '404': *6 x-github: githubCloudOnly: false @@ -27686,8 +27572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -27737,8 +27623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - name: repository_id in: path required: true @@ -27771,8 +27657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - name: repository_id in: path required: true @@ -27811,7 +27697,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: - - *105 + - *63 responses: '200': description: OK @@ -27920,7 +27806,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -27952,7 +27838,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: - - *105 + - *63 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -27975,7 +27861,7 @@ paths: currently being billed. seats: type: array - items: &217 + items: &223 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -27992,15 +27878,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *167 - required: *168 + properties: *175 + required: *176 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *169 - - *59 + - *177 + - *55 nullable: true pending_cancellation_date: type: string @@ -28124,8 +28010,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '500': *106 + Link: *54 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28158,7 +28044,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: - - *105 + - *63 requestBody: content: application/json: @@ -28200,7 +28086,7 @@ paths: default: value: seats_created: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28236,7 +28122,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: - - *105 + - *63 requestBody: content: application/json: @@ -28278,7 +28164,7 @@ paths: default: value: seats_cancelled: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28316,7 +28202,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: - - *105 + - *63 requestBody: content: application/json: @@ -28357,7 +28243,7 @@ paths: default: value: seats_created: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28393,7 +28279,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: - - *105 + - *63 requestBody: content: application/json: @@ -28435,7 +28321,7 @@ paths: default: value: seats_cancelled: 5 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -28474,7 +28360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *105 + - *63 - 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`). @@ -28506,7 +28392,7 @@ paths: application/json: schema: type: array - items: &312 + items: &307 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28813,7 +28699,7 @@ paths: - date additionalProperties: true examples: - default: &313 + default: &308 value: - date: '2024-06-24' total_active_users: 24 @@ -28912,10 +28798,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *106 + '500': *104 '403': *29 '404': *6 - '422': &314 + '422': &309 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28942,12 +28828,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *105 - - *170 - - *171 - - *172 - - *173 - - *174 + - *63 + - *178 + - *179 + - *180 + - *181 + - *182 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -28985,13 +28871,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *175 - - *176 + - *183 + - *184 - *48 - *40 - *41 - - *177 - - *178 - *17 responses: '200': @@ -29000,9 +28884,9 @@ paths: application/json: schema: type: array - items: *179 + items: *185 examples: - default: *180 + default: *186 '304': *37 '400': *14 '403': *29 @@ -29028,7 +28912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29046,7 +28930,7 @@ paths: type: integer secrets: type: array - items: &181 + items: &187 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29096,7 +28980,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29117,13 +29001,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &484 + schema: &479 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29140,7 +29024,7 @@ paths: - key_id - key examples: - default: &485 + default: &480 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29163,14 +29047,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 responses: '200': description: Response content: application/json: - schema: *181 + schema: *187 examples: default: value: @@ -29198,8 +29082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -29258,7 +29142,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -29282,8 +29166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 responses: '204': description: Response @@ -29307,8 +29191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - *19 - *17 responses: @@ -29326,9 +29210,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *141 examples: - default: *149 + default: *153 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29349,8 +29233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -29400,8 +29284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - name: repository_id in: path required: true @@ -29432,8 +29316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *105 - - *145 + - *63 + - *149 - name: repository_id in: path required: true @@ -29463,7 +29347,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: - - *105 + - *63 responses: '200': description: Response @@ -29471,7 +29355,7 @@ paths: application/json: schema: type: array - items: &228 + items: &233 title: Package description: A software package type: object @@ -29521,8 +29405,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *182 - required: *183 + properties: *188 + required: *189 nullable: true created_at: type: string @@ -29541,7 +29425,7 @@ paths: - created_at - updated_at examples: - default: &229 + default: &234 value: - id: 197 name: hello_docker @@ -29619,7 +29503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29629,7 +29513,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: 200-response: value: @@ -29701,7 +29585,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29711,7 +29595,7 @@ paths: application/json: schema: type: array - items: &206 + items: &212 title: Organization Invitation description: Organization Invitation type: object @@ -29758,7 +29642,7 @@ paths: - invitation_teams_url - node_id examples: - default: &207 + default: &213 value: - id: 1 login: monalisa @@ -29791,7 +29675,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -29815,7 +29699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *105 + - *63 - *17 - *19 responses: @@ -29825,7 +29709,7 @@ paths: application/json: schema: type: array - items: &184 + items: &190 title: Org Hook description: Org Hook type: object @@ -29913,7 +29797,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -29936,7 +29820,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *105 + - *63 requestBody: required: true content: @@ -29996,9 +29880,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *190 examples: - default: &185 + default: &191 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30045,8 +29929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *105 - - &186 + - *63 + - &192 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. @@ -30059,9 +29943,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *190 examples: - default: *185 + default: *191 '404': *6 x-github: githubCloudOnly: false @@ -30088,8 +29972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *192 requestBody: required: false content: @@ -30134,7 +30018,7 @@ paths: description: Response content: application/json: - schema: *184 + schema: *190 examples: default: value: @@ -30175,8 +30059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *192 responses: '204': description: Response @@ -30203,8 +30087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *105 - - *186 + - *63 + - *192 responses: '200': description: Response @@ -30234,8 +30118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *105 - - *186 + - *63 + - *192 requestBody: required: false content: @@ -30285,10 +30169,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *192 - *17 - - *187 + - *193 responses: '200': description: Response @@ -30296,9 +30180,9 @@ paths: application/json: schema: type: array - items: *188 + items: *194 examples: - default: *189 + default: *195 '400': *14 '422': *15 x-github: @@ -30323,17 +30207,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *192 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: *191 + default: *197 '400': *14 '422': *15 x-github: @@ -30358,8 +30242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *192 - *16 responses: '202': *39 @@ -30388,8 +30272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *105 - - *186 + - *63 + - *192 responses: '204': description: Response @@ -30411,8 +30295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *105 - - &196 + - *63 + - &202 name: actor_type in: path description: The type of the actor @@ -30425,14 +30309,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &197 + - &203 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &192 + - &198 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`.' @@ -30440,7 +30324,7 @@ paths: required: true schema: type: string - - &193 + - &199 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) @@ -30533,13 +30417,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *105 - - *192 - - *193 + - *63 + - *198 + - *199 - *19 - *17 - *48 - - &202 + - &208 name: sort description: The property to sort the results by. in: query @@ -30617,15 +30501,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *105 - - *192 - - *193 + - *63 + - *198 + - *199 responses: '200': description: Response content: application/json: - schema: &194 + schema: &200 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30641,7 +30525,7 @@ paths: type: integer format: int64 examples: - default: &195 + default: &201 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30661,24 +30545,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *105 - - &198 + - *63 + - &204 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *192 - - *193 + - *198 + - *199 responses: '200': description: Response content: application/json: - schema: *194 + schema: *200 examples: - default: *195 + default: *201 x-github: enabledForGitHubApps: true category: orgs @@ -30696,19 +30580,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *105 - - *192 - - *193 - - *196 - - *197 + - *63 + - *198 + - *199 + - *202 + - *203 responses: '200': description: Response content: application/json: - schema: *194 + schema: *200 examples: - default: *195 + default: *201 x-github: enabledForGitHubApps: true category: orgs @@ -30725,10 +30609,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *105 - - *192 - - *193 - - &199 + - *63 + - *198 + - *199 + - &205 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30741,7 +30625,7 @@ paths: description: Response content: application/json: - schema: &200 + schema: &206 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30757,7 +30641,7 @@ paths: type: integer format: int64 examples: - default: &201 + default: &207 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30793,19 +30677,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *105 + - *63 + - *204 - *198 - - *192 - - *193 - *199 + - *205 responses: '200': description: Response content: application/json: - schema: *200 + schema: *206 examples: - default: *201 + default: *207 x-github: enabledForGitHubApps: true category: orgs @@ -30822,20 +30706,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *105 - - *196 - - *197 - - *192 - - *193 + - *63 + - *202 + - *203 + - *198 - *199 + - *205 responses: '200': description: Response content: application/json: - schema: *200 + schema: *206 examples: - default: *201 + default: *207 x-github: enabledForGitHubApps: true category: orgs @@ -30852,14 +30736,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *105 + - *63 + - *204 - *198 - - *192 - - *193 + - *199 - *19 - *17 - *48 - - *202 + - *208 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30932,7 +30816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *105 + - *63 responses: '200': description: Response @@ -30940,7 +30824,7 @@ paths: application/json: schema: *22 examples: - default: &523 + default: &518 value: id: 1 account: @@ -31009,7 +30893,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -31079,7 +30963,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31098,7 +30982,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -31106,12 +30990,12 @@ paths: application/json: schema: anyOf: - - &204 + - &210 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &203 + limit: &209 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31136,7 +31020,7 @@ paths: properties: {} additionalProperties: false examples: - default: &205 + default: &211 value: limit: collaborators_only origin: organization @@ -31160,18 +31044,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: application/json: - schema: &524 + schema: &519 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *203 + limit: *209 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31195,9 +31079,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *205 + default: *211 '422': *15 x-github: githubCloudOnly: false @@ -31215,7 +31099,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -31239,7 +31123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *105 + - *63 - *17 - *19 - name: role @@ -31273,11 +31157,11 @@ paths: application/json: schema: type: array - items: *206 + items: *212 examples: - default: *207 + default: *213 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31298,7 +31182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *105 + - *63 requestBody: required: false content: @@ -31352,7 +31236,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *212 examples: default: value: @@ -31406,8 +31290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *105 - - &208 + - *63 + - &214 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31437,8 +31321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *105 - - *208 + - *63 + - *214 - *17 - *19 responses: @@ -31448,9 +31332,9 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: &227 + default: &232 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31466,7 +31350,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31485,7 +31369,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -31493,7 +31377,7 @@ paths: application/json: schema: type: array - items: *209 + items: *215 examples: default: value: @@ -31531,7 +31415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -31578,9 +31462,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *215 examples: - default: &210 + default: &216 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31612,8 +31496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *105 - - &211 + - *63 + - &217 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31666,9 +31550,9 @@ paths: description: Response content: application/json: - schema: *209 + schema: *215 examples: - default: *210 + default: *216 '404': *6 '422': *7 x-github: @@ -31692,8 +31576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *105 - - *211 + - *63 + - *217 responses: '204': description: Response @@ -31726,7 +31610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *105 + - *63 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -31756,7 +31640,7 @@ paths: - closed - all default: open - - *212 + - *218 - name: type description: Can be the name of an issue type. in: query @@ -31775,7 +31659,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - *17 - *19 responses: @@ -31785,11 +31669,11 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *213 + default: *219 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -31809,7 +31693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *105 + - *63 - 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) @@ -31847,9 +31731,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -31867,8 +31751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response if requester is an organization member and user is @@ -31902,8 +31786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -31929,8 +31813,8 @@ paths: parameters: - *17 - *19 - - *105 - *63 + - *59 responses: '200': description: Response @@ -31946,11 +31830,11 @@ paths: type: integer codespaces: type: array - items: *214 + items: *220 examples: - default: *215 + default: *221 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -31973,9 +31857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *105 - *63 - - &216 + - *59 + - &222 name: codespace_name in: path required: true @@ -31985,7 +31869,7 @@ paths: responses: '202': *39 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -32008,17 +31892,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *105 - *63 - - *216 + - *59 + - *222 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: &451 + default: &446 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32160,7 +32044,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -32191,14 +32075,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: - - *105 - *63 + - *59 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *217 + schema: *223 examples: default: value: @@ -32242,7 +32126,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -32267,14 +32151,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '200': description: Response content: application/json: - schema: &219 + schema: &224 title: Org Membership description: Org Membership type: object @@ -32318,7 +32202,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *218 + organization: *61 user: title: Simple User description: A GitHub user. @@ -32341,7 +32225,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &220 + response-if-user-has-an-active-admin-membership-with-organization: &225 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32409,8 +32293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 requestBody: required: false content: @@ -32438,9 +32322,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *224 examples: - response-if-user-already-had-membership-with-organization: *220 + response-if-user-already-had-membership-with-organization: *225 '422': *15 '403': *29 x-github: @@ -32464,8 +32348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -32490,7 +32374,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *105 + - *63 - *17 - *19 - name: exclude @@ -32511,7 +32395,7 @@ paths: application/json: schema: type: array - items: &221 + items: &226 title: Migration description: A migration. type: object @@ -32552,7 +32436,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *67 + items: *66 url: type: string format: uri @@ -32748,7 +32632,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -32764,7 +32648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *105 + - *63 requestBody: required: true content: @@ -32840,7 +32724,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *226 examples: default: value: @@ -33018,8 +32902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *105 - - &222 + - *63 + - &227 name: migration_id description: The unique identifier of the migration. in: path @@ -33046,7 +32930,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *221 + schema: *226 examples: default: value: @@ -33215,8 +33099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *105 - - *222 + - *63 + - *227 responses: '302': description: Response @@ -33237,8 +33121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *105 - - *222 + - *63 + - *227 responses: '204': description: Response @@ -33261,9 +33145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *105 - - *222 - - &671 + - *63 + - *227 + - &674 name: repo_name description: repo_name parameter in: path @@ -33290,8 +33174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *105 - - *222 + - *63 + - *227 - *17 - *19 responses: @@ -33301,9 +33185,9 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: &234 + default: &239 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33414,7 +33298,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -33440,7 +33324,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response - list of organization roles @@ -33456,7 +33340,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &224 + items: &229 title: Organization Role description: Organization roles type: object @@ -33603,8 +33487,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -33629,9 +33513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *105 - - *65 - - &223 + - *63 + - *64 + - &228 name: role_id description: The unique identifier of the role. in: path @@ -33666,9 +33550,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *105 - - *65 - - *223 + - *63 + - *64 + - *228 responses: '204': description: Response @@ -33693,8 +33577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -33719,9 +33603,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *105 - *63 - - *223 + - *59 + - *228 responses: '204': description: Response @@ -33751,9 +33635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *105 - *63 - - *223 + - *59 + - *228 responses: '204': description: Response @@ -33781,14 +33665,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *105 - - *223 + - *63 + - *228 responses: '200': description: Response content: application/json: - schema: *224 + schema: *229 examples: default: value: @@ -33838,8 +33722,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: - - *105 - - *223 + - *63 + - *228 - *17 - *19 responses: @@ -33917,8 +33801,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *230 + required: *231 nullable: true type: description: The ownership type of the team @@ -33950,9 +33834,9 @@ paths: - type - parent examples: - default: *227 + default: *232 headers: - Link: *58 + Link: *54 '404': description: Response if the organization or role does not exist. '422': @@ -33979,8 +33863,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: - - *105 - - *223 + - *63 + - *228 - *17 - *19 responses: @@ -34008,13 +33892,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &308 + items: &303 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *230 + required: *231 name: nullable: true type: string @@ -34109,9 +33993,9 @@ paths: - type - url examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': description: Response if the organization or role does not exist. '422': @@ -34133,7 +34017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *105 + - *63 - 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) @@ -34160,9 +34044,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34185,8 +34069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *105 - *63 + - *59 requestBody: required: false content: @@ -34243,8 +34127,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -34301,8 +34185,8 @@ paths: - docker - nuget - container - - *105 - - &673 + - *63 + - &675 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34338,12 +34222,12 @@ paths: application/json: schema: type: array - items: *228 + items: *233 examples: - default: *229 + default: *234 '403': *29 '401': *25 - '400': &675 + '400': &677 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34365,7 +34249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &230 + - &235 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 @@ -34383,20 +34267,20 @@ paths: - docker - nuget - container - - &231 + - &236 name: package_name description: The name of the package. in: path required: true schema: type: string - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: *228 + schema: *233 examples: default: value: @@ -34448,9 +34332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *230 - - *231 - - *105 + - *235 + - *236 + - *63 responses: '204': description: Response @@ -34482,9 +34366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *230 - - *231 - - *105 + - *235 + - *236 + - *63 - name: token description: package token schema: @@ -34516,9 +34400,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: - - *230 - - *231 - - *105 + - *235 + - *236 + - *63 - *19 - *17 - name: state @@ -34538,7 +34422,7 @@ paths: application/json: schema: type: array - items: &232 + items: &237 title: Package Version description: A version of a software package type: object @@ -34663,10 +34547,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *230 - - *231 - - *105 - - &233 + - *235 + - *236 + - *63 + - &238 name: package_version_id description: Unique identifier of the package version. in: path @@ -34678,7 +34562,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *237 examples: default: value: @@ -34714,10 +34598,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *230 - - *231 - - *105 - - *233 + - *235 + - *236 + - *63 + - *238 responses: '204': description: Response @@ -34749,10 +34633,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *230 - - *231 - - *105 - - *233 + - *235 + - *236 + - *63 + - *238 responses: '204': description: Response @@ -34779,10 +34663,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: - - *105 + - *63 - *17 - *19 - - &235 + - &240 name: sort description: The property by which to sort the results. in: query @@ -34793,7 +34677,7 @@ paths: - created_at default: created_at - *48 - - &236 + - &241 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34804,7 +34688,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &237 + - &242 name: repository description: The name of the repository to use to filter the results. in: query @@ -34812,7 +34696,7 @@ paths: schema: type: string example: Hello-World - - &238 + - &243 name: permission description: The permission to use to filter the results. in: query @@ -34820,7 +34704,7 @@ paths: schema: type: string example: issues_read - - &239 + - &244 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) @@ -34830,7 +34714,7 @@ paths: schema: type: string format: date-time - - &240 + - &245 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) @@ -34840,7 +34724,7 @@ paths: schema: type: string format: date-time - - &241 + - &246 name: token_id description: The ID of the token in: query @@ -34852,7 +34736,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -34984,7 +34868,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35004,7 +34888,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: - - *105 + - *63 requestBody: required: true content: @@ -35045,7 +34929,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -35070,7 +34954,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: - - *105 + - *63 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35106,11 +34990,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 - '204': *163 + '204': *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35131,7 +35015,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: - - *105 + - *63 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35142,7 +35026,7 @@ paths: - *17 - *19 responses: - '500': *106 + '500': *104 '404': *6 '403': *29 '200': @@ -35151,11 +35035,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35176,19 +35060,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: - - *105 + - *63 - *17 - *19 - - *235 - - *48 - - *236 - - *237 - - *238 - - *239 - *240 + - *48 - *241 + - *242 + - *243 + - *244 + - *245 + - *246 responses: - '500': *106 + '500': *104 '422': *15 '404': *6 '403': *29 @@ -35315,7 +35199,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35335,7 +35219,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: - - *105 + - *63 requestBody: required: true content: @@ -35370,7 +35254,7 @@ paths: - 1296269 - 1296280 responses: - '500': *106 + '500': *104 '404': *6 '202': *39 '403': *29 @@ -35395,7 +35279,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: - - *105 + - *63 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -35423,9 +35307,9 @@ paths: value: action: revoke responses: - '500': *106 + '500': *104 '404': *6 - '204': *163 + '204': *171 '403': *29 '422': *15 x-github: @@ -35447,7 +35331,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: - - *105 + - *63 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -35457,7 +35341,7 @@ paths: - *17 - *19 responses: - '500': *106 + '500': *104 '404': *6 '403': *29 '200': @@ -35466,11 +35350,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35492,7 +35376,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -35510,7 +35394,7 @@ paths: type: integer configurations: type: array - items: &242 + items: &247 title: Organization private registry description: Private registry configuration for an organization type: object @@ -35576,7 +35460,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *58 + Link: *54 '400': *14 '404': *6 x-github: @@ -35598,7 +35482,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -35763,7 +35647,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &243 + org-private-registry-with-selected-visibility: &248 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -35804,7 +35688,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: - - *105 + - *63 responses: '200': description: Response @@ -35830,7 +35714,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -35852,16 +35736,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *63 + - *149 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *242 + schema: *247 examples: - default: *243 + default: *248 '404': *6 x-github: githubCloudOnly: false @@ -35882,8 +35766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *63 + - *149 requestBody: required: true content: @@ -35978,8 +35862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *105 - - *145 + - *63 + - *149 responses: '204': description: Response @@ -36004,7 +35888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *105 + - *63 - name: state description: Indicates the state of the projects to return. in: query @@ -36025,7 +35909,7 @@ paths: application/json: schema: type: array - items: &244 + items: &249 title: Project description: Projects are a way to organize columns and cards of work. @@ -36149,7 +36033,7 @@ paths: organization_permission: write private: true headers: - Link: *58 + Link: *54 '422': *7 x-github: githubCloudOnly: false @@ -36172,7 +36056,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *105 + - *63 requestBody: required: true content: @@ -36198,7 +36082,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *249 examples: default: value: @@ -36236,7 +36120,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &336 + '410': &331 description: Gone content: application/json: @@ -36262,7 +36146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *105 + - *63 - name: q description: Limit results to projects of the specified type. in: query @@ -36279,7 +36163,7 @@ paths: application/json: schema: type: array - items: &245 + items: &250 title: Projects v2 Project description: A projects v2 project type: object @@ -36349,7 +36233,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &755 + properties: &757 id: type: number description: The unique identifier of the status update. @@ -36397,7 +36281,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &756 + required: &758 - id - node_id - created_at @@ -36422,7 +36306,7 @@ paths: - deleted_at - deleted_by examples: - default: &246 + default: &251 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36505,7 +36389,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36525,24 +36409,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &247 + - &252 name: project_number description: The project's number. in: path required: true schema: type: integer - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: *245 + schema: *250 examples: - default: *246 + default: *251 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36562,8 +36446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *247 - - *105 + - *252 + - *63 - *17 - *40 - *41 @@ -36574,7 +36458,7 @@ paths: application/json: schema: type: array - items: &248 + items: &253 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36721,7 +36605,7 @@ paths: - updated_at - project_url examples: - default: &249 + default: &254 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36744,7 +36628,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36764,25 +36648,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *247 - - &692 + - *252 + - &694 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: *248 + schema: *253 examples: - default: *249 + default: *254 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -36803,8 +36687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *247 - - *105 + - *252 + - *63 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -36813,16 +36697,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - *40 - *41 - *17 @@ -36833,7 +36720,7 @@ paths: application/json: schema: type: array - items: &255 + items: &260 title: Projects v2 Item description: An item belonging to a project type: object @@ -36849,7 +36736,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &253 + content_type: &258 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36899,7 +36786,7 @@ paths: - updated_at - archived_at examples: - default: &256 + default: &261 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37573,7 +37460,7 @@ paths: type: sub_issues_progress value: headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -37593,8 +37480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *105 - - *247 + - *63 + - *252 requestBody: required: true description: Details of the item to add to the project. @@ -37631,7 +37518,7 @@ paths: description: Response content: application/json: - schema: &693 + schema: &695 title: Projects v2 Item description: An item belonging to a project type: object @@ -37644,8 +37531,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *71 - - &466 + - *70 + - &461 title: Pull Request Simple description: Pull Request Simple type: object @@ -37751,8 +37638,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *255 + required: *256 nullable: true active_lock_reason: type: string @@ -37797,7 +37684,7 @@ paths: nullable: true requested_teams: type: array - items: *169 + items: *177 nullable: true head: type: object @@ -37806,7 +37693,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: @@ -37829,7 +37716,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: @@ -37848,7 +37735,7 @@ paths: _links: type: object properties: - comments: &252 + comments: &257 title: Link description: Hypermedia Link type: object @@ -37857,13 +37744,13 @@ paths: type: string required: - href - commits: *252 - statuses: *252 - html: *252 - issue: *252 - review_comments: *252 - review_comment: *252 - self: *252 + commits: *257 + statuses: *257 + html: *257 + issue: *257 + review_comments: *257 + review_comment: *257 + self: *257 required: - comments - commits @@ -37873,8 +37760,8 @@ paths: - review_comments - review_comment - self - author_association: *72 - auto_merge: &568 + author_association: *71 + auto_merge: &563 title: Auto merge description: The status of auto merging a pull request. type: object @@ -37976,7 +37863,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *253 + content_type: *258 creator: *4 created_at: type: string @@ -38009,7 +37896,7 @@ paths: - updated_at - archived_at examples: - issue: &254 + issue: &259 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -38064,7 +37951,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: *254 + pull_request: *259 '304': *37 '403': *29 '401': *25 @@ -38084,9 +37971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *247 - - *105 - - &257 + - *252 + - *63 + - &262 name: item_id description: The unique identifier of the project item. in: path @@ -38094,26 +37981,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *255 + schema: *260 examples: - default: *256 + default: *261 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -38132,9 +38022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *247 - - *105 - - *257 + - *252 + - *63 + - *262 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -38204,13 +38094,13 @@ paths: description: Response content: application/json: - schema: *255 + schema: *260 examples: - text_field: *256 - number_field: *256 - date_field: *256 - single_select_field: *256 - iteration_field: *256 + text_field: *261 + number_field: *261 + date_field: *261 + single_select_field: *261 + iteration_field: *261 '401': *25 '403': *29 '404': *6 @@ -38230,9 +38120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *247 - - *105 - - *257 + - *252 + - *63 + - *262 responses: '204': description: Response @@ -38256,7 +38146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response @@ -38264,7 +38154,7 @@ paths: application/json: schema: type: array - items: &258 + items: &263 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -38330,7 +38220,7 @@ paths: - property_name - value_type examples: - default: &259 + default: &264 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38378,7 +38268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *105 + - *63 requestBody: required: true content: @@ -38389,7 +38279,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *258 + items: *263 minItems: 1 maxItems: 100 required: @@ -38419,9 +38309,9 @@ paths: application/json: schema: type: array - items: *258 + items: *263 examples: - default: *259 + default: *264 '403': *29 '404': *6 x-github: @@ -38442,8 +38332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *105 - - &260 + - *63 + - &265 name: custom_property_name description: The custom property name in: path @@ -38455,9 +38345,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *263 examples: - default: &261 + default: &266 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38491,8 +38381,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: - - *105 - - *260 + - *63 + - *265 requestBody: required: true content: @@ -38561,9 +38451,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *263 examples: - default: *261 + default: *266 '403': *29 '404': *6 x-github: @@ -38586,10 +38476,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *105 - - *260 + - *63 + - *265 responses: - '204': *163 + '204': *171 '403': *29 '404': *6 x-github: @@ -38610,7 +38500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *105 + - *63 - *17 - *19 - name: repository_query @@ -38648,7 +38538,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &262 + items: &267 title: Custom Property Value description: Custom property name and associated value type: object @@ -38687,7 +38577,7 @@ paths: - property_name: team value: octocat headers: - Link: *58 + Link: *54 '403': *29 '404': *6 x-github: @@ -38715,7 +38605,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: - - *105 + - *63 requestBody: required: true content: @@ -38735,7 +38625,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *262 + items: *267 required: - repository_names - properties @@ -38776,7 +38666,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *105 + - *63 - *17 - *19 responses: @@ -38788,9 +38678,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38807,8 +38697,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response if user is a public member @@ -38832,8 +38722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -38854,8 +38744,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *105 - *63 + - *59 responses: '204': description: Response @@ -38879,7 +38769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *105 + - *63 - name: type description: Specifies the types of repositories you want returned. in: query @@ -38925,11 +38815,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38948,7 +38838,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *105 + - *63 requestBody: required: true content: @@ -39129,7 +39019,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &333 title: Full Repository description: Full Repository type: object @@ -39406,8 +39296,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *263 - required: *264 + properties: *268 + required: *269 nullable: true temp_clone_token: type: string @@ -39494,8 +39384,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true organization: title: Simple User @@ -39504,8 +39394,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *67 - source: *67 + parent: *66 + source: *66 forks: type: integer master_branch: @@ -39522,7 +39412,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &471 + properties: &466 url: type: string format: uri @@ -39538,12 +39428,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &472 + required: &467 - url - key - name - html_url - security_and_analysis: *265 + security_and_analysis: *270 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39627,7 +39517,7 @@ paths: - network_count - subscribers_count examples: - default: &340 + default: &335 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40145,10 +40035,10 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - *17 - *19 - - &591 + - &586 name: targets description: | A comma-separated list of rule targets to filter by. @@ -40166,7 +40056,7 @@ paths: application/json: schema: type: array - items: &291 + items: &296 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -40201,7 +40091,7 @@ paths: source: type: string description: The name of the source - enforcement: &268 + enforcement: &273 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -40214,7 +40104,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &269 + items: &274 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -40284,7 +40174,7 @@ paths: conditions: nullable: true anyOf: - - &266 + - &271 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -40308,7 +40198,7 @@ paths: match. items: type: string - - &270 + - &275 title: Organization ruleset conditions type: object description: |- @@ -40322,7 +40212,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *266 + - *271 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40356,7 +40246,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *266 + - *271 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40378,7 +40268,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *266 + - *271 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40391,7 +40281,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &267 + items: &272 title: Repository ruleset property targeting definition type: object @@ -40424,17 +40314,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *267 + items: *272 required: - repository_property rules: type: array - items: &592 + items: &587 title: Repository Rule type: object description: A repository rule. oneOf: - - &271 + - &276 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40446,7 +40336,7 @@ paths: type: string enum: - creation - - &272 + - &277 title: update description: Only allow users with bypass permission to update matching refs. @@ -40467,7 +40357,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &273 + - &278 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40479,7 +40369,7 @@ paths: type: string enum: - deletion - - &274 + - &279 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40491,7 +40381,7 @@ paths: type: string enum: - required_linear_history - - &589 + - &584 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40569,7 +40459,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &275 + - &280 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40593,7 +40483,7 @@ paths: type: string required: - required_deployment_environments - - &276 + - &281 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40605,7 +40495,7 @@ paths: type: string enum: - required_signatures - - &277 + - &282 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40667,7 +40557,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &278 + - &283 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40715,7 +40605,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &279 + - &284 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40727,7 +40617,7 @@ paths: type: string enum: - non_fast_forward - - &280 + - &285 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40763,7 +40653,7 @@ paths: required: - operator - pattern - - &281 + - &286 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40799,7 +40689,7 @@ paths: required: - operator - pattern - - &282 + - &287 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40835,7 +40725,7 @@ paths: required: - operator - pattern - - &283 + - &288 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40871,7 +40761,7 @@ paths: required: - operator - pattern - - &284 + - &289 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40907,7 +40797,7 @@ paths: required: - operator - pattern - - &285 + - &290 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40932,7 +40822,7 @@ paths: type: string required: - restricted_file_paths - - &286 + - &291 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40956,7 +40846,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &287 + - &292 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40979,7 +40869,7 @@ paths: type: string required: - restricted_file_extensions - - &288 + - &293 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -41004,7 +40894,7 @@ paths: maximum: 100 required: - max_file_size - - &289 + - &294 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -41054,7 +40944,7 @@ paths: - repository_id required: - workflows - - &290 + - &295 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -41115,7 +41005,7 @@ paths: - tool required: - code_scanning_tools - - &590 + - &585 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -41176,7 +41066,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -41192,7 +41082,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 requestBody: description: Request body required: true @@ -41213,25 +41103,20 @@ paths: - push - repository default: branch - enforcement: *268 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *274 + conditions: *275 rules: type: array description: An array of rules within the ruleset. - items: &293 + items: &298 title: Repository Rule type: object description: A repository rule. oneOf: - - *271 - - *272 - - *273 - - *274 - - *275 - *276 - *277 - *278 @@ -41247,6 +41132,11 @@ paths: - *288 - *289 - *290 + - *291 + - *292 + - *293 + - *294 + - *295 required: - name - enforcement @@ -41284,9 +41174,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *296 examples: - default: &292 + default: &297 value: id: 21 name: super cool ruleset @@ -41326,7 +41216,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -41340,8 +41230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *105 - - &593 + - *63 + - &588 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 @@ -41356,7 +41246,7 @@ paths: in: query schema: type: string - - &594 + - &589 name: time_period description: |- The time period to filter by. @@ -41372,14 +41262,14 @@ paths: - week - month default: day - - &595 + - &590 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 - - &596 + - &591 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41399,7 +41289,7 @@ paths: description: Response content: application/json: - schema: &597 + schema: &592 title: Rule Suites description: Response type: array @@ -41454,7 +41344,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &598 + default: &593 value: - id: 21 actor_id: 12 @@ -41478,7 +41368,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41497,8 +41387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *105 - - &599 + - *63 + - &594 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41514,7 +41404,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &595 title: Rule Suite description: Response type: object @@ -41613,7 +41503,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &601 + default: &596 value: id: 21 actor_id: 12 @@ -41648,7 +41538,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41674,7 +41564,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41686,11 +41576,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *296 examples: - default: *292 + default: *297 '404': *6 - '500': *106 + '500': *104 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -41706,7 +41596,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41732,16 +41622,16 @@ paths: - tag - push - repository - enforcement: *268 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *274 + conditions: *275 rules: description: An array of rules within the ruleset. type: array - items: *293 + items: *298 examples: default: value: @@ -41776,11 +41666,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *296 examples: - default: *292 + default: *297 '404': *6 - '500': *106 + '500': *104 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -41796,7 +41686,7 @@ paths: category: orgs subcategory: rules parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41807,7 +41697,7 @@ paths: '204': description: Response '404': *6 - '500': *106 + '500': *104 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -41819,7 +41709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *105 + - *63 - *17 - *19 - name: ruleset_id @@ -41835,7 +41725,7 @@ paths: application/json: schema: type: array - items: &294 + items: &299 title: Ruleset version type: object description: The historical version of a ruleset @@ -41859,7 +41749,7 @@ paths: type: string format: date-time examples: - default: &603 + default: &598 value: - version_id: 3 actor: @@ -41877,7 +41767,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41894,7 +41784,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *105 + - *63 - name: ruleset_id description: The ID of the ruleset. in: path @@ -41912,9 +41802,9 @@ paths: description: Response content: application/json: - schema: &604 + schema: &599 allOf: - - *294 + - *299 - type: object required: - state @@ -41961,7 +41851,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41983,15 +41873,53 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *105 - - *295 - - *296 - - *297 - - *298 + - *63 + - &600 + 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 + - &601 + 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 + - &602 + 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 + - &603 + 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 - *48 - *19 - *17 - - &605 + - &604 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 @@ -42001,7 +41929,7 @@ paths: required: false schema: type: string - - &606 + - &605 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 @@ -42011,10 +41939,42 @@ paths: required: false schema: type: string - - *299 - - *300 - - *301 - - *302 + - &606 + 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 + - &607 + 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 + - &608 + 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 + - &609 + 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 @@ -42022,13 +41982,593 @@ paths: application/json: schema: type: array - items: *303 + items: + type: object + properties: + number: *157 + created_at: *158 + updated_at: + 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 + nullable: true + url: *160 + html_url: *161 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &610 + 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: &611 + type: string + description: "**Required when the `state` is `resolved`.** The + reason for resolving the alert." + nullable: true + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + resolved_at: + type: string + format: date-time + description: 'The time that the alert was resolved in ISO 8601 + format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + resolved_by: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + 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: *53 + push_protection_bypassed: + type: boolean + description: Whether push protection was bypassed for the detected + secret. + nullable: true + push_protection_bypassed_by: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + push_protection_bypassed_at: + type: string + format: date-time + description: 'The time that push protection was bypassed in + ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + nullable: true + push_protection_bypass_request_reviewer: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true + push_protection_bypass_request_reviewer_comment: + type: string + description: An optional comment when reviewing a push protection + bypass. + nullable: true + push_protection_bypass_request_comment: + type: string + description: An optional comment when requesting a push protection + bypass. + nullable: true + push_protection_bypass_request_html_url: + type: string + format: uri + description: The URL to a push protection bypass request. + nullable: true + resolution_comment: + type: string + description: The comment that was optionally added when this + alert was closed + nullable: true + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: boolean + description: Whether the secret was publicly leaked. + nullable: true + multi_repo: + type: boolean + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + nullable: true + is_base64_encoded: + type: boolean + description: A boolean value representing whether or not alert + is base64 encoded + nullable: true + first_location_detected: + description: 'Details on the location where the token was initially + detected. This can be a commit, wiki commit, issue, discussion, + pull request. + + ' + oneOf: &612 + - &614 + 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 + example: "/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 + example: 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 + example: 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 + - &615 + 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 + example: "/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 + example: af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + example: https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + example: 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + example: 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 + - &616 + 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. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &617 + 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. + example: https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &618 + 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. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &619 + 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. + example: https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &620 + 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. + example: https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &621 + 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. + example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &622 + 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. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &623 + 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. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &624 + 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. + example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &625 + 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. + example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &626 + 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. + example: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + nullable: true + 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: + title: Simple User + description: A GitHub user. + type: object + properties: *20 + required: *21 + nullable: true examples: - default: *304 + 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: *58 + Link: *54 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42053,7 +42593,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *105 + - *63 responses: '200': description: Response @@ -42065,7 +42605,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &306 + pattern_config_version: &301 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -42074,7 +42614,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &305 + items: &300 type: object properties: token_type: @@ -42140,7 +42680,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *305 + items: *300 examples: default: value: @@ -42189,7 +42729,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *105 + - *63 requestBody: required: true content: @@ -42197,7 +42737,7 @@ paths: schema: type: object properties: - pattern_config_version: *306 + pattern_config_version: *301 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -42223,7 +42763,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *306 + custom_pattern_version: *301 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42277,7 +42817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *105 + - *63 - *48 - name: sort description: The property to sort the results by. @@ -42321,7 +42861,7 @@ paths: application/json: schema: type: array - items: &627 + items: &630 description: A repository security advisory. type: object properties: @@ -42541,7 +43081,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *302 credits_detailed: type: array nullable: true @@ -42551,7 +43091,7 @@ paths: type: object properties: user: *4 - type: *307 + type: *302 state: type: string description: The state of the user's acceptance of the @@ -42575,7 +43115,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *169 + items: *177 private_fork: readOnly: true nullable: true @@ -42612,7 +43152,7 @@ paths: - private_fork additionalProperties: false examples: - default: &628 + default: &631 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42991,7 +43531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *105 + - *63 responses: '200': description: Response @@ -42999,9 +43539,9 @@ paths: application/json: schema: type: array - items: *308 + items: *303 examples: - default: *227 + default: *232 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43024,8 +43564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -43050,8 +43590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -43080,13 +43620,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &694 + schema: &696 type: object properties: total_minutes_used: @@ -43156,7 +43696,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &695 + default: &697 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -43186,13 +43726,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &696 + schema: &698 type: object properties: total_gigabytes_bandwidth_used: @@ -43210,7 +43750,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &697 + default: &699 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -43236,13 +43776,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: &701 + schema: &703 type: object properties: days_left_in_billing_cycle: @@ -43260,7 +43800,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &702 + default: &704 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -43284,7 +43824,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *105 + - *63 responses: '200': description: Immutable releases settings response @@ -43333,7 +43873,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *105 + - *63 responses: '204': description: Response @@ -43390,7 +43930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *105 + - *63 - *19 - *17 responses: @@ -43408,9 +43948,9 @@ paths: type: integer repositories: type: array - items: *137 + items: *141 examples: - default: *149 + default: *153 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43429,7 +43969,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *105 + - *63 requestBody: required: true content: @@ -43478,8 +44018,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: - - *105 - - *126 + - *63 + - *130 responses: '204': description: Response @@ -43501,8 +44041,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: - - *105 - - *126 + - *63 + - *130 responses: '204': description: Response @@ -43525,7 +44065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *105 + - *63 - *17 - *19 responses: @@ -43543,7 +44083,7 @@ paths: type: integer network_configurations: type: array - items: &309 + items: &304 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43602,7 +44142,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43621,7 +44161,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: - - *105 + - *63 requestBody: required: true content: @@ -43663,9 +44203,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *304 examples: - default: &310 + default: &305 value: id: 123456789ABCDEF name: My network configuration @@ -43693,8 +44233,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: - - *105 - - &311 + - *63 + - &306 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43706,11 +44246,11 @@ paths: description: Response content: application/json: - schema: *309 + schema: *304 examples: - default: *310 + default: *305 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43729,8 +44269,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: - - *105 - - *311 + - *63 + - *306 requestBody: required: true content: @@ -43769,9 +44309,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *304 examples: - default: *310 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43790,8 +44330,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: - - *105 - - *311 + - *63 + - *306 responses: '204': description: Response @@ -43814,7 +44354,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: - - *105 + - *63 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -43868,7 +44408,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: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43898,8 +44438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *105 - - *65 + - *63 + - *64 - 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`). @@ -43931,13 +44471,13 @@ paths: application/json: schema: type: array - items: *312 + items: *307 examples: - default: *313 - '500': *106 + default: *308 + '500': *104 '403': *29 '404': *6 - '422': *314 + '422': *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43955,7 +44495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *105 + - *63 - *17 - *19 responses: @@ -43965,11 +44505,11 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: *227 + default: *232 headers: - Link: *58 + Link: *54 '403': *29 x-github: githubCloudOnly: false @@ -43989,7 +44529,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *105 + - *63 requestBody: required: true content: @@ -44061,7 +44601,7 @@ paths: description: Response content: application/json: - schema: &315 + schema: &310 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44124,8 +44664,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *225 - required: *226 + properties: *230 + required: *231 nullable: true members_count: type: integer @@ -44388,7 +44928,7 @@ paths: - repos_count - organization examples: - default: &316 + default: &311 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44458,16 +44998,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *105 - - *65 + - *63 + - *64 responses: '200': description: Response content: application/json: - schema: *315 + schema: *310 examples: - default: *316 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -44488,8 +45028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *105 - - *65 + - *63 + - *64 requestBody: required: false content: @@ -44551,16 +45091,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *310 examples: - default: *316 + default: *311 '201': description: Response content: application/json: - schema: *315 + schema: *310 examples: - default: *316 + default: *311 '404': *6 '422': *15 '403': *29 @@ -44585,8 +45125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *105 - - *65 + - *63 + - *64 responses: '204': description: Response @@ -44612,8 +45152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *105 - - *65 + - *63 + - *64 - *48 - *17 - *19 @@ -44630,7 +45170,7 @@ paths: application/json: schema: type: array - items: &317 + items: &312 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44709,7 +45249,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *73 + reactions: *72 required: - author - body @@ -44729,7 +45269,7 @@ paths: - updated_at - url examples: - default: &645 + default: &648 value: - author: login: octocat @@ -44779,7 +45319,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44803,8 +45343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *105 - - *65 + - *63 + - *64 requestBody: required: true content: @@ -44838,9 +45378,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: &318 + default: &313 value: author: login: octocat @@ -44912,9 +45452,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *105 - - *65 - - &319 + - *63 + - *64 + - &314 name: discussion_number description: The number that identifies the discussion. in: path @@ -44926,9 +45466,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: *318 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44950,9 +45490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *314 requestBody: required: false content: @@ -44975,9 +45515,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: &646 + default: &649 value: author: login: octocat @@ -45047,9 +45587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *314 responses: '204': description: Response @@ -45075,9 +45615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *314 - *48 - *17 - *19 @@ -45088,7 +45628,7 @@ paths: application/json: schema: type: array - items: &320 + items: &315 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45145,7 +45685,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *73 + reactions: *72 required: - author - body @@ -45160,7 +45700,7 @@ paths: - updated_at - url examples: - default: &647 + default: &650 value: - author: login: octocat @@ -45204,7 +45744,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45228,9 +45768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *314 requestBody: required: true content: @@ -45252,9 +45792,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *315 examples: - default: &321 + default: &316 value: author: login: octocat @@ -45320,10 +45860,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - &322 + - *63 + - *64 + - *314 + - &317 name: comment_number description: The number that identifies the comment. in: path @@ -45335,9 +45875,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *315 examples: - default: *321 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45359,10 +45899,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *314 + - *317 requestBody: required: true content: @@ -45384,9 +45924,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *315 examples: - default: &648 + default: &651 value: author: login: octocat @@ -45450,10 +45990,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *314 + - *317 responses: '204': description: Response @@ -45479,10 +46019,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *314 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -45508,7 +46048,7 @@ paths: application/json: schema: type: array - items: &323 + items: &318 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45551,7 +46091,7 @@ paths: - content - created_at examples: - default: &325 + default: &320 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45577,7 +46117,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45601,10 +46141,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *105 - - *65 - - *319 - - *322 + - *63 + - *64 + - *314 + - *317 requestBody: required: true content: @@ -45637,9 +46177,9 @@ paths: team discussion comment content: application/json: - schema: *323 + schema: *318 examples: - default: &324 + default: &319 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45668,9 +46208,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45693,11 +46233,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *105 - - *65 - - *319 - - *322 - - &326 + - *63 + - *64 + - *314 + - *317 + - &321 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45729,9 +46269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *314 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -45757,11 +46297,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45785,9 +46325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *105 - - *65 - - *319 + - *63 + - *64 + - *314 requestBody: required: true content: @@ -45819,16 +46359,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '201': description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45851,10 +46391,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *105 - - *65 - - *319 - - *326 + - *63 + - *64 + - *314 + - *321 responses: '204': description: Response @@ -45878,8 +46418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -45889,11 +46429,11 @@ paths: application/json: schema: type: array - items: *206 + items: *212 examples: - default: *207 + default: *213 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45913,8 +46453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *105 - - *65 + - *63 + - *64 - name: role description: Filters members returned by their role in the team. in: query @@ -45937,9 +46477,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45967,15 +46507,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *105 - - *65 - *63 + - *64 + - *59 responses: '200': description: Response content: application/json: - schema: &327 + schema: &322 title: Team Membership description: Team Membership type: object @@ -46002,7 +46542,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &649 + response-if-user-is-a-team-maintainer: &652 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46038,9 +46578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *105 - - *65 - *63 + - *64 + - *59 requestBody: required: false content: @@ -46065,9 +46605,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: &650 + response-if-users-membership-with-team-is-now-pending: &653 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46102,9 +46642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *105 - - *65 - *63 + - *64 + - *59 responses: '204': description: Response @@ -46129,8 +46669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -46140,7 +46680,7 @@ paths: application/json: schema: type: array - items: &328 + items: &323 title: Team Project description: A team's access to a project. type: object @@ -46208,7 +46748,7 @@ paths: - updated_at - permissions examples: - default: &651 + default: &654 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46248,7 +46788,7 @@ paths: write: true admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46271,9 +46811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *105 - - *65 - - &329 + - *63 + - *64 + - &324 name: project_id description: The unique identifier of the project. in: path @@ -46285,9 +46825,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *323 examples: - default: &652 + default: &655 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46349,9 +46889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *105 - - *65 - - *329 + - *63 + - *64 + - *324 requestBody: required: false content: @@ -46417,9 +46957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *105 - - *65 - - *329 + - *63 + - *64 + - *324 responses: '204': description: Response @@ -46446,8 +46986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -46457,11 +46997,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46488,16 +47028,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *105 - - *65 - - *330 - - *331 + - *63 + - *64 + - *325 + - *326 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &653 + schema: &656 title: Team Repository description: A team's access to a repository. type: object @@ -46520,8 +47060,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true forks: type: integer @@ -47066,10 +47606,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *105 - - *65 - - *330 - - *331 + - *63 + - *64 + - *325 + - *326 requestBody: required: false content: @@ -47114,10 +47654,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *105 - - *65 - - *330 - - *331 + - *63 + - *64 + - *325 + - *326 responses: '204': description: Response @@ -47141,8 +47681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *105 - - *65 + - *63 + - *64 - *17 - *19 responses: @@ -47152,9 +47692,9 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - response-if-child-teams-exist: &654 + response-if-child-teams-exist: &657 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47182,7 +47722,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47207,7 +47747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *105 + - *63 - name: security_product in: path description: The security feature to enable or disable. @@ -47281,7 +47821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &332 + - &327 name: column_id description: The unique identifier of the column. in: path @@ -47293,7 +47833,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &328 title: Project Column description: Project columns contain cards of work. type: object @@ -47339,7 +47879,7 @@ paths: - created_at - updated_at examples: - default: &334 + default: &329 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47374,7 +47914,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *332 + - *327 requestBody: required: true content: @@ -47398,9 +47938,9 @@ paths: description: Response content: application/json: - schema: *333 + schema: *328 examples: - default: *334 + default: *329 '304': *37 '403': *29 '401': *25 @@ -47425,7 +47965,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *332 + - *327 responses: '204': description: Response @@ -47454,7 +47994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *332 + - *327 requestBody: required: true content: @@ -47514,15 +48054,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *329 + - *324 responses: '200': description: Response content: application/json: - schema: *244 + schema: *249 examples: - default: &335 + default: &330 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47579,7 +48119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *329 + - *324 requestBody: required: false content: @@ -47625,9 +48165,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *249 examples: - default: *335 + default: *330 '404': description: Not Found if the authenticated user does not have access to the project @@ -47648,7 +48188,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *331 '422': *7 x-github: githubCloudOnly: false @@ -47671,7 +48211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *329 + - *324 responses: '204': description: Delete Success @@ -47692,7 +48232,7 @@ paths: items: type: string '401': *25 - '410': *336 + '410': *331 '404': *6 x-github: githubCloudOnly: false @@ -47716,7 +48256,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *329 + - *324 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -47743,9 +48283,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 '422': *15 '304': *37 @@ -47773,8 +48313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *329 - - *63 + - *324 + - *59 requestBody: required: false content: @@ -47826,8 +48366,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *329 - - *63 + - *324 + - *59 responses: '204': description: Response @@ -47858,8 +48398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *329 - - *63 + - *324 + - *59 responses: '200': description: Response @@ -47932,7 +48472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *329 + - *324 - *17 - *19 responses: @@ -47942,7 +48482,7 @@ paths: application/json: schema: type: array - items: *333 + items: *328 examples: default: value: @@ -47955,7 +48495,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -47980,7 +48520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *329 + - *324 requestBody: required: true content: @@ -48003,7 +48543,7 @@ paths: description: Response content: application/json: - schema: *333 + schema: *328 examples: default: value: @@ -48068,7 +48608,7 @@ paths: resources: type: object properties: - core: &337 + core: &332 title: Rate Limit type: object properties: @@ -48085,21 +48625,21 @@ paths: - remaining - reset - used - graphql: *337 - search: *337 - code_search: *337 - source_import: *337 - integration_manifest: *337 - code_scanning_upload: *337 - actions_runner_registration: *337 - scim: *337 - dependency_snapshots: *337 - dependency_sbom: *337 - code_scanning_autofix: *337 + graphql: *332 + search: *332 + code_search: *332 + source_import: *332 + integration_manifest: *332 + code_scanning_upload: *332 + actions_runner_registration: *332 + scim: *332 + dependency_snapshots: *332 + dependency_sbom: *332 + code_scanning_autofix: *332 required: - core - search - rate: *337 + rate: *332 required: - rate - resources @@ -48204,14 +48744,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *338 + schema: *333 examples: default-response: summary: Default response @@ -48712,7 +49252,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *339 + '301': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48730,8 +49270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: false content: @@ -48978,10 +49518,10 @@ paths: description: Response content: application/json: - schema: *338 + schema: *333 examples: - default: *340 - '307': &341 + default: *335 + '307': &336 description: Temporary Redirect content: application/json: @@ -49010,8 +49550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -49033,7 +49573,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *341 + '307': *336 '404': *6 '409': *47 x-github: @@ -49057,11 +49597,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 - - &372 + - &367 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -49084,7 +49624,7 @@ paths: type: integer artifacts: type: array - items: &342 + items: &337 title: Artifact description: An artifact type: object @@ -49162,7 +49702,7 @@ paths: - expires_at - updated_at examples: - default: &373 + default: &368 value: total_count: 2 artifacts: @@ -49201,7 +49741,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49223,9 +49763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *330 - - *331 - - &343 + - *325 + - *326 + - &338 name: artifact_id description: The unique identifier of the artifact. in: path @@ -49237,7 +49777,7 @@ paths: description: Response content: application/json: - schema: *342 + schema: *337 examples: default: value: @@ -49275,9 +49815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *330 - - *331 - - *343 + - *325 + - *326 + - *338 responses: '204': description: Response @@ -49301,9 +49841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *330 - - *331 - - *343 + - *325 + - *326 + - *338 - name: archive_format in: path required: true @@ -49317,7 +49857,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': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49340,14 +49880,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *344 + schema: *339 examples: default: value: @@ -49373,11 +49913,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 - - &345 + - &340 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -49411,7 +49951,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &341 title: Repository actions caches description: Repository actions caches type: object @@ -49453,7 +49993,7 @@ paths: - total_count - actions_caches examples: - default: &347 + default: &342 value: total_count: 1 actions_caches: @@ -49465,7 +50005,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49485,23 +50025,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: - - *330 - - *331 + - *325 + - *326 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *345 + - *340 responses: '200': description: Response content: application/json: - schema: *346 + schema: *341 examples: - default: *347 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49521,8 +50061,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: - - *330 - - *331 + - *325 + - *326 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49553,9 +50093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *330 - - *331 - - &348 + - *325 + - *326 + - &343 name: job_id description: The unique identifier of the job. in: path @@ -49567,7 +50107,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &371 title: Job description: Information of a job execution in a workflow run type: object @@ -49874,9 +50414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *330 - - *331 - - *348 + - *325 + - *326 + - *343 responses: '302': description: Response @@ -49904,9 +50444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *330 - - *331 - - *348 + - *325 + - *326 + - *343 requestBody: required: false content: @@ -49927,7 +50467,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -49951,8 +50491,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Status response @@ -50002,8 +50542,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -50037,7 +50577,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -50066,8 +50606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -50085,7 +50625,7 @@ paths: type: integer secrets: type: array - items: &378 + items: &373 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -50105,7 +50645,7 @@ paths: - created_at - updated_at examples: - default: &379 + default: &374 value: total_count: 2 secrets: @@ -50116,7 +50656,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50138,9 +50678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *330 - - *331 - - *349 + - *325 + - *326 + - *344 - *19 responses: '200': @@ -50157,7 +50697,7 @@ paths: type: integer variables: type: array - items: &382 + items: &377 title: Actions Variable type: object properties: @@ -50187,7 +50727,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &378 value: total_count: 2 variables: @@ -50200,7 +50740,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50220,8 +50760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -50230,12 +50770,12 @@ paths: schema: type: object properties: - enabled: &351 + enabled: &346 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *122 - selected_actions_url: *350 - sha_pinning_required: *123 + allowed_actions: *126 + selected_actions_url: *345 + sha_pinning_required: *127 required: - enabled examples: @@ -50263,8 +50803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -50275,9 +50815,9 @@ paths: schema: type: object properties: - enabled: *351 - allowed_actions: *122 - sha_pinning_required: *123 + enabled: *346 + allowed_actions: *126 + sha_pinning_required: *127 required: - enabled examples: @@ -50307,14 +50847,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &352 + schema: &347 type: object properties: access_level: @@ -50331,7 +50871,7 @@ paths: required: - access_level examples: - default: &353 + default: &348 value: access_level: organization x-github: @@ -50355,15 +50895,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: application/json: - schema: *352 + schema: *347 examples: - default: *353 + default: *348 responses: '204': description: Response @@ -50387,14 +50927,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *354 + schema: *349 examples: default: value: @@ -50418,8 +50958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Empty response for successful settings update @@ -50429,7 +50969,7 @@ paths: required: true content: application/json: - schema: *355 + schema: *350 examples: default: summary: Set retention days @@ -50453,16 +50993,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *124 + schema: *128 examples: - default: *356 + default: *351 '404': *6 x-github: enabledForGitHubApps: true @@ -50481,8 +51021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -50492,7 +51032,7 @@ paths: required: true content: application/json: - schema: *124 + schema: *128 examples: default: summary: Set approval policy to first time contributors @@ -50516,16 +51056,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *357 + schema: *352 examples: - default: *125 + default: *129 '403': *29 '404': *6 x-github: @@ -50545,15 +51085,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: application/json: - schema: *358 + schema: *353 examples: - default: *125 + default: *129 responses: '204': description: Empty response for successful settings update @@ -50577,16 +51117,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *127 + schema: *131 examples: - default: *128 + default: *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50605,8 +51145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -50614,9 +51154,9 @@ paths: required: false content: application/json: - schema: *127 + schema: *131 examples: - selected_actions: *128 + selected_actions: *132 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50638,16 +51178,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *359 + schema: *354 examples: - default: *132 + default: *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50668,8 +51208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Success response @@ -50680,9 +51220,9 @@ paths: required: true content: application/json: - schema: *360 + schema: *355 examples: - default: *132 + default: *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50709,8 +51249,8 @@ paths: in: query schema: type: string - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -50728,11 +51268,11 @@ paths: type: integer runners: type: array - items: *139 + items: *143 examples: - default: *140 + default: *144 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50754,8 +51294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -50763,9 +51303,9 @@ paths: application/json: schema: type: array - items: *361 + items: *356 examples: - default: *362 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50787,8 +51327,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -50831,7 +51371,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *363 + '201': *358 '404': *6 '422': *7 '409': *47 @@ -50862,16 +51402,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '201': description: Response content: application/json: - schema: *141 + schema: *145 examples: - default: *364 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50899,16 +51439,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '201': description: Response content: application/json: - schema: *141 + schema: *145 examples: - default: *365 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50930,17 +51470,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: - - *330 - - *331 - - *138 + - *325 + - *326 + - *142 responses: '200': description: Response content: application/json: - schema: *139 + schema: *143 examples: - default: *366 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50961,9 +51501,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: - - *330 - - *331 - - *138 + - *325 + - *326 + - *142 responses: '204': description: Response @@ -50989,11 +51529,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: - - *330 - - *331 - - *138 + - *325 + - *326 + - *142 responses: - '200': *143 + '200': *147 '404': *6 x-github: githubCloudOnly: false @@ -51015,9 +51555,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: - - *330 - - *331 - - *138 + - *325 + - *326 + - *142 requestBody: required: true content: @@ -51041,7 +51581,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *147 '404': *6 '422': *7 x-github: @@ -51065,9 +51605,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: - - *330 - - *331 - - *138 + - *325 + - *326 + - *142 requestBody: required: true content: @@ -51092,7 +51632,7 @@ paths: - gpu - accelerated responses: - '200': *143 + '200': *147 '404': *6 '422': *7 x-github: @@ -51116,11 +51656,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: - - *330 - - *331 - - *138 + - *325 + - *326 + - *142 responses: - '200': *367 + '200': *362 '404': *6 x-github: githubCloudOnly: false @@ -51147,12 +51687,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: - - *330 - - *331 - - *138 - - *368 + - *325 + - *326 + - *142 + - *363 responses: - '200': *143 + '200': *147 '404': *6 '422': *7 x-github: @@ -51178,9 +51718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *330 - - *331 - - &386 + - *325 + - *326 + - &381 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -51188,7 +51728,7 @@ paths: required: false schema: type: string - - &387 + - &382 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -51196,7 +51736,7 @@ paths: required: false schema: type: string - - &388 + - &383 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -51205,7 +51745,7 @@ paths: required: false schema: type: string - - &389 + - &384 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -51232,7 +51772,7 @@ paths: - pending - *17 - *19 - - &390 + - &385 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -51241,7 +51781,7 @@ paths: schema: type: string format: date-time - - &369 + - &364 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -51250,13 +51790,13 @@ paths: schema: type: boolean default: false - - &391 + - &386 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &392 + - &387 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51279,7 +51819,7 @@ paths: type: integer workflow_runs: type: array - items: &370 + items: &365 title: Workflow Run description: An invocation of a workflow type: object @@ -51374,7 +51914,7 @@ paths: that triggered the run. type: array nullable: true - items: *76 + items: *75 created_at: type: string format: date-time @@ -51427,7 +51967,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &414 + properties: &409 id: type: string description: SHA for the commit @@ -51478,7 +52018,7 @@ paths: - name - email nullable: true - required: &415 + required: &410 - id - tree_id - message @@ -51486,8 +52026,8 @@ paths: - author - committer nullable: true - repository: *137 - head_repository: *137 + repository: *141 + head_repository: *141 head_repository_id: type: integer example: 5 @@ -51525,7 +52065,7 @@ paths: - workflow_url - pull_requests examples: - default: &393 + default: &388 value: total_count: 1 workflow_runs: @@ -51739,7 +52279,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: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51761,24 +52301,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *330 - - *331 - - &371 + - *325 + - *326 + - &366 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *369 + - *364 responses: '200': description: Response content: application/json: - schema: *370 + schema: *365 examples: - default: &374 + default: &369 value: id: 30433642 name: Build @@ -52019,9 +52559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '204': description: Response @@ -52044,9 +52584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '200': description: Response @@ -52165,15 +52705,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: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '201': description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -52200,12 +52740,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 - *17 - *19 - - *372 + - *367 responses: '200': description: Response @@ -52221,11 +52761,11 @@ paths: type: integer artifacts: type: array - items: *342 + items: *337 examples: - default: *373 + default: *368 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52247,25 +52787,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *330 - - *331 - - *371 - - &375 + - *325 + - *326 + - *366 + - &370 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *369 + - *364 responses: '200': description: Response content: application/json: - schema: *370 + schema: *365 examples: - default: *374 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52288,10 +52828,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *330 - - *331 - - *371 - - *375 + - *325 + - *326 + - *366 + - *370 - *17 - *19 responses: @@ -52309,9 +52849,9 @@ paths: type: integer jobs: type: array - items: *376 + items: *371 examples: - default: &377 + default: &372 value: total_count: 1 jobs: @@ -52400,7 +52940,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -52424,10 +52964,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *330 - - *331 - - *371 - - *375 + - *325 + - *326 + - *366 + - *370 responses: '302': description: Response @@ -52455,15 +52995,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '202': description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -52490,9 +53030,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: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 requestBody: required: true content: @@ -52559,15 +53099,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '202': description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -52594,9 +53134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -52626,11 +53166,11 @@ paths: type: integer jobs: type: array - items: *376 + items: *371 examples: - default: *377 + default: *372 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52653,9 +53193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '302': description: Response @@ -52682,14 +53222,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '204': description: Response '403': *29 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52711,9 +53251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '200': description: Response @@ -52773,7 +53313,7 @@ paths: items: type: object properties: - type: &493 + type: &488 type: string description: The type of reviewer. enum: @@ -52783,7 +53323,7 @@ paths: reviewer: anyOf: - *4 - - *169 + - *177 required: - environment - wait_timer @@ -52858,9 +53398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 requestBody: required: true content: @@ -52907,7 +53447,7 @@ paths: application/json: schema: type: array - items: &488 + items: &483 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52995,8 +53535,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -53013,7 +53553,7 @@ paths: - created_at - updated_at examples: - default: &489 + default: &484 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -53069,9 +53609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 requestBody: required: false content: @@ -53092,7 +53632,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -53115,9 +53655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 requestBody: required: false content: @@ -53138,7 +53678,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -53170,9 +53710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *330 - - *331 - - *371 + - *325 + - *326 + - *366 responses: '200': description: Response @@ -53309,8 +53849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -53328,11 +53868,11 @@ paths: type: integer secrets: type: array - items: *378 + items: *373 examples: - default: *379 + default: *374 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53355,16 +53895,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *380 + schema: *375 examples: - default: *381 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53386,17 +53926,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 responses: '200': description: Response content: application/json: - schema: *378 + schema: *373 examples: - default: &506 + default: &501 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53422,9 +53962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 requestBody: required: true content: @@ -53455,7 +53995,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -53481,9 +54021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 responses: '204': description: Response @@ -53508,9 +54048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *330 - - *331 - - *349 + - *325 + - *326 + - *344 - *19 responses: '200': @@ -53527,11 +54067,11 @@ paths: type: integer variables: type: array - items: *382 + items: *377 examples: - default: *383 + default: *378 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53552,8 +54092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -53580,7 +54120,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -53605,17 +54145,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *325 + - *326 + - *152 responses: '200': description: Response content: application/json: - schema: *382 + schema: *377 examples: - default: &507 + default: &502 value: name: USERNAME value: octocat @@ -53641,9 +54181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *325 + - *326 + - *152 requestBody: required: true content: @@ -53685,9 +54225,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *330 - - *331 - - *148 + - *325 + - *326 + - *152 responses: '204': description: Response @@ -53712,8 +54252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -53731,7 +54271,7 @@ paths: type: integer workflows: type: array - items: &384 + items: &379 title: Workflow description: A GitHub Actions workflow type: object @@ -53815,7 +54355,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: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53838,9 +54378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *330 - - *331 - - &385 + - *325 + - *326 + - &380 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53855,7 +54395,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *379 examples: default: value: @@ -53888,9 +54428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *330 - - *331 - - *385 + - *325 + - *326 + - *380 responses: '204': description: Response @@ -53915,9 +54455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *330 - - *331 - - *385 + - *325 + - *326 + - *380 responses: '204': description: Response @@ -53968,9 +54508,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *330 - - *331 - - *385 + - *325 + - *326 + - *380 responses: '204': description: Response @@ -53997,19 +54537,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *330 - - *331 + - *325 + - *326 + - *380 + - *381 + - *382 + - *383 + - *384 + - *17 + - *19 - *385 + - *364 - *386 - *387 - - *388 - - *389 - - *17 - - *19 - - *390 - - *369 - - *391 - - *392 responses: '200': description: Response @@ -54025,11 +54565,11 @@ paths: type: integer workflow_runs: type: array - items: *370 + items: *365 examples: - default: *393 + default: *388 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54059,9 +54599,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *330 - - *331 - - *385 + - *325 + - *326 + - *380 responses: '200': description: Response @@ -54122,8 +54662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *330 - - *331 + - *325 + - *326 - *48 - *17 - *40 @@ -54268,7 +54808,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '422': *7 x-github: githubCloudOnly: false @@ -54287,8 +54827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -54300,9 +54840,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -54325,8 +54865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *330 - - *331 + - *325 + - *326 - name: assignee in: path required: true @@ -54362,8 +54902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -54475,8 +55015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *40 - *41 @@ -54532,7 +55072,7 @@ paths: initiator: type: string examples: - default: *394 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54552,8 +55092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -54561,7 +55101,7 @@ paths: application/json: schema: type: array - items: &395 + items: &390 title: Autolink reference description: An autolink reference. type: object @@ -54615,8 +55155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -54655,9 +55195,9 @@ paths: description: response content: application/json: - schema: *395 + schema: *390 examples: - default: &396 + default: &391 value: id: 1 key_prefix: TICKET- @@ -54688,9 +55228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *330 - - *331 - - &397 + - *325 + - *326 + - &392 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54702,9 +55242,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *390 examples: - default: *396 + default: *391 '404': *6 x-github: githubCloudOnly: false @@ -54724,9 +55264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *330 - - *331 - - *397 + - *325 + - *326 + - *392 responses: '204': description: Response @@ -54750,8 +55290,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response if Dependabot is enabled @@ -54799,8 +55339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -54821,8 +55361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -54842,8 +55382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *330 - - *331 + - *325 + - *326 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54881,7 +55421,7 @@ paths: - url protected: type: boolean - protection: &399 + protection: &394 title: Branch Protection description: Branch Protection type: object @@ -54923,7 +55463,7 @@ paths: required: - contexts - checks - enforce_admins: &402 + enforce_admins: &397 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54938,7 +55478,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &404 + required_pull_request_reviews: &399 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54959,7 +55499,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *169 + items: *177 apps: description: The list of apps with review dismissal access. @@ -54988,7 +55528,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *169 + items: *177 apps: description: The list of apps allowed to bypass pull request requirements. @@ -55014,7 +55554,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &401 + restrictions: &396 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55077,7 +55617,7 @@ paths: type: string teams: type: array - items: *169 + items: *177 apps: type: array items: @@ -55273,7 +55813,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -55291,9 +55831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *330 - - *331 - - &400 + - *325 + - *326 + - &395 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -55307,14 +55847,14 @@ paths: description: Response content: application/json: - schema: &410 + schema: &405 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &457 title: Commit description: Commit type: object @@ -55348,7 +55888,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &398 + properties: &393 name: type: string example: '"Chris Wanstrath"' @@ -55363,7 +55903,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *393 nullable: true message: type: string @@ -55384,7 +55924,7 @@ paths: required: - sha - url - verification: &513 + verification: &508 title: Verification type: object properties: @@ -55418,12 +55958,12 @@ paths: nullable: true oneOf: - *4 - - *146 + - *150 committer: nullable: true oneOf: - *4 - - *146 + - *150 parents: type: array items: @@ -55454,7 +55994,7 @@ paths: type: integer files: type: array - items: &475 + items: &470 title: Diff Entry description: Diff Entry type: object @@ -55538,7 +56078,7 @@ paths: - self protected: type: boolean - protection: *399 + protection: *394 protection_url: type: string format: uri @@ -55645,7 +56185,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *339 + '301': *334 '404': *6 x-github: githubCloudOnly: false @@ -55667,15 +56207,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *399 + schema: *394 examples: default: value: @@ -55869,9 +56409,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -56126,7 +56666,7 @@ paths: url: type: string format: uri - required_status_checks: &407 + required_status_checks: &402 title: Status Check Policy description: Status Check Policy type: object @@ -56202,7 +56742,7 @@ paths: items: *4 teams: type: array - items: *169 + items: *177 apps: type: array items: *5 @@ -56220,7 +56760,7 @@ paths: items: *4 teams: type: array - items: *169 + items: *177 apps: type: array items: *5 @@ -56278,7 +56818,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *401 + restrictions: *396 required_conversation_resolution: type: object properties: @@ -56390,9 +56930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56417,17 +56957,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *402 + schema: *397 examples: - default: &403 + default: &398 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56449,17 +56989,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *402 + schema: *397 examples: - default: *403 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56478,9 +57018,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56505,17 +57045,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *404 + schema: *399 examples: - default: &405 + default: &400 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56611,9 +57151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -56711,9 +57251,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *399 examples: - default: *405 + default: *400 '422': *15 x-github: githubCloudOnly: false @@ -56734,9 +57274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56763,17 +57303,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *402 + schema: *397 examples: - default: &406 + default: &401 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56796,17 +57336,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *402 + schema: *397 examples: - default: *406 + default: *401 '404': *6 x-github: githubCloudOnly: false @@ -56826,9 +57366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56853,17 +57393,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *407 + schema: *402 examples: - default: &408 + default: &403 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56889,9 +57429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -56943,9 +57483,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *402 examples: - default: *408 + default: *403 '404': *6 '422': *15 x-github: @@ -56967,9 +57507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -56993,9 +57533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -57029,9 +57569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -57098,9 +57638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -57164,9 +57704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: content: application/json: @@ -57232,15 +57772,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response content: application/json: - schema: *401 + schema: *396 examples: default: value: @@ -57331,9 +57871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '204': description: Response @@ -57356,9 +57896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -57368,7 +57908,7 @@ paths: type: array items: *5 examples: - default: &409 + default: &404 value: - id: 1 slug: octoapp @@ -57425,9 +57965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57461,7 +58001,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -57482,9 +58022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57518,7 +58058,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -57539,9 +58079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57575,7 +58115,7 @@ paths: type: array items: *5 examples: - default: *409 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -57597,9 +58137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -57607,9 +58147,9 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: *227 + default: *232 '404': *6 x-github: githubCloudOnly: false @@ -57629,9 +58169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -57667,9 +58207,9 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: *227 + default: *232 '422': *15 x-github: githubCloudOnly: false @@ -57690,9 +58230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: false content: @@ -57728,9 +58268,9 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: *227 + default: *232 '422': *15 x-github: githubCloudOnly: false @@ -57751,9 +58291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: content: application/json: @@ -57788,9 +58328,9 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: *227 + default: *232 '422': *15 x-github: githubCloudOnly: false @@ -57812,9 +58352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 responses: '200': description: Response @@ -57824,7 +58364,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '404': *6 x-github: githubCloudOnly: false @@ -57848,9 +58388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57883,7 +58423,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -57908,9 +58448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -57943,7 +58483,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -57968,9 +58508,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -58003,7 +58543,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '422': *15 x-github: githubCloudOnly: false @@ -58030,9 +58570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 requestBody: required: true content: @@ -58054,7 +58594,7 @@ paths: description: Response content: application/json: - schema: *410 + schema: *405 examples: default: value: @@ -58170,8 +58710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -58450,7 +58990,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &406 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58561,16 +59101,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *76 - deployment: &713 + items: *75 + deployment: &715 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58637,8 +59177,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -58850,9 +59390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *330 - - *331 - - &412 + - *325 + - *326 + - &407 name: check_run_id description: The unique identifier of the check run. in: path @@ -58864,9 +59404,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *406 examples: - default: &413 + default: &408 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58966,9 +59506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *330 - - *331 - - *412 + - *325 + - *326 + - *407 requestBody: required: true content: @@ -59208,9 +59748,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *406 examples: - default: *413 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59230,9 +59770,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *330 - - *331 - - *412 + - *325 + - *326 + - *407 - *17 - *19 responses: @@ -59307,7 +59847,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: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59327,15 +59867,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *330 - - *331 - - *412 + - *325 + - *326 + - *407 responses: '201': description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -59373,8 +59913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -59396,7 +59936,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &416 + schema: &411 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59460,7 +60000,7 @@ paths: nullable: true pull_requests: type: array - items: *76 + items: *75 nullable: true app: title: GitHub app @@ -59471,9 +60011,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - repository: *137 + properties: *67 + required: *68 + repository: *141 created_at: type: string format: date-time @@ -59482,12 +60022,12 @@ paths: type: string format: date-time nullable: true - head_commit: &739 + head_commit: &741 title: Simple Commit description: A commit. type: object - properties: *414 - required: *415 + properties: *409 + required: *410 latest_check_runs_count: type: integer check_runs_url: @@ -59515,7 +60055,7 @@ paths: - check_runs_url - pull_requests examples: - default: &417 + default: &412 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59806,9 +60346,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *416 + schema: *411 examples: - default: *417 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59827,8 +60367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -59889,7 +60429,7 @@ paths: required: - app_id - setting - repository: *137 + repository: *141 examples: default: value: @@ -60137,9 +60677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *330 - - *331 - - &418 + - *325 + - *326 + - &413 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60151,9 +60691,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *411 examples: - default: *417 + default: *412 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60176,17 +60716,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *330 - - *331 - - *418 - - &468 + - *325 + - *326 + - *413 + - &463 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &464 name: status description: Returns check runs with the specified `status`. in: query @@ -60225,9 +60765,9 @@ paths: type: integer check_runs: type: array - items: *411 + items: *406 examples: - default: &470 + default: &465 value: total_count: 1 check_runs: @@ -60309,7 +60849,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60329,15 +60869,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *330 - - *331 - - *418 + - *325 + - *326 + - *413 responses: '201': description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -60364,21 +60904,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *330 - - *331 - - *419 - - *420 + - *325 + - *326 + - *414 + - *415 - *19 - *17 - - &437 + - &432 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: *421 - - &438 + schema: *416 + - &433 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60403,13 +60943,13 @@ paths: be returned. in: query required: false - schema: *422 + schema: *417 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *423 + schema: *418 responses: '200': description: Response @@ -60420,14 +60960,14 @@ paths: items: type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: *424 - state: *158 - fixed_at: *154 + number: *157 + created_at: *158 + updated_at: *159 + url: *160 + html_url: *161 + instances_url: *419 + state: *166 + fixed_at: *162 dismissed_by: title: Simple User description: A GitHub user. @@ -60435,12 +60975,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 - rule: *427 - tool: *428 - most_recent_instance: *429 + dismissed_at: *163 + dismissed_reason: *420 + dismissed_comment: *421 + rule: *422 + tool: *423 + most_recent_instance: *424 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60566,14 +61106,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &430 + '403': &425 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60593,9 +61133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *330 - - *331 - - &431 + - *325 + - *326 + - &426 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60603,23 +61143,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *54 + schema: *157 responses: '200': description: Response content: application/json: - schema: &432 + schema: &427 type: object properties: - number: *54 - created_at: *55 - updated_at: *153 - url: *56 - html_url: *57 - instances_url: *424 - state: *158 - fixed_at: *154 + number: *157 + created_at: *158 + updated_at: *159 + url: *160 + html_url: *161 + instances_url: *419 + state: *166 + fixed_at: *162 dismissed_by: title: Simple User description: A GitHub user. @@ -60627,9 +61167,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *155 - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_at: *163 + dismissed_reason: *420 + dismissed_comment: *421 rule: type: object properties: @@ -60683,8 +61223,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *428 - most_recent_instance: *429 + tool: *423 + most_recent_instance: *424 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -60783,9 +61323,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60803,9 +61343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 requestBody: required: true content: @@ -60820,8 +61360,8 @@ paths: enum: - open - dismissed - dismissed_reason: *425 - dismissed_comment: *426 + dismissed_reason: *420 + dismissed_comment: *421 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60840,7 +61380,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *427 examples: default: value: @@ -60916,14 +61456,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &436 + '403': &431 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': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60943,15 +61483,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: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 responses: '200': description: Response content: application/json: - schema: &433 + schema: &428 type: object properties: status: @@ -60977,13 +61517,13 @@ paths: - description - started_at examples: - default: &434 + default: &429 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &435 + '400': &430 description: Bad Request content: application/json: @@ -60994,9 +61534,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': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61019,29 +61559,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: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 responses: '200': description: OK content: application/json: - schema: *433 + schema: *428 examples: - default: *434 + default: *429 '202': description: Accepted content: application/json: - schema: *433 + schema: *428 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *435 + '400': *430 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61051,7 +61591,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61073,9 +61613,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: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 requestBody: required: false content: @@ -61120,12 +61660,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *435 - '403': *436 + '400': *430 + '403': *431 '404': *6 '422': description: Unprocessable Entity - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61145,13 +61685,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 - *19 - *17 - - *437 - - *438 + - *432 + - *433 responses: '200': description: Response @@ -61159,7 +61699,7 @@ paths: application/json: schema: type: array - items: *429 + items: *424 examples: default: value: @@ -61198,9 +61738,9 @@ paths: end_column: 50 classifications: - source - '403': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61232,25 +61772,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *330 - - *331 - - *419 - - *420 + - *325 + - *326 + - *414 + - *415 - *19 - *17 - - *438 + - *433 - 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: *421 + schema: *416 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &436 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -61271,23 +61811,23 @@ paths: application/json: schema: type: array - items: &442 + items: &437 type: object properties: - ref: *421 - commit_sha: &450 + ref: *416 + commit_sha: &445 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: *439 + analysis_key: *434 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *440 + category: *435 error: type: string example: error reading field xyz @@ -61311,8 +61851,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *428 + sarif_id: *436 + tool: *423 deletable: type: boolean warning: @@ -61373,9 +61913,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61409,8 +61949,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: - - *330 - - *331 + - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61423,7 +61963,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *437 examples: response: summary: application/json response @@ -61477,14 +62017,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *430 + '403': *425 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61564,8 +62104,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: - - *330 - - *331 + - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61618,9 +62158,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': *436 + '403': *431 '404': *6 - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61640,8 +62180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -61649,7 +62189,7 @@ paths: application/json: schema: type: array - items: &443 + items: &438 title: CodeQL Database description: A CodeQL database. type: object @@ -61760,9 +62300,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': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61789,8 +62329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61802,7 +62342,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *438 examples: default: value: @@ -61834,11 +62374,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': &477 + '302': &472 description: Found - '403': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61858,8 +62398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *330 - - *331 + - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -61869,9 +62409,9 @@ paths: responses: '204': description: Response - '403': *436 + '403': *431 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61897,8 +62437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -61907,7 +62447,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &439 type: string description: The language targeted by the CodeQL query enum: @@ -61986,7 +62526,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &443 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -61996,7 +62536,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *444 + query_language: *439 query_pack_url: type: string description: The download url for the query pack. @@ -62043,7 +62583,7 @@ paths: items: type: object properties: - repository: &445 + repository: &440 title: Repository Identifier description: Repository Identifier type: object @@ -62079,7 +62619,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &444 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62111,7 +62651,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &446 + access_mismatch_repos: &441 type: object properties: repository_count: @@ -62125,7 +62665,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: *445 + items: *440 required: - repository_count - repositories @@ -62147,8 +62687,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *441 + over_limit_repos: *441 required: - access_mismatch_repos - not_found_repos @@ -62164,7 +62704,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &442 summary: Default response value: id: 1 @@ -62316,17 +62856,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *442 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *442 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62347,8 +62887,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: - - *330 - - *331 + - *325 + - *326 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62360,11 +62900,11 @@ paths: description: Response content: application/json: - schema: *448 + schema: *443 examples: - default: *447 + default: *442 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62385,7 +62925,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: - - *330 + - *325 - name: repo in: path description: The name of the controller repository. @@ -62420,7 +62960,7 @@ paths: type: object properties: repository: *53 - analysis_status: *449 + analysis_status: *444 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62524,7 +63064,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62545,8 +63085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -62631,9 +63171,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *430 + '403': *425 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62652,8 +63192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -62720,7 +63260,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -62745,7 +63285,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *436 + '403': *431 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62759,7 +63299,7 @@ paths: content: application/json: schema: *3 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62816,8 +63356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -62825,7 +63365,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *445 ref: type: string description: |- @@ -62883,7 +63423,7 @@ paths: schema: type: object properties: - id: *441 + id: *436 url: type: string description: The REST API URL for checking the status of the upload. @@ -62897,11 +63437,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': *436 + '403': *431 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62920,8 +63460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *330 - - *331 + - *325 + - *326 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -62967,10 +63507,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': *430 + '403': *425 '404': description: Not Found if the sarif id does not match any upload - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62992,8 +63532,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -63049,7 +63589,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': *163 + '204': *171 '304': *37 '403': *29 '404': *6 @@ -63074,8 +63614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *330 - - *331 + - *325 + - *326 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -63195,8 +63735,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -63212,7 +63752,7 @@ paths: type: integer codespaces: type: array - items: *214 + items: *220 examples: default: value: @@ -63488,7 +64028,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': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -63510,8 +64050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -63574,22 +64114,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -63613,8 +64153,8 @@ paths: parameters: - *17 - *19 - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -63654,7 +64194,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *106 + '500': *104 '400': *14 '401': *25 '403': *29 @@ -63678,8 +64218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63714,14 +64254,14 @@ paths: type: integer machines: type: array - items: &661 + items: &664 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *447 + required: *448 examples: - default: &662 + default: &665 value: total_count: 2 machines: @@ -63738,7 +64278,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -63761,8 +64301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *330 - - *331 + - *325 + - *326 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63846,8 +64386,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: - - *330 - - *331 + - *325 + - *326 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -63892,7 +64432,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63913,8 +64453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -63932,7 +64472,7 @@ paths: type: integer secrets: type: array - items: &457 + items: &452 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -63952,9 +64492,9 @@ paths: - created_at - updated_at examples: - default: *454 + default: *449 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63975,16 +64515,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *455 + schema: *450 examples: - default: *456 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64004,17 +64544,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 responses: '200': description: Response content: application/json: - schema: *457 + schema: *452 examples: - default: *458 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64034,9 +64574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 requestBody: required: true content: @@ -64064,7 +64604,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -64088,9 +64628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 responses: '204': description: Response @@ -64118,8 +64658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *330 - - *331 + - *325 + - *326 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64161,7 +64701,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &459 + properties: &454 login: type: string example: octocat @@ -64254,7 +64794,7 @@ paths: user_view_type: type: string example: public - required: &460 + required: &455 - avatar_url - events_url - followers_url @@ -64303,7 +64843,7 @@ paths: admin: false role_name: write headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -64328,9 +64868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *325 + - *326 + - *59 responses: '204': description: Response if user is a collaborator @@ -64376,9 +64916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *325 + - *326 + - *59 requestBody: required: false content: @@ -64404,7 +64944,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &526 + schema: &521 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64415,7 +64955,7 @@ paths: example: 42 type: integer format: int64 - repository: *137 + repository: *141 invitee: title: Simple User description: A GitHub user. @@ -64593,7 +65133,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *111 + schema: *110 '403': *29 x-github: triggersNotification: true @@ -64633,9 +65173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *330 - - *331 - - *63 + - *325 + - *326 + - *59 responses: '204': description: No Content when collaborator was removed from the repository. @@ -64666,9 +65206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *330 - - *331 - - *63 + - *325 + - *326 + - *59 responses: '200': description: if user has admin permissions @@ -64688,8 +65228,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *459 - required: *460 + properties: *454 + required: *455 nullable: true required: - permission @@ -64744,8 +65284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -64755,7 +65295,7 @@ paths: application/json: schema: type: array - items: &461 + items: &456 title: Commit Comment description: Commit Comment type: object @@ -64796,8 +65336,8 @@ paths: updated_at: type: string format: date-time - author_association: *72 - reactions: *73 + author_association: *71 + reactions: *72 required: - url - html_url @@ -64813,7 +65353,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &459 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64847,7 +65387,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64872,17 +65412,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 responses: '200': description: Response content: application/json: - schema: *461 + schema: *456 examples: - default: &465 + default: &460 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64939,9 +65479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 requestBody: required: true content: @@ -64963,7 +65503,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *456 examples: default: value: @@ -65014,9 +65554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 responses: '204': description: Response @@ -65037,9 +65577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 - 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. @@ -65065,11 +65605,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -65088,9 +65628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 requestBody: required: true content: @@ -65122,16 +65662,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '201': description: Reaction created content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -65153,10 +65693,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *330 - - *331 - - *88 + - *325 - *326 + - *86 + - *321 responses: '204': description: Response @@ -65205,8 +65745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *330 - - *331 + - *325 + - *326 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65262,9 +65802,9 @@ paths: application/json: schema: type: array - items: *462 + items: *457 examples: - default: &575 + default: &570 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65334,8 +65874,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *58 - '500': *106 + Link: *54 + '500': *104 '400': *14 '404': *6 '409': *47 @@ -65358,9 +65898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *330 - - *331 - - &463 + - *325 + - *326 + - &458 name: commit_sha description: The SHA of the commit. in: path @@ -65432,9 +65972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *330 - - *331 - - *463 + - *325 + - *326 + - *458 - *17 - *19 responses: @@ -65444,11 +65984,11 @@ paths: application/json: schema: type: array - items: *461 + items: *456 examples: - default: *464 + default: *459 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65474,9 +66014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *330 - - *331 - - *463 + - *325 + - *326 + - *458 requestBody: required: true content: @@ -65511,9 +66051,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *456 examples: - default: *465 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65541,9 +66081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *330 - - *331 - - *463 + - *325 + - *326 + - *458 - *17 - *19 responses: @@ -65553,9 +66093,9 @@ paths: application/json: schema: type: array - items: *466 + items: *461 examples: - default: &567 + default: &562 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66034,7 +66574,7 @@ paths: auto_merge: draft: false headers: - Link: *58 + Link: *54 '409': *47 x-github: githubCloudOnly: false @@ -66092,11 +66632,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *330 - - *331 + - *325 + - *326 - *19 - *17 - - &467 + - &462 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)" @@ -66111,9 +66651,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *457 examples: - default: &554 + default: &549 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66199,8 +66739,8 @@ paths: ..... '422': *15 '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 '409': *47 x-github: githubCloudOnly: false @@ -66226,11 +66766,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *330 - - *331 - - *467 - - *468 - - *469 + - *325 + - *326 + - *462 + - *463 + - *464 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66264,11 +66804,11 @@ paths: type: integer check_runs: type: array - items: *411 + items: *406 examples: - default: *470 + default: *465 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66291,9 +66831,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *330 - - *331 - - *467 + - *325 + - *326 + - *462 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66301,7 +66841,7 @@ paths: schema: type: integer example: 1 - - *468 + - *463 - *17 - *19 responses: @@ -66319,7 +66859,7 @@ paths: type: integer check_suites: type: array - items: *416 + items: *411 examples: default: value: @@ -66494,7 +67034,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: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66519,9 +67059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *330 - - *331 - - *467 + - *325 + - *326 + - *462 - *17 - *19 responses: @@ -66588,7 +67128,7 @@ paths: type: string total_count: type: integer - repository: *137 + repository: *141 commit_url: type: string format: uri @@ -66719,9 +67259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *330 - - *331 - - *467 + - *325 + - *326 + - *462 - *17 - *19 responses: @@ -66731,7 +67271,7 @@ paths: application/json: schema: type: array - items: &632 + items: &635 title: Status description: The status of a commit. type: object @@ -66811,8 +67351,8 @@ paths: type: User site_admin: false headers: - Link: *58 - '301': *339 + Link: *54 + '301': *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66840,8 +67380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -66870,20 +67410,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *471 - required: *472 + properties: *466 + required: *467 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &473 + properties: &468 url: type: string format: uri html_url: type: string format: uri - required: &474 + required: &469 - url - html_url nullable: true @@ -66891,32 +67431,32 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true contributing: title: Community Health File type: object - properties: *473 - required: *474 + properties: *468 + required: *469 nullable: true readme: title: Community Health File type: object - properties: *473 - required: *474 + properties: *468 + required: *469 nullable: true issue_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *468 + required: *469 nullable: true pull_request_template: title: Community Health File type: object - properties: *473 - required: *474 + properties: *468 + required: *469 nullable: true required: - code_of_conduct @@ -67043,8 +67583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *330 - - *331 + - *325 + - *326 - *19 - *17 - name: basehead @@ -67087,8 +67627,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *457 + merge_base_commit: *457 status: type: string enum: @@ -67108,10 +67648,10 @@ paths: example: 6 commits: type: array - items: *462 + items: *457 files: type: array - items: *475 + items: *470 required: - url - html_url @@ -67354,8 +67894,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67397,8 +67937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *330 - - *331 + - *325 + - *326 - name: path description: path parameter in: path @@ -67541,7 +68081,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &476 + response-if-content-is-a-file: &471 summary: Response if content is a file value: type: file @@ -67673,7 +68213,7 @@ paths: - size - type - url - - &580 + - &575 title: Content File description: Content File type: object @@ -67874,7 +68414,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *471 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -67943,7 +68483,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *477 + '302': *472 '304': *37 x-github: githubCloudOnly: false @@ -67966,8 +68506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *330 - - *331 + - *325 + - *326 - name: path description: path parameter in: path @@ -68060,7 +68600,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &473 title: File Commit description: File Commit type: object @@ -68212,7 +68752,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: example-for-creating-a-file: value: @@ -68266,7 +68806,7 @@ paths: schema: oneOf: - *3 - - &508 + - &503 description: Repository rule violation was detected type: object properties: @@ -68287,7 +68827,7 @@ paths: items: type: object properties: - placeholder_id: &624 + placeholder_id: &627 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68319,8 +68859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *330 - - *331 + - *325 + - *326 - name: path description: path parameter in: path @@ -68381,7 +68921,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: default: value: @@ -68416,7 +68956,7 @@ paths: '422': *15 '404': *6 '409': *47 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68436,8 +68976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *330 - - *331 + - *325 + - *326 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68537,7 +69077,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *58 + Link: *54 '204': description: Response if repository is empty '403': *29 @@ -68560,31 +69100,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *330 - - *331 - - *170 - - *171 - - *172 - - *173 + - *325 + - *326 + - *178 + - *179 + - *180 + - *181 - 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 - - *174 - - *479 - - *175 - - *176 + - *182 + - *474 + - *183 + - *184 - *48 - - 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)." @@ -68595,8 +69127,6 @@ paths: default: 30 - *40 - *41 - - *177 - - *178 responses: '200': description: Response @@ -68604,11 +69134,11 @@ paths: application/json: schema: type: array - items: &482 + items: &477 type: object description: A Dependabot alert. properties: - number: *54 + number: *157 state: type: string description: The state of the Dependabot alert. @@ -68650,13 +69180,13 @@ paths: - unknown - direct - transitive - security_advisory: *480 + security_advisory: *475 security_vulnerability: *52 - url: *56 - html_url: *57 - created_at: *55 - updated_at: *153 - dismissed_at: *155 + url: *160 + html_url: *161 + created_at: *158 + updated_at: *159 + dismissed_at: *163 dismissed_by: title: Simple User description: A GitHub user. @@ -68680,8 +69210,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *154 - auto_dismissed_at: *481 + fixed_at: *162 + auto_dismissed_at: *476 required: - number - state @@ -68911,9 +69441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *330 - - *331 - - &483 + - *325 + - *326 + - &478 name: alert_number in: path description: |- @@ -68922,13 +69452,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *54 + schema: *157 responses: '200': description: Response content: application/json: - schema: *482 + schema: *477 examples: default: value: @@ -69041,9 +69571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *330 - - *331 - - *483 + - *325 + - *326 + - *478 requestBody: required: true content: @@ -69088,7 +69618,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *477 examples: default: value: @@ -69217,8 +69747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -69236,7 +69766,7 @@ paths: type: integer secrets: type: array - items: &486 + items: &481 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69267,7 +69797,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69289,16 +69819,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *484 + schema: *479 examples: - default: *485 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69318,15 +69848,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 responses: '200': description: Response content: application/json: - schema: *486 + schema: *481 examples: default: value: @@ -69352,9 +69882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 requestBody: required: true content: @@ -69382,7 +69912,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -69406,9 +69936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *330 - - *331 - - *145 + - *325 + - *326 + - *149 responses: '204': description: Response @@ -69430,8 +69960,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: - - *330 - - *331 + - *325 + - *326 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -69567,7 +70097,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *58 + Link: *54 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -69591,8 +70121,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -69808,7 +70338,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *58 + Link: *54 '404': *6 '403': *29 x-github: @@ -69831,8 +70361,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -69907,7 +70437,7 @@ paths: - version - url additionalProperties: false - metadata: &487 + metadata: &482 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -69940,7 +70470,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *487 + metadata: *482 resolved: type: object description: A collection of resolved package dependencies. @@ -69953,7 +70483,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *487 + metadata: *482 relationship: type: string description: A notation of whether a dependency is requested @@ -70082,8 +70612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *330 - - *331 + - *325 + - *326 - name: sha description: The SHA recorded at creation time. in: query @@ -70123,11 +70653,11 @@ paths: application/json: schema: type: array - items: *488 + items: *483 examples: - default: *489 + default: *484 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70191,8 +70721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -70273,7 +70803,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *483 examples: simple-example: summary: Simple example @@ -70346,9 +70876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *330 - - *331 - - &490 + - *325 + - *326 + - &485 name: deployment_id description: deployment_id parameter in: path @@ -70360,7 +70890,7 @@ paths: description: Response content: application/json: - schema: *488 + schema: *483 examples: default: value: @@ -70425,9 +70955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *330 - - *331 - - *490 + - *325 + - *326 + - *485 responses: '204': description: Response @@ -70449,9 +70979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *330 - - *331 - - *490 + - *325 + - *326 + - *485 - *17 - *19 responses: @@ -70461,7 +70991,7 @@ paths: application/json: schema: type: array - items: &491 + items: &486 title: Deployment Status description: The status of a deployment. type: object @@ -70552,8 +71082,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -70602,7 +71132,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -70622,9 +71152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *325 + - *326 + - *485 requestBody: required: true content: @@ -70699,9 +71229,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *486 examples: - default: &492 + default: &487 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70757,9 +71287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *330 - - *331 - - *490 + - *325 + - *326 + - *485 - name: status_id in: path required: true @@ -70770,9 +71300,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *486 examples: - default: *492 + default: *487 '404': *6 x-github: githubCloudOnly: false @@ -70797,8 +71327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -70855,8 +71385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -70873,7 +71403,7 @@ paths: type: integer environments: type: array - items: &494 + items: &489 title: Environment description: Details of a deployment environment type: object @@ -70925,7 +71455,7 @@ paths: type: type: string example: wait_timer - wait_timer: &496 + wait_timer: &491 type: integer example: 30 description: The amount of time to delay a job after @@ -70962,11 +71492,11 @@ paths: items: type: object properties: - type: *493 + type: *488 reviewer: anyOf: - *4 - - *169 + - *177 required: - id - node_id @@ -70986,7 +71516,7 @@ paths: - id - node_id - type - deployment_branch_policy: &497 + deployment_branch_policy: &492 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -71102,9 +71632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *330 - - *331 - - &495 + - *325 + - *326 + - &490 name: environment_name in: path required: true @@ -71117,9 +71647,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *489 examples: - default: &498 + default: &493 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71203,9 +71733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 requestBody: required: false content: @@ -71214,7 +71744,7 @@ paths: type: object nullable: true properties: - wait_timer: *496 + wait_timer: *491 prevent_self_review: type: boolean example: false @@ -71231,13 +71761,13 @@ paths: items: type: object properties: - type: *493 + type: *488 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *497 + deployment_branch_policy: *492 additionalProperties: false examples: default: @@ -71257,9 +71787,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *489 examples: - default: *498 + default: *493 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71283,9 +71813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 responses: '204': description: Default response @@ -71310,9 +71840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 - *17 - *19 responses: @@ -71330,7 +71860,7 @@ paths: example: 2 branch_policies: type: array - items: &499 + items: &494 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71387,9 +71917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 requestBody: required: true content: @@ -71435,9 +71965,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *494 examples: - example-wildcard: &500 + example-wildcard: &495 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71479,10 +72009,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - &501 + - *325 + - *326 + - *490 + - &496 name: branch_policy_id in: path required: true @@ -71494,9 +72024,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *494 examples: - default: *500 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71515,10 +72045,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - *501 + - *325 + - *326 + - *490 + - *496 requestBody: required: true content: @@ -71546,9 +72076,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *494 examples: - default: *500 + default: *495 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71567,10 +72097,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *330 - - *331 - - *495 - - *501 + - *325 + - *326 + - *490 + - *496 responses: '204': description: Response @@ -71595,9 +72125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *495 - - *331 - - *330 + - *490 + - *326 + - *325 responses: '200': description: List of deployment protection rules @@ -71613,7 +72143,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &502 + items: &497 title: Deployment protection rule description: Deployment protection rule type: object @@ -71632,7 +72162,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &503 + app: &498 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71731,9 +72261,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: - - *495 - - *331 - - *330 + - *490 + - *326 + - *325 requestBody: content: application/json: @@ -71754,9 +72284,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *502 + schema: *497 examples: - default: &504 + default: &499 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -71791,9 +72321,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: - - *495 - - *331 - - *330 + - *490 + - *326 + - *325 - *19 - *17 responses: @@ -71812,7 +72342,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *503 + items: *498 examples: default: value: @@ -71847,10 +72377,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *330 - - *331 - - *495 - - &505 + - *325 + - *326 + - *490 + - &500 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -71862,9 +72392,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *497 examples: - default: *504 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71885,10 +72415,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *495 - - *331 - - *330 - - *505 + - *490 + - *326 + - *325 + - *500 responses: '204': description: Response @@ -71914,9 +72444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 - *17 - *19 responses: @@ -71934,11 +72464,11 @@ paths: type: integer secrets: type: array - items: *378 + items: *373 examples: - default: *379 + default: *374 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71961,17 +72491,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 responses: '200': description: Response content: application/json: - schema: *380 + schema: *375 examples: - default: *381 + default: *376 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71993,18 +72523,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *325 + - *326 + - *490 + - *149 responses: '200': description: Response content: application/json: - schema: *378 + schema: *373 examples: - default: *506 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72026,10 +72556,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *325 + - *326 + - *490 + - *149 requestBody: required: true content: @@ -72060,7 +72590,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -72086,10 +72616,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *330 - - *331 - - *495 - - *145 + - *325 + - *326 + - *490 + - *149 responses: '204': description: Default response @@ -72114,10 +72644,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *330 - - *331 - - *495 - - *349 + - *325 + - *326 + - *490 + - *344 - *19 responses: '200': @@ -72134,11 +72664,11 @@ paths: type: integer variables: type: array - items: *382 + items: *377 examples: - default: *383 + default: *378 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72159,9 +72689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *330 - - *331 - - *495 + - *325 + - *326 + - *490 requestBody: required: true content: @@ -72188,7 +72718,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -72213,18 +72743,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *330 - - *331 - - *495 - - *148 + - *325 + - *326 + - *490 + - *152 responses: '200': description: Response content: application/json: - schema: *382 + schema: *377 examples: - default: *507 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72245,10 +72775,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *330 - - *331 - - *148 - - *495 + - *325 + - *326 + - *152 + - *490 requestBody: required: true content: @@ -72290,10 +72820,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *330 - - *331 - - *148 - - *495 + - *325 + - *326 + - *152 + - *490 responses: '204': description: Response @@ -72315,8 +72845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -72326,7 +72856,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: 200-response: value: @@ -72384,8 +72914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *330 - - *331 + - *325 + - *326 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72407,7 +72937,7 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: default: value: @@ -72520,7 +73050,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *58 + Link: *54 '400': *14 x-github: githubCloudOnly: false @@ -72544,8 +73074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: false content: @@ -72577,9 +73107,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *333 examples: - default: *340 + default: *335 '400': *14 '422': *15 '403': *29 @@ -72600,8 +73130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -72660,8 +73190,8 @@ paths: application/json: schema: oneOf: - - *111 - - *508 + - *110 + - *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72686,8 +73216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *330 - - *331 + - *325 + - *326 - name: file_sha in: path required: true @@ -72786,8 +73316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -72896,7 +73426,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &504 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73110,15 +73640,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *330 - - *331 - - *463 + - *325 + - *326 + - *458 responses: '200': description: Response content: application/json: - schema: *509 + schema: *504 examples: default: value: @@ -73174,9 +73704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *330 - - *331 - - &510 + - *325 + - *326 + - &505 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. @@ -73193,7 +73723,7 @@ paths: application/json: schema: type: array - items: &511 + items: &506 title: Git Reference description: Git references within a repository type: object @@ -73246,7 +73776,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *58 + Link: *54 '409': *47 x-github: githubCloudOnly: false @@ -73268,17 +73798,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *330 - - *331 - - *510 + - *325 + - *326 + - *505 responses: '200': description: Response content: application/json: - schema: *511 + schema: *506 examples: - default: &512 + default: &507 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73307,8 +73837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -73337,9 +73867,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *506 examples: - default: *512 + default: *507 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73365,9 +73895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *330 - - *331 - - *510 + - *325 + - *326 + - *505 requestBody: required: true content: @@ -73396,9 +73926,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *506 examples: - default: *512 + default: *507 '422': *15 '409': *47 x-github: @@ -73416,9 +73946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *330 - - *331 - - *510 + - *325 + - *326 + - *505 responses: '204': description: Response @@ -73473,8 +74003,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -73541,7 +74071,7 @@ paths: description: Response content: application/json: - schema: &514 + schema: &509 title: Git Tag description: Metadata for a Git tag type: object @@ -73592,7 +74122,7 @@ paths: - sha - type - url - verification: *513 + verification: *508 required: - sha - url @@ -73602,7 +74132,7 @@ paths: - tag - message examples: - default: &515 + default: &510 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73675,8 +74205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *330 - - *331 + - *325 + - *326 - name: tag_sha in: path required: true @@ -73687,9 +74217,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *509 examples: - default: *515 + default: *510 '404': *6 '409': *47 x-github: @@ -73713,8 +74243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -73787,7 +74317,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &511 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -73883,8 +74413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *330 - - *331 + - *325 + - *326 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -73907,7 +74437,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *511 examples: default-response: summary: Default response @@ -73966,8 +74496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -73977,7 +74507,7 @@ paths: application/json: schema: type: array - items: &517 + items: &512 title: Webhook description: Webhooks for repositories. type: object @@ -74031,7 +74561,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &747 + last_response: &749 title: Hook Response type: object properties: @@ -74086,7 +74616,7 @@ paths: status: unused message: headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -74105,8 +74635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: false content: @@ -74158,9 +74688,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *512 examples: - default: &518 + default: &513 value: type: Repository id: 12345678 @@ -74208,17 +74738,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 responses: '200': description: Response content: application/json: - schema: *517 + schema: *512 examples: - default: *518 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -74238,9 +74768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 requestBody: required: true content: @@ -74285,9 +74815,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *512 examples: - default: *518 + default: *513 '422': *15 '404': *6 x-github: @@ -74308,9 +74838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 responses: '204': description: Response @@ -74334,9 +74864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 responses: '200': description: Response @@ -74363,9 +74893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 requestBody: required: false content: @@ -74409,11 +74939,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 - *17 - - *187 + - *193 responses: '200': description: Response @@ -74421,9 +74951,9 @@ paths: application/json: schema: type: array - items: *188 + items: *194 examples: - default: *189 + default: *195 '400': *14 '422': *15 x-github: @@ -74442,18 +74972,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 - *16 responses: '200': description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: *191 + default: *197 '400': *14 '422': *15 x-github: @@ -74472,9 +75002,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 - *16 responses: '202': *39 @@ -74497,9 +75027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 responses: '204': description: Response @@ -74524,9 +75054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *330 - - *331 - - *186 + - *325 + - *326 + - *192 responses: '204': description: Response @@ -74549,8 +75079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response if immutable releases are enabled @@ -74596,10 +75126,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *330 - - *331 + - *325 + - *326 responses: - '204': *163 + '204': *171 '409': *47 x-github: githubCloudOnly: false @@ -74617,10 +75147,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *330 - - *331 + - *325 + - *326 responses: - '204': *163 + '204': *171 '409': *47 x-github: githubCloudOnly: false @@ -74675,14 +75205,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &519 + schema: &514 title: Import description: A repository import from an external source. type: object @@ -74781,7 +75311,7 @@ paths: - html_url - authors_url examples: - default: &522 + default: &517 value: vcs: subversion use_lfs: true @@ -74797,7 +75327,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': &520 + '503': &515 description: Unavailable due to service under maintenance. content: application/json: @@ -74826,8 +75356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -74875,7 +75405,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *514 examples: default: value: @@ -74900,7 +75430,7 @@ paths: type: string '422': *15 '404': *6 - '503': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74928,8 +75458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: false content: @@ -74978,7 +75508,7 @@ paths: description: Response content: application/json: - schema: *519 + schema: *514 examples: example-1: summary: Example 1 @@ -75026,7 +75556,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': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75049,12 +75579,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response - '503': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75080,9 +75610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *330 - - *331 - - &684 + - *325 + - *326 + - &686 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75096,7 +75626,7 @@ paths: application/json: schema: type: array - items: &521 + items: &516 title: Porter Author description: Porter Author type: object @@ -75150,7 +75680,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': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75175,8 +75705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *330 - - *331 + - *325 + - *326 - name: author_id in: path required: true @@ -75206,7 +75736,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *516 examples: default: value: @@ -75219,7 +75749,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75243,8 +75773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -75285,7 +75815,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75313,8 +75843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -75341,11 +75871,11 @@ paths: description: Response content: application/json: - schema: *519 + schema: *514 examples: - default: *522 + default: *517 '422': *15 - '503': *520 + '503': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75368,8 +75898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -75377,8 +75907,8 @@ paths: application/json: schema: *22 examples: - default: *523 - '301': *339 + default: *518 + '301': *334 '404': *6 x-github: githubCloudOnly: false @@ -75398,8 +75928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -75407,12 +75937,12 @@ paths: application/json: schema: anyOf: - - *204 + - *210 - type: object properties: {} additionalProperties: false examples: - default: &525 + default: &520 value: limit: collaborators_only origin: repository @@ -75437,13 +75967,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: application/json: - schema: *524 + schema: *519 examples: default: summary: Example request body @@ -75455,9 +75985,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *525 + default: *520 '409': description: Response x-github: @@ -75479,8 +76009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -75503,8 +76033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -75514,9 +76044,9 @@ paths: application/json: schema: type: array - items: *526 + items: *521 examples: - default: &677 + default: &679 value: - id: 1 repository: @@ -75630,7 +76160,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75647,9 +76177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *325 + - *326 + - *214 requestBody: required: false content: @@ -75678,7 +76208,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *521 examples: default: value: @@ -75809,9 +76339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *330 - - *331 - - *208 + - *325 + - *326 + - *214 responses: '204': description: Response @@ -75842,8 +76372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *330 - - *331 + - *325 + - *326 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -75891,7 +76421,7 @@ paths: required: false schema: type: string - - *212 + - *218 - name: sort description: What to sort results by. in: query @@ -75904,7 +76434,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - *17 - *19 responses: @@ -75914,9 +76444,9 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: &535 + default: &530 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76063,8 +76593,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 - '301': *339 + Link: *54 + '301': *334 '422': *15 '404': *6 x-github: @@ -76093,8 +76623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -76176,9 +76706,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: &532 + default: &527 value: id: 1 node_id: MDU6SXNzdWUx @@ -76332,9 +76862,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *77 + '503': *105 '404': *6 - '410': *336 + '410': *331 x-github: triggersNotification: true githubCloudOnly: false @@ -76362,9 +76892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *330 - - *331 - - *96 + - *325 + - *326 + - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -76374,7 +76904,7 @@ paths: enum: - asc - desc - - *79 + - *77 - *17 - *19 responses: @@ -76384,9 +76914,9 @@ paths: application/json: schema: type: array - items: *527 + items: *522 examples: - default: &534 + default: &529 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76417,7 +76947,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 '422': *15 '404': *6 x-github: @@ -76444,17 +76974,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 responses: '200': description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: &528 + default: &523 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76508,9 +77038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 requestBody: required: true content: @@ -76532,9 +77062,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: *528 + default: *523 '422': *15 x-github: githubCloudOnly: false @@ -76552,9 +77082,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 responses: '204': description: Response @@ -76574,9 +77104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 - 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. @@ -76602,11 +77132,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -76625,9 +77155,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 requestBody: required: true content: @@ -76659,16 +77189,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '201': description: Reaction created content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -76690,10 +77220,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *330 - - *331 - - *88 + - *325 - *326 + - *86 + - *321 responses: '204': description: Response @@ -76713,8 +77243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -76724,7 +77254,7 @@ paths: application/json: schema: type: array - items: &531 + items: &526 title: Issue Event description: Issue Event type: object @@ -76767,8 +77297,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *529 - required: *530 + properties: *524 + required: *525 nullable: true label: title: Issue Event Label @@ -76812,7 +77342,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *169 + requested_team: *177 dismissed_review: title: Issue Event Dismissed Review type: object @@ -76877,7 +77407,7 @@ paths: required: - from - to - author_association: *72 + author_association: *71 lock_reason: type: string nullable: true @@ -76890,8 +77420,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 required: - id - node_id @@ -77057,7 +77587,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -77075,8 +77605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *330 - - *331 + - *325 + - *326 - name: event_id in: path required: true @@ -77087,7 +77617,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *526 examples: default: value: @@ -77280,7 +77810,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *336 + '410': *331 '403': *29 x-github: githubCloudOnly: false @@ -77314,9 +77844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *330 - - *331 - - &533 + - *325 + - *326 + - &528 name: issue_number description: The number that identifies the issue. in: path @@ -77328,12 +77858,12 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 - '301': *339 + default: *527 + '301': *334 '404': *6 - '410': *336 + '410': *331 '304': *37 x-github: githubCloudOnly: false @@ -77358,9 +77888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: false content: @@ -77464,15 +77994,15 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 '422': *15 - '503': *77 + '503': *105 '403': *29 - '301': *339 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77490,9 +78020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: false content: @@ -77518,9 +78048,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77536,9 +78066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: content: application/json: @@ -77563,9 +78093,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77587,9 +78117,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: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - name: assignee in: path required: true @@ -77629,10 +78159,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *330 - - *331 - - *533 - - *79 + - *325 + - *326 + - *528 + - *77 - *17 - *19 responses: @@ -77642,13 +78172,13 @@ paths: application/json: schema: type: array - items: *527 + items: *522 examples: - default: *534 + default: *529 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77677,9 +78207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: true content: @@ -77701,16 +78231,16 @@ paths: description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: *528 + default: *523 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *336 + '410': *331 '422': *15 '404': *6 x-github: @@ -77738,9 +78268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - *17 - *19 responses: @@ -77750,14 +78280,14 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *535 + default: *530 headers: - Link: *58 - '301': *339 + Link: *54 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77785,9 +78315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: true content: @@ -77809,17 +78339,17 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *339 + '301': *334 '403': *29 - '410': *336 + '410': *331 '422': *15 '404': *6 x-github: @@ -77850,9 +78380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -77864,15 +78394,15 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 - '301': *339 + default: *527 + '301': *334 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *331 x-github: triggersNotification: true githubCloudOnly: false @@ -77898,9 +78428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - *17 - *19 responses: @@ -77910,14 +78440,14 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *535 + default: *530 headers: - Link: *58 - '301': *339 + Link: *54 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77934,9 +78464,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - *17 - *19 responses: @@ -77950,7 +78480,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &537 + - &532 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -77981,8 +78511,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 label: type: object properties: @@ -78004,7 +78534,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &533 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78035,8 +78565,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 label: type: object properties: @@ -78124,8 +78654,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 assignee: *4 assigner: *4 required: @@ -78140,7 +78670,7 @@ paths: - performed_via_github_app - assignee - assigner - - &539 + - &534 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78171,8 +78701,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 milestone: type: object properties: @@ -78191,7 +78721,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &535 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78222,8 +78752,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 milestone: type: object properties: @@ -78242,7 +78772,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &536 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78273,8 +78803,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 rename: type: object properties: @@ -78296,7 +78826,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &537 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78327,10 +78857,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 review_requester: *4 - requested_team: *169 + requested_team: *177 requested_reviewer: *4 required: - review_requester @@ -78343,7 +78873,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &538 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78374,10 +78904,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 review_requester: *4 - requested_team: *169 + requested_team: *177 requested_reviewer: *4 required: - review_requester @@ -78390,7 +78920,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &539 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78421,8 +78951,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 dismissed_review: type: object properties: @@ -78450,7 +78980,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &540 title: Locked Issue Event description: Locked Issue Event type: object @@ -78481,8 +79011,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 lock_reason: type: string example: '"off-topic"' @@ -78498,7 +79028,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &541 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78529,8 +79059,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 project_card: type: object properties: @@ -78564,7 +79094,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &542 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78595,8 +79125,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 project_card: type: object properties: @@ -78630,7 +79160,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &543 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78661,8 +79191,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 project_card: type: object properties: @@ -78696,7 +79226,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &544 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78786,8 +79316,8 @@ paths: name: label color: red headers: - Link: *58 - '410': *336 + Link: *54 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78804,9 +79334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - *17 - *19 responses: @@ -78816,9 +79346,9 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: &536 + default: &531 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78835,10 +79365,10 @@ paths: color: a2eeef default: false headers: - Link: *58 - '301': *339 + Link: *54 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78855,9 +79385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: false content: @@ -78916,12 +79446,12 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 - '301': *339 + default: *531 + '301': *334 '404': *6 - '410': *336 + '410': *331 '422': *15 x-github: githubCloudOnly: false @@ -78938,9 +79468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: false content: @@ -79000,12 +79530,12 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 - '301': *339 + default: *531 + '301': *334 '404': *6 - '410': *336 + '410': *331 '422': *15 x-github: githubCloudOnly: false @@ -79022,15 +79552,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 responses: '204': description: Response - '301': *339 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79049,9 +79579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - name: name in: path required: true @@ -79064,7 +79594,7 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: default: value: @@ -79075,9 +79605,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *339 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79097,9 +79627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: false content: @@ -79127,7 +79657,7 @@ paths: '204': description: Response '403': *29 - '410': *336 + '410': *331 '404': *6 '422': *15 x-github: @@ -79145,9 +79675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 responses: '204': description: Response @@ -79177,20 +79707,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 responses: '200': description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 - '301': *339 + default: *527 + '301': *334 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79207,9 +79737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - 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. @@ -79235,13 +79765,13 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79259,9 +79789,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: true content: @@ -79293,16 +79823,16 @@ paths: description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '201': description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -79324,10 +79854,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *330 - - *331 - - *533 + - *325 - *326 + - *528 + - *321 responses: '204': description: Response @@ -79356,9 +79886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: true content: @@ -79380,9 +79910,9 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79415,9 +79945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - *17 - *19 responses: @@ -79427,13 +79957,13 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *535 + default: *530 headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79461,9 +79991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: true content: @@ -79490,16 +80020,16 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *336 + '410': *331 '422': *15 '404': *6 x-github: @@ -79519,9 +80049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 requestBody: required: true content: @@ -79552,13 +80082,13 @@ paths: description: Response content: application/json: - schema: *71 + schema: *70 examples: - default: *532 + default: *527 '403': *29 '404': *6 '422': *7 - '503': *77 + '503': *105 x-github: triggersNotification: true githubCloudOnly: false @@ -79576,9 +80106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *330 - - *331 - - *533 + - *325 + - *326 + - *528 - *17 - *19 responses: @@ -79593,6 +80123,11 @@ paths: description: Timeline Event type: object anyOf: + - *532 + - *533 + - *534 + - *535 + - *536 - *537 - *538 - *539 @@ -79601,11 +80136,6 @@ paths: - *542 - *543 - *544 - - *545 - - *546 - - *547 - - *548 - - *549 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -79648,7 +80178,7 @@ paths: issue_url: type: string format: uri - author_association: *72 + author_association: *71 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -79658,9 +80188,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *67 + required: *68 + reactions: *72 required: - event - actor @@ -79691,7 +80221,7 @@ paths: properties: type: type: string - issue: *71 + issue: *70 required: - event - created_at @@ -79891,7 +80421,7 @@ paths: type: string body_text: type: string - author_association: *72 + author_association: *71 required: - event - id @@ -79914,7 +80444,7 @@ paths: type: string comments: type: array - items: &569 + items: &564 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80003,7 +80533,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *72 + author_association: *71 _links: type: object properties: @@ -80087,7 +80617,7 @@ paths: enum: - line - file - reactions: *73 + reactions: *72 body_html: type: string example: '"

comment body

"' @@ -80123,7 +80653,7 @@ paths: type: string comments: type: array - items: *461 + items: *456 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80154,8 +80684,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 assignee: *4 required: - id @@ -80198,8 +80728,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 assignee: *4 required: - id @@ -80242,8 +80772,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 state_reason: type: string nullable: true @@ -80410,9 +80940,9 @@ paths: type: User site_admin: true headers: - Link: *58 + Link: *54 '404': *6 - '410': *336 + '410': *331 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80429,8 +80959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -80440,7 +80970,7 @@ paths: application/json: schema: type: array - items: &550 + items: &545 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80490,7 +81020,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80506,8 +81036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -80543,9 +81073,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *545 examples: - default: &551 + default: &546 value: id: 1 key: ssh-rsa AAA... @@ -80579,9 +81109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *330 - - *331 - - &552 + - *325 + - *326 + - &547 name: key_id description: The unique identifier of the key. in: path @@ -80593,9 +81123,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *545 examples: - default: *551 + default: *546 '404': *6 x-github: githubCloudOnly: false @@ -80613,9 +81143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *330 - - *331 - - *552 + - *325 + - *326 + - *547 responses: '204': description: Response @@ -80635,8 +81165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -80646,11 +81176,11 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 + default: *531 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -80669,8 +81199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -80706,9 +81236,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *69 examples: - default: &553 + default: &548 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80740,8 +81270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *330 - - *331 + - *325 + - *326 - name: name in: path required: true @@ -80752,9 +81282,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *69 examples: - default: *553 + default: *548 '404': *6 x-github: githubCloudOnly: false @@ -80771,8 +81301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *330 - - *331 + - *325 + - *326 - name: name in: path required: true @@ -80811,7 +81341,7 @@ paths: description: Response content: application/json: - schema: *70 + schema: *69 examples: default: value: @@ -80837,8 +81367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *330 - - *331 + - *325 + - *326 - name: name in: path required: true @@ -80864,8 +81394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -80904,9 +81434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *330 - - *331 - - *437 + - *325 + - *326 + - *432 responses: '200': description: Response @@ -80968,8 +81498,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true required: - _links @@ -81051,8 +81581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -81117,8 +81647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -81152,9 +81682,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *457 examples: - default: *554 + default: *549 '204': description: Response when already merged '404': @@ -81179,8 +81709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *330 - - *331 + - *325 + - *326 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81221,12 +81751,12 @@ paths: application/json: schema: type: array - items: &555 + items: &550 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *255 + required: *256 examples: default: value: @@ -81265,7 +81795,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -81282,8 +81812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -81323,9 +81853,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *550 examples: - default: &556 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81384,9 +81914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *330 - - *331 - - &557 + - *325 + - *326 + - &552 name: milestone_number description: The number that identifies the milestone. in: path @@ -81398,9 +81928,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *550 examples: - default: *556 + default: *551 '404': *6 x-github: githubCloudOnly: false @@ -81417,9 +81947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *330 - - *331 - - *557 + - *325 + - *326 + - *552 requestBody: required: false content: @@ -81457,9 +81987,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *550 examples: - default: *556 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81475,9 +82005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *330 - - *331 - - *557 + - *325 + - *326 + - *552 responses: '204': description: Response @@ -81498,9 +82028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *330 - - *331 - - *557 + - *325 + - *326 + - *552 - *17 - *19 responses: @@ -81510,11 +82040,11 @@ paths: application/json: schema: type: array - items: *70 + items: *69 examples: - default: *536 + default: *531 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81531,12 +82061,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *330 - - *331 - - *558 - - *559 - - *79 - - *560 + - *325 + - *326 + - *553 + - *554 + - *77 + - *555 - *17 - *19 responses: @@ -81546,11 +82076,11 @@ paths: application/json: schema: type: array - items: *99 + items: *97 examples: - default: *561 + default: *556 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -81572,8 +82102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: false content: @@ -81631,14 +82161,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &562 + schema: &557 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -81763,7 +82293,7 @@ paths: - custom_404 - public examples: - default: &563 + default: &558 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -81804,8 +82334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -81859,9 +82389,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *557 examples: - default: *563 + default: *558 '422': *15 '409': *47 x-github: @@ -81884,8 +82414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -81984,8 +82514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -82011,8 +82541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -82022,7 +82552,7 @@ paths: application/json: schema: type: array - items: &564 + items: &559 title: Page Build description: Page Build type: object @@ -82097,7 +82627,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82116,8 +82646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *330 - - *331 + - *325 + - *326 responses: '201': description: Response @@ -82162,16 +82692,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *564 + schema: *559 examples: - default: &565 + default: &560 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82219,8 +82749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *330 - - *331 + - *325 + - *326 - name: build_id in: path required: true @@ -82231,9 +82761,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *559 examples: - default: *565 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82253,8 +82783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -82359,9 +82889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *330 - - *331 - - &566 + - *325 + - *326 + - &561 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82419,11 +82949,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *330 - - *331 - - *566 + - *325 + - *326 + - *561 responses: - '204': *163 + '204': *171 '404': *6 x-github: githubCloudOnly: false @@ -82448,8 +82978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -82680,7 +83210,7 @@ paths: description: Empty response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -82707,8 +83237,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: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Private vulnerability reporting status @@ -82745,10 +83275,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: - '204': *163 + '204': *171 '422': *14 x-github: githubCloudOnly: false @@ -82767,10 +83297,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: - '204': *163 + '204': *171 '422': *14 x-github: githubCloudOnly: false @@ -82791,8 +83321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *330 - - *331 + - *325 + - *326 - name: state description: Indicates the state of the projects to return. in: query @@ -82813,7 +83343,7 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: default: value: @@ -82849,11 +83379,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *58 + Link: *54 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *331 '422': *7 x-github: githubCloudOnly: false @@ -82876,8 +83406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -82903,13 +83433,13 @@ paths: description: Response content: application/json: - schema: *244 + schema: *249 examples: - default: *335 + default: *330 '401': *25 '403': *29 '404': *6 - '410': *336 + '410': *331 '422': *7 x-github: githubCloudOnly: false @@ -82932,8 +83462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -82941,7 +83471,7 @@ paths: application/json: schema: type: array - items: *262 + items: *267 examples: default: value: @@ -82972,8 +83502,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -82985,7 +83515,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *262 + items: *267 required: - properties examples: @@ -83035,8 +83565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *330 - - *331 + - *325 + - *326 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83096,11 +83626,11 @@ paths: application/json: schema: type: array - items: *466 + items: *461 examples: - default: *567 + default: *562 headers: - Link: *58 + Link: *54 '304': *37 '422': *15 x-github: @@ -83130,8 +83660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -83196,7 +83726,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &566 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83307,8 +83837,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *255 + required: *256 nullable: true active_lock_reason: type: string @@ -83353,7 +83883,7 @@ paths: nullable: true requested_teams: type: array - items: *308 + items: *303 nullable: true head: type: object @@ -83362,7 +83892,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: *4 @@ -83379,7 +83909,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *66 sha: type: string user: *4 @@ -83392,14 +83922,14 @@ paths: _links: type: object properties: - comments: *252 - commits: *252 - statuses: *252 - html: *252 - issue: *252 - review_comments: *252 - review_comment: *252 - self: *252 + comments: *257 + commits: *257 + statuses: *257 + html: *257 + issue: *257 + review_comments: *257 + review_comment: *257 + self: *257 required: - comments - commits @@ -83409,8 +83939,8 @@ paths: - review_comments - review_comment - self - author_association: *72 - auto_merge: *568 + author_association: *71 + auto_merge: *563 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -83502,7 +84032,7 @@ paths: - merged_by - review_comments examples: - default: &572 + default: &567 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84029,8 +84559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *330 - - *331 + - *325 + - *326 - name: sort in: query required: false @@ -84049,7 +84579,7 @@ paths: enum: - asc - desc - - *79 + - *77 - *17 - *19 responses: @@ -84059,9 +84589,9 @@ paths: application/json: schema: type: array - items: *569 + items: *564 examples: - default: &574 + default: &569 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84113,7 +84643,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84138,17 +84668,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 responses: '200': description: Response content: application/json: - schema: *569 + schema: *564 examples: - default: &570 + default: &565 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84223,9 +84753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 requestBody: required: true content: @@ -84247,9 +84777,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *564 examples: - default: *570 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84265,9 +84795,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 responses: '204': description: Response @@ -84288,9 +84818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 - 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. @@ -84316,11 +84846,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -84339,9 +84869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *330 - - *331 - - *88 + - *325 + - *326 + - *86 requestBody: required: true content: @@ -84373,16 +84903,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '201': description: Reaction created content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -84404,10 +84934,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *330 - - *331 - - *88 + - *325 - *326 + - *86 + - *321 responses: '204': description: Response @@ -84450,9 +84980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *330 - - *331 - - &573 + - *325 + - *326 + - &568 name: pull_number description: The number that identifies the pull request. in: path @@ -84465,9 +84995,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *571 + schema: *566 examples: - default: *572 + default: *567 '304': *37 '404': *6 '406': @@ -84475,8 +85005,8 @@ paths: content: application/json: schema: *3 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84502,9 +85032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: false content: @@ -84546,9 +85076,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *566 examples: - default: *572 + default: *567 '422': *15 '403': *29 x-github: @@ -84570,9 +85100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: true content: @@ -84632,21 +85162,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84672,10 +85202,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *330 - - *331 - - *573 - - *96 + - *325 + - *326 + - *568 + - *94 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -84685,7 +85215,7 @@ paths: enum: - asc - desc - - *79 + - *77 - *17 - *19 responses: @@ -84695,11 +85225,11 @@ paths: application/json: schema: type: array - items: *569 + items: *564 examples: - default: *574 + default: *569 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84730,9 +85260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: true content: @@ -84837,7 +85367,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *564 examples: example-for-a-multi-line-comment: value: @@ -84925,10 +85455,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *330 - - *331 - - *573 - - *88 + - *325 + - *326 + - *568 + - *86 requestBody: required: true content: @@ -84950,7 +85480,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *564 examples: default: value: @@ -85036,9 +85566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 - *17 - *19 responses: @@ -85048,11 +85578,11 @@ paths: application/json: schema: type: array - items: *462 + items: *457 examples: - default: *575 + default: *570 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85080,9 +85610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 - *17 - *19 responses: @@ -85092,7 +85622,7 @@ paths: application/json: schema: type: array - items: *475 + items: *470 examples: default: value: @@ -85108,10 +85638,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *58 + Link: *54 '422': *15 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85130,9 +85660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 responses: '204': description: Response if pull request has been merged @@ -85155,9 +85685,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: false content: @@ -85268,9 +85798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 responses: '200': description: Response @@ -85286,7 +85816,7 @@ paths: items: *4 teams: type: array - items: *169 + items: *177 required: - users - teams @@ -85327,7 +85857,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85345,9 +85875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: false content: @@ -85384,7 +85914,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *461 examples: default: value: @@ -85920,9 +86450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: true content: @@ -85956,7 +86486,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *461 examples: default: value: @@ -86461,9 +86991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 - *17 - *19 responses: @@ -86473,7 +87003,7 @@ paths: application/json: schema: type: array - items: &576 + items: &571 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86542,7 +87072,7 @@ paths: type: string body_text: type: string - author_association: *72 + author_association: *71 required: - id - node_id @@ -86591,7 +87121,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86624,9 +87154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: false content: @@ -86712,9 +87242,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *571 examples: - default: &578 + default: &573 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86777,10 +87307,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - &577 + - *325 + - *326 + - *568 + - &572 name: review_id description: The unique identifier of the review. in: path @@ -86792,9 +87322,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *571 examples: - default: &579 + default: &574 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -86853,10 +87383,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *325 + - *326 + - *568 + - *572 requestBody: required: true content: @@ -86879,7 +87409,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *571 examples: default: value: @@ -86941,18 +87471,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *325 + - *326 + - *568 + - *572 responses: '200': description: Response content: application/json: - schema: *576 + schema: *571 examples: - default: *578 + default: *573 '422': *7 '404': *6 x-github: @@ -86979,10 +87509,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *330 - - *331 - - *573 - - *577 + - *325 + - *326 + - *568 + - *572 - *17 - *19 responses: @@ -87061,13 +87591,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *72 + author_association: *71 _links: type: object properties: - self: *252 - html: *252 - pull_request: *252 + self: *257 + html: *257 + pull_request: *257 required: - self - html @@ -87076,7 +87606,7 @@ paths: type: string body_html: type: string - reactions: *73 + reactions: *72 side: description: The side of the first line of the range for a multi-line comment. @@ -87188,7 +87718,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -87217,10 +87747,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *325 + - *326 + - *568 + - *572 requestBody: required: true content: @@ -87248,7 +87778,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *571 examples: default: value: @@ -87311,10 +87841,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *330 - - *331 - - *573 - - *577 + - *325 + - *326 + - *568 + - *572 requestBody: required: true content: @@ -87349,9 +87879,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *571 examples: - default: *579 + default: *574 '404': *6 '422': *7 '403': *29 @@ -87373,9 +87903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *330 - - *331 - - *573 + - *325 + - *326 + - *568 requestBody: required: false content: @@ -87438,8 +87968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *330 - - *331 + - *325 + - *326 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87452,9 +87982,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *575 examples: - default: &581 + default: &576 value: type: file encoding: base64 @@ -87496,8 +88026,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *330 - - *331 + - *325 + - *326 - name: dir description: The alternate path to look for a README file in: path @@ -87517,9 +88047,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *575 examples: - default: *581 + default: *576 '404': *6 '422': *15 x-github: @@ -87541,8 +88071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -87552,7 +88082,7 @@ paths: application/json: schema: type: array - items: *582 + items: *577 examples: default: value: @@ -87626,7 +88156,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -87646,8 +88176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -87723,9 +88253,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *577 examples: - default: &586 + default: &581 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -87830,9 +88360,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *330 - - *331 - - &584 + - *325 + - *326 + - &579 name: asset_id description: The unique identifier of the asset. in: path @@ -87844,9 +88374,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *578 examples: - default: &585 + default: &580 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 @@ -87881,7 +88411,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87897,9 +88427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *330 - - *331 - - *584 + - *325 + - *326 + - *579 requestBody: required: false content: @@ -87927,9 +88457,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *578 examples: - default: *585 + default: *580 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87945,9 +88475,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *330 - - *331 - - *584 + - *325 + - *326 + - *579 responses: '204': description: Response @@ -87971,8 +88501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -88057,16 +88587,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *582 + schema: *577 examples: - default: *586 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88083,8 +88613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *330 - - *331 + - *325 + - *326 - name: tag description: tag parameter in: path @@ -88097,9 +88627,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *577 examples: - default: *586 + default: *581 '404': *6 x-github: githubCloudOnly: false @@ -88121,9 +88651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *330 - - *331 - - &587 + - *325 + - *326 + - &582 name: release_id description: The unique identifier of the release. in: path @@ -88137,9 +88667,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: *582 + schema: *577 examples: - default: *586 + default: *581 '401': description: Unauthorized x-github: @@ -88157,9 +88687,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *330 - - *331 - - *587 + - *325 + - *326 + - *582 requestBody: required: false content: @@ -88223,9 +88753,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *577 examples: - default: *586 + default: *581 '404': description: Not Found if the discussion category name is invalid content: @@ -88246,9 +88776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *330 - - *331 - - *587 + - *325 + - *326 + - *582 responses: '204': description: Response @@ -88268,9 +88798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *330 - - *331 - - *587 + - *325 + - *326 + - *582 - *17 - *19 responses: @@ -88280,7 +88810,7 @@ paths: application/json: schema: type: array - items: *583 + items: *578 examples: default: value: @@ -88317,7 +88847,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88361,9 +88891,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: - - *330 - - *331 - - *587 + - *325 + - *326 + - *582 - name: name in: query required: true @@ -88389,7 +88919,7 @@ paths: description: Response for successful upload content: application/json: - schema: *583 + schema: *578 examples: response-for-successful-upload: value: @@ -88444,9 +88974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *330 - - *331 - - *587 + - *325 + - *326 + - *582 - 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. @@ -88470,11 +89000,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -88493,9 +89023,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *330 - - *331 - - *587 + - *325 + - *326 + - *582 requestBody: required: true content: @@ -88525,16 +89055,16 @@ paths: description: Reaction exists content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '201': description: Reaction created content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -88556,10 +89086,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *330 - - *331 - - *587 + - *325 - *326 + - *582 + - *321 responses: '204': description: Response @@ -88583,9 +89113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *330 - - *331 - - *400 + - *325 + - *326 + - *395 - *17 - *19 responses: @@ -88601,8 +89131,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *271 - - &588 + - *276 + - &583 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -88621,69 +89151,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *272 - - *588 - - allOf: - - *273 - - *588 - - allOf: - - *274 - - *588 - - allOf: - - *589 - - *588 - - allOf: - - *275 - - *588 - - allOf: - - *276 - - *588 - allOf: - *277 - - *588 + - *583 - allOf: - *278 - - *588 + - *583 - allOf: - *279 - - *588 + - *583 + - allOf: + - *584 + - *583 - allOf: - *280 - - *588 + - *583 - allOf: - *281 - - *588 + - *583 - allOf: - *282 - - *588 + - *583 - allOf: - *283 - - *588 + - *583 - allOf: - *284 - - *588 + - *583 - allOf: - *285 - - *588 + - *583 - allOf: - *286 - - *588 + - *583 - allOf: - *287 - - *588 + - *583 - allOf: - *288 - - *588 + - *583 - allOf: - *289 - - *588 + - *583 - allOf: - *290 - - *588 + - *583 + - allOf: + - *291 + - *583 + - allOf: + - *292 + - *583 + - allOf: + - *293 + - *583 + - allOf: + - *294 + - *583 + - allOf: + - *295 + - *583 - allOf: - - *590 - - *588 + - *585 + - *583 examples: default: value: @@ -88722,8 +89252,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 - name: includes_parents @@ -88734,7 +89264,7 @@ paths: schema: type: boolean default: true - - *591 + - *586 responses: '200': description: Response @@ -88742,7 +89272,7 @@ paths: application/json: schema: type: array - items: *291 + items: *296 examples: default: value: @@ -88773,7 +89303,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -88789,8 +89319,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *325 + - *326 requestBody: description: Request body required: true @@ -88810,16 +89340,16 @@ paths: - tag - push default: branch - enforcement: *268 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *274 + conditions: *271 rules: type: array description: An array of rules within the ruleset. - items: *592 + items: *587 required: - name - enforcement @@ -88850,9 +89380,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *296 examples: - default: &602 + default: &597 value: id: 42 name: super cool ruleset @@ -88885,7 +89415,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *106 + '500': *104 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -88899,12 +89429,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *330 - - *331 - - *593 - - *594 - - *595 - - *596 + - *325 + - *326 + - *588 + - *589 + - *590 + - *591 - *17 - *19 responses: @@ -88912,11 +89442,11 @@ paths: description: Response content: application/json: - schema: *597 + schema: *592 examples: - default: *598 + default: *593 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88935,19 +89465,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *330 - - *331 - - *599 + - *325 + - *326 + - *594 responses: '200': description: Response content: application/json: - schema: *600 + schema: *595 examples: - default: *601 + default: *596 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88973,8 +89503,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -88994,11 +89524,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *296 examples: - default: *602 + default: *597 '404': *6 - '500': *106 + '500': *104 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -89014,8 +89544,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89040,16 +89570,16 @@ paths: - branch - tag - push - enforcement: *268 + enforcement: *273 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *274 + conditions: *271 rules: description: An array of rules within the ruleset. type: array - items: *592 + items: *587 examples: default: value: @@ -89077,11 +89607,11 @@ paths: description: Response content: application/json: - schema: *291 + schema: *296 examples: - default: *602 + default: *597 '404': *6 - '500': *106 + '500': *104 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -89097,8 +89627,8 @@ paths: category: repos subcategory: rules parameters: - - *330 - - *331 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89109,7 +89639,7 @@ paths: '204': description: Response '404': *6 - '500': *106 + '500': *104 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -89121,8 +89651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 - name: ruleset_id @@ -89138,11 +89668,11 @@ paths: application/json: schema: type: array - items: *294 + items: *299 examples: - default: *603 + default: *598 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89159,8 +89689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *330 - - *331 + - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89178,7 +89708,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *599 examples: default: value: @@ -89211,7 +89741,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89233,21 +89763,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *330 - - *331 - - *295 - - *296 - - *297 - - *298 + - *325 + - *326 + - *600 + - *601 + - *602 + - *603 - *48 - *19 - *17 + - *604 - *605 - *606 - - *299 - - *300 - - *301 - - *302 + - *607 + - *608 + - *609 responses: '200': description: Response @@ -89255,11 +89785,11 @@ paths: application/json: schema: type: array - items: &610 + items: &613 type: object properties: - number: *54 - created_at: *55 + number: *157 + created_at: *158 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -89267,15 +89797,15 @@ paths: format: date-time readOnly: true nullable: true - url: *56 - html_url: *57 + url: *160 + html_url: *161 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *607 - resolution: *608 + state: *610 + resolution: *611 resolved_at: type: string format: date-time @@ -89371,7 +89901,7 @@ paths: pull request. ' - oneOf: *609 + oneOf: *612 nullable: true has_more_locations: type: boolean @@ -89498,7 +90028,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89520,16 +90050,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 - - *302 + - *325 + - *326 + - *426 + - *609 responses: '200': description: Response content: application/json: - schema: *610 + schema: *613 examples: default: value: @@ -89560,7 +90090,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89581,9 +90111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 requestBody: required: true content: @@ -89591,8 +90121,8 @@ paths: schema: type: object properties: - state: *607 - resolution: *608 + state: *610 + resolution: *611 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -89610,7 +90140,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *613 examples: default: value: @@ -89663,7 +90193,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89685,9 +90215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *330 - - *331 - - *431 + - *325 + - *326 + - *426 - *19 - *17 responses: @@ -89698,7 +90228,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &769 + items: &771 type: object properties: type: @@ -89724,9 +90254,6 @@ paths: example: commit details: oneOf: - - *611 - - *612 - - *613 - *614 - *615 - *616 @@ -89737,6 +90264,9 @@ paths: - *621 - *622 - *623 + - *624 + - *625 + - *626 examples: default: value: @@ -89796,11 +90326,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *58 + Link: *54 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89822,8 +90352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -89831,14 +90361,14 @@ paths: schema: type: object properties: - reason: &625 + reason: &628 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *624 + placeholder_id: *627 required: - reason - placeholder_id @@ -89855,7 +90385,7 @@ paths: schema: type: object properties: - reason: *625 + reason: *628 expire_at: type: string format: date-time @@ -89878,7 +90408,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *77 + '503': *105 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -89890,6 +90420,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 @@ -89898,13 +90431,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: - - *330 - - *331 + - *325 + - *326 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *77 + '503': *105 '200': description: Response content: @@ -89914,7 +90447,7 @@ paths: properties: incremental_scans: type: array - items: &626 + items: &629 description: Information on a single scan performed by secret scanning on the repository type: object @@ -89940,15 +90473,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *626 + items: *629 backfill_scans: type: array - items: *626 + items: *629 custom_pattern_backfill_scans: type: array items: allOf: - - *626 + - *629 - type: object properties: pattern_name: @@ -90018,8 +90551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *330 - - *331 + - *325 + - *326 - *48 - name: sort description: The property to sort the results by. @@ -90063,9 +90596,9 @@ paths: application/json: schema: type: array - items: *627 + items: *630 examples: - default: *628 + default: *631 '400': *14 '404': *6 x-github: @@ -90088,8 +90621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -90162,7 +90695,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *302 required: - login - type @@ -90249,9 +90782,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: &630 + default: &633 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -90484,8 +91017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -90589,7 +91122,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: default: value: @@ -90736,17 +91269,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *325 + - *326 + - *632 responses: '200': description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: *630 + default: *633 '403': *29 '404': *6 x-github: @@ -90770,9 +91303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *330 - - *331 - - *629 + - *325 + - *326 + - *632 requestBody: required: true content: @@ -90845,7 +91378,7 @@ paths: login: type: string description: The username of the user credited. - type: *307 + type: *302 required: - login - type @@ -90931,17 +91464,17 @@ paths: description: Response content: application/json: - schema: *627 + schema: *630 examples: - default: *630 - add_credit: *630 + default: *633 + add_credit: *633 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *111 + schema: *110 examples: invalid_state_transition: value: @@ -90972,9 +91505,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: - - *330 - - *331 - - *629 + - *325 + - *326 + - *632 responses: '202': *39 '400': *14 @@ -91001,17 +91534,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *330 - - *331 - - *629 + - *325 + - *326 + - *632 responses: '202': description: Response content: application/json: - schema: *338 + schema: *333 examples: - default: *340 + default: *335 '400': *14 '422': *15 '403': *29 @@ -91037,8 +91570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -91115,7 +91648,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -91137,8 +91670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91147,7 +91680,7 @@ paths: application/json: schema: type: array - items: &631 + items: &634 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91160,7 +91693,7 @@ paths: - 1124 - -435 '202': *39 - '204': *163 + '204': *171 '422': description: Repository contains more than 10,000 commits x-github: @@ -91180,8 +91713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -91230,7 +91763,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *163 + '204': *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91257,8 +91790,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -91332,7 +91865,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *163 + '204': *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91354,8 +91887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -91509,8 +92042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -91520,7 +92053,7 @@ paths: application/json: schema: type: array - items: *631 + items: *634 examples: default: value: @@ -91533,7 +92066,7 @@ paths: - - 0 - 2 - 21 - '204': *163 + '204': *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91553,8 +92086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *330 - - *331 + - *325 + - *326 - name: sha in: path required: true @@ -91608,7 +92141,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *635 examples: default: value: @@ -91662,8 +92195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -91675,9 +92208,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91695,14 +92228,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &633 + schema: &636 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -91770,8 +92303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: false content: @@ -91797,7 +92330,7 @@ paths: description: Response content: application/json: - schema: *633 + schema: *636 examples: default: value: @@ -91824,8 +92357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -91845,8 +92378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -91902,7 +92435,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91925,8 +92458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -91934,7 +92467,7 @@ paths: application/json: schema: type: array - items: &634 + items: &637 title: Tag protection description: Tag protection type: object @@ -91986,8 +92519,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: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -92010,7 +92543,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *637 examples: default: value: @@ -92041,8 +92574,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: - - *330 - - *331 + - *325 + - *326 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92079,8 +92612,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *330 - - *331 + - *325 + - *326 - name: ref in: path required: true @@ -92116,8 +92649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *330 - - *331 + - *325 + - *326 - *17 - *19 responses: @@ -92127,11 +92660,11 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - default: *227 + default: *232 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -92149,8 +92682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *330 - - *331 + - *325 + - *326 - *19 - *17 responses: @@ -92158,7 +92691,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &638 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92170,7 +92703,7 @@ paths: required: - names examples: - default: &636 + default: &639 value: names: - octocat @@ -92193,8 +92726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -92225,9 +92758,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *638 examples: - default: *636 + default: *639 '404': *6 '422': *7 x-github: @@ -92248,9 +92781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *330 - - *331 - - &637 + - *325 + - *326 + - &640 name: per description: The time frame to display results for. in: query @@ -92279,7 +92812,7 @@ paths: example: 128 clones: type: array - items: &638 + items: &641 title: Traffic type: object properties: @@ -92366,8 +92899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -92457,8 +92990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *330 - - *331 + - *325 + - *326 responses: '200': description: Response @@ -92518,9 +93051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *330 - - *331 - - *637 + - *325 + - *326 + - *640 responses: '200': description: Response @@ -92539,7 +93072,7 @@ paths: example: 3782 views: type: array - items: *638 + items: *641 required: - uniques - count @@ -92616,8 +93149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *330 - - *331 + - *325 + - *326 requestBody: required: true content: @@ -92653,7 +93186,7 @@ paths: description: Response content: application/json: - schema: *137 + schema: *141 examples: default: value: @@ -92891,8 +93424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -92915,8 +93448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -92938,8 +93471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -92965,8 +93498,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *330 - - *331 + - *325 + - *326 - name: ref in: path required: true @@ -93058,9 +93591,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *333 examples: - default: *340 + default: *335 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93101,7 +93634,7 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: default: value: @@ -93290,7 +93823,7 @@ paths: html_url: type: string format: uri - repository: *137 + repository: *141 score: type: number file_size: @@ -93308,7 +93841,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &639 + text_matches: &642 title: Search Result Text Matches type: array items: @@ -93422,7 +93955,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *77 + '503': *105 '422': *15 '403': *29 x-github: @@ -93470,7 +94003,7 @@ paths: enum: - author-date - committer-date - - &640 + - &643 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 @@ -93541,7 +94074,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *393 nullable: true comment_count: type: integer @@ -93561,7 +94094,7 @@ paths: url: type: string format: uri - verification: *513 + verification: *508 required: - author - committer @@ -93580,7 +94113,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *398 + properties: *393 nullable: true parents: type: array @@ -93593,12 +94126,12 @@ paths: type: string sha: type: string - repository: *137 + repository: *141 score: type: number node_id: type: string - text_matches: *639 + text_matches: *642 required: - sha - node_id @@ -93790,7 +94323,7 @@ paths: - interactions - created - updated - - *640 + - *643 - *17 - *19 - name: advanced_search @@ -93887,11 +94420,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: type: string state_reason: @@ -93908,8 +94441,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *250 - required: *251 + properties: *255 + required: *256 nullable: true comments: type: integer @@ -93923,7 +94456,7 @@ paths: type: string format: date-time nullable: true - text_matches: *639 + text_matches: *642 pull_request: type: object properties: @@ -93956,10 +94489,10 @@ paths: type: string score: type: number - author_association: *72 + author_association: *71 draft: type: boolean - repository: *67 + repository: *66 body_html: type: string body_text: @@ -93967,7 +94500,7 @@ paths: timeline_url: type: string format: uri - type: *209 + type: *215 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -93977,9 +94510,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 - reactions: *73 + properties: *67 + required: *68 + reactions: *72 required: - assignee - closed_at @@ -94095,7 +94628,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *77 + '503': *105 '422': *15 '304': *37 '403': *29 @@ -94148,7 +94681,7 @@ paths: enum: - created - updated - - *640 + - *643 - *17 - *19 responses: @@ -94192,7 +94725,7 @@ paths: nullable: true score: type: number - text_matches: *639 + text_matches: *642 required: - id - node_id @@ -94277,7 +94810,7 @@ paths: - forks - help-wanted-issues - updated - - *640 + - *643 - *17 - *19 responses: @@ -94496,8 +95029,8 @@ paths: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true permissions: type: object @@ -94516,7 +95049,7 @@ paths: - admin - pull - push - text_matches: *639 + text_matches: *642 temp_clone_token: type: string allow_merge_commit: @@ -94718,7 +95251,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *77 + '503': *105 '422': *15 '304': *37 x-github: @@ -94816,7 +95349,7 @@ paths: type: string format: uri nullable: true - text_matches: *639 + text_matches: *642 related: type: array nullable: true @@ -95007,7 +95540,7 @@ paths: - followers - repositories - joined - - *640 + - *643 - *17 - *19 responses: @@ -95111,7 +95644,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *639 + text_matches: *642 blog: type: string nullable: true @@ -95170,7 +95703,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *77 + '503': *105 '422': *15 x-github: githubCloudOnly: false @@ -95190,7 +95723,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &644 + - &647 name: team_id description: The unique identifier of the team. in: path @@ -95202,9 +95735,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *310 examples: - default: *316 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -95231,7 +95764,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *644 + - *647 requestBody: required: true content: @@ -95294,16 +95827,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *315 + schema: *310 examples: - default: *316 + default: *311 '201': description: Response content: application/json: - schema: *315 + schema: *310 examples: - default: *316 + default: *311 '404': *6 '422': *15 '403': *29 @@ -95331,7 +95864,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *644 + - *647 responses: '204': description: Response @@ -95362,7 +95895,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *644 + - *647 - *48 - *17 - *19 @@ -95373,11 +95906,11 @@ paths: application/json: schema: type: array - items: *317 + items: *312 examples: - default: *645 + default: *648 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95404,7 +95937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *644 + - *647 requestBody: required: true content: @@ -95438,9 +95971,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: *318 + default: *313 x-github: triggersNotification: true githubCloudOnly: false @@ -95467,16 +96000,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *644 - - *319 + - *647 + - *314 responses: '200': description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: *318 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95501,8 +96034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *644 - - *319 + - *647 + - *314 requestBody: required: false content: @@ -95525,9 +96058,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: *646 + default: *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95552,8 +96085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *644 - - *319 + - *647 + - *314 responses: '204': description: Response @@ -95582,8 +96115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *644 - - *319 + - *647 + - *314 - *48 - *17 - *19 @@ -95594,11 +96127,11 @@ paths: application/json: schema: type: array - items: *320 + items: *315 examples: - default: *647 + default: *650 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95625,8 +96158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *644 - - *319 + - *647 + - *314 requestBody: required: true content: @@ -95648,9 +96181,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *315 examples: - default: *321 + default: *316 x-github: triggersNotification: true githubCloudOnly: false @@ -95677,17 +96210,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *647 + - *314 + - *317 responses: '200': description: Response content: application/json: - schema: *320 + schema: *315 examples: - default: *321 + default: *316 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95712,9 +96245,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *647 + - *314 + - *317 requestBody: required: true content: @@ -95736,9 +96269,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *315 examples: - default: *648 + default: *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95763,9 +96296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *647 + - *314 + - *317 responses: '204': description: Response @@ -95794,9 +96327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *647 + - *314 + - *317 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -95822,11 +96355,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95853,9 +96386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *644 - - *319 - - *322 + - *647 + - *314 + - *317 requestBody: required: true content: @@ -95887,9 +96420,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95915,8 +96448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *647 + - *314 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -95942,11 +96475,11 @@ paths: application/json: schema: type: array - items: *323 + items: *318 examples: - default: *325 + default: *320 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95973,8 +96506,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *644 - - *319 + - *647 + - *314 requestBody: required: true content: @@ -96006,9 +96539,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *318 examples: - default: *324 + default: *319 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96032,7 +96565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *644 + - *647 - *17 - *19 responses: @@ -96042,11 +96575,11 @@ paths: application/json: schema: type: array - items: *206 + items: *212 examples: - default: *207 + default: *213 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96070,7 +96603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *644 + - *647 - name: role description: Filters members returned by their role in the team. in: query @@ -96093,9 +96626,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96121,8 +96654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *644 - - *63 + - *647 + - *59 responses: '204': description: if user is a member @@ -96158,8 +96691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *644 - - *63 + - *647 + - *59 responses: '204': description: Response @@ -96198,8 +96731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *644 - - *63 + - *647 + - *59 responses: '204': description: Response @@ -96235,16 +96768,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *647 + - *59 responses: '200': description: Response content: application/json: - schema: *327 + schema: *322 examples: - response-if-user-is-a-team-maintainer: *649 + response-if-user-is-a-team-maintainer: *652 '404': *6 x-github: githubCloudOnly: false @@ -96277,8 +96810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *647 + - *59 requestBody: required: false content: @@ -96303,9 +96836,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: *650 + response-if-users-membership-with-team-is-now-pending: *653 '403': description: Forbidden if team synchronization is set up '422': @@ -96339,8 +96872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *644 - - *63 + - *647 + - *59 responses: '204': description: Response @@ -96368,7 +96901,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *644 + - *647 - *17 - *19 responses: @@ -96378,11 +96911,11 @@ paths: application/json: schema: type: array - items: *328 + items: *323 examples: - default: *651 + default: *654 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96406,16 +96939,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *644 - - *329 + - *647 + - *324 responses: '200': description: Response content: application/json: - schema: *328 + schema: *323 examples: - default: *652 + default: *655 '404': description: Not Found if project is not managed by this team x-github: @@ -96439,8 +96972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *644 - - *329 + - *647 + - *324 requestBody: required: false content: @@ -96507,8 +97040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *644 - - *329 + - *647 + - *324 responses: '204': description: Response @@ -96535,7 +97068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *644 + - *647 - *17 - *19 responses: @@ -96545,11 +97078,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -96577,15 +97110,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *644 - - *330 - - *331 + - *647 + - *325 + - *326 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *653 + schema: *656 examples: alternative-response-with-extra-repository-information: value: @@ -96736,9 +97269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *644 - - *330 - - *331 + - *647 + - *325 + - *326 requestBody: required: false content: @@ -96788,9 +97321,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *644 - - *330 - - *331 + - *647 + - *325 + - *326 responses: '204': description: Response @@ -96815,7 +97348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *644 + - *647 - *17 - *19 responses: @@ -96825,11 +97358,11 @@ paths: application/json: schema: type: array - items: *169 + items: *177 examples: - response-if-child-teams-exist: *654 + response-if-child-teams-exist: *657 headers: - Link: *58 + Link: *54 '404': *6 '403': *29 '422': *15 @@ -96860,7 +97393,7 @@ paths: application/json: schema: oneOf: - - &656 + - &659 title: Private User description: Private User type: object @@ -97063,7 +97596,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *655 + - *658 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97216,7 +97749,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *659 examples: default: value: @@ -97295,7 +97828,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 '304': *37 '404': *6 '403': *29 @@ -97318,7 +97851,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: - - *63 + - *59 responses: '204': description: If the user is blocked @@ -97346,7 +97879,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -97370,7 +97903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -97419,11 +97952,11 @@ paths: type: integer codespaces: type: array - items: *214 + items: *220 examples: - default: *215 + default: *221 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -97560,21 +98093,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '401': *25 '403': *29 '404': *6 - '503': *77 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97614,7 +98147,7 @@ paths: type: integer secrets: type: array - items: &657 + items: &660 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97654,9 +98187,9 @@ paths: - visibility - selected_repositories_url examples: - default: *454 + default: *449 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97724,13 +98257,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *145 + - *149 responses: '200': description: Response content: application/json: - schema: *657 + schema: *660 examples: default: value: @@ -97760,7 +98293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *145 + - *149 requestBody: required: true content: @@ -97805,7 +98338,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -97833,7 +98366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *145 + - *149 responses: '204': description: Response @@ -97858,7 +98391,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *145 + - *149 responses: '200': description: Response @@ -97874,13 +98407,13 @@ paths: type: integer repositories: type: array - items: *137 + items: *141 examples: - default: *658 + default: *661 '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97901,7 +98434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *145 + - *149 requestBody: required: true content: @@ -97933,7 +98466,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97955,7 +98488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *145 + - *149 - name: repository_id in: path required: true @@ -97967,7 +98500,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97988,7 +98521,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *145 + - *149 - name: repository_id in: path required: true @@ -98000,7 +98533,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *106 + '500': *104 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98020,17 +98553,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *216 + - *222 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98054,7 +98587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *216 + - *222 requestBody: required: false content: @@ -98084,9 +98617,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '401': *25 '403': *29 '404': *6 @@ -98108,11 +98641,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *216 + - *222 responses: '202': *39 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98137,13 +98670,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *216 + - *222 responses: '202': description: Response content: application/json: - schema: &659 + schema: &662 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98184,7 +98717,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &660 + default: &663 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98192,7 +98725,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98216,7 +98749,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *216 + - *222 - name: export_id in: path required: true @@ -98229,9 +98762,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *662 examples: - default: *660 + default: *663 '404': *6 x-github: githubCloudOnly: false @@ -98252,7 +98785,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *216 + - *222 responses: '200': description: Response @@ -98268,11 +98801,11 @@ paths: type: integer machines: type: array - items: *661 + items: *664 examples: - default: *662 + default: *665 '304': *37 - '500': *106 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -98299,7 +98832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *216 + - *222 requestBody: required: true content: @@ -98349,13 +98882,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *338 + repository: *333 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *452 - required: *453 + properties: *447 + required: *448 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -99129,17 +99662,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *216 + - *222 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *451 + default: *446 '304': *37 - '500': *106 + '500': *104 '400': *14 '401': *25 '402': @@ -99169,16 +99702,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *216 + - *222 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *451 - '500': *106 + default: *446 + '500': *104 '401': *25 '403': *29 '404': *6 @@ -99207,9 +99740,9 @@ paths: application/json: schema: type: array - items: *228 + items: *233 examples: - default: &674 + default: &676 value: - id: 197 name: hello_docker @@ -99310,7 +99843,7 @@ paths: application/json: schema: type: array - items: &663 + items: &666 title: Email description: Email type: object @@ -99375,16 +99908,16 @@ paths: application/json: schema: type: array - items: *663 + items: *666 examples: - default: &676 + default: &678 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -99452,7 +99985,7 @@ paths: application/json: schema: type: array - items: *663 + items: *666 examples: default: value: @@ -99562,9 +100095,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -99595,9 +100128,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -99617,7 +100150,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: - - *63 + - *59 responses: '204': description: if the person is followed by the authenticated user @@ -99647,7 +100180,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -99672,7 +100205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *63 + - *59 responses: '204': description: Response @@ -99708,7 +100241,7 @@ paths: application/json: schema: type: array - items: &664 + items: &667 title: GPG Key description: A unique encryption key type: object @@ -99839,7 +100372,7 @@ paths: - subkeys - revoked examples: - default: &690 + default: &692 value: - id: 3 name: Octocat's GPG Key @@ -99871,7 +100404,7 @@ paths: revoked: false raw_key: string headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -99924,9 +100457,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: &665 + default: &668 value: id: 3 name: Octocat's GPG Key @@ -99983,7 +100516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &666 + - &669 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -99995,9 +100528,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: *665 + default: *668 '404': *6 '304': *37 '403': *29 @@ -100020,7 +100553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *666 + - *669 responses: '204': description: Response @@ -100163,7 +100696,7 @@ paths: suspended_at: suspended_by: headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -100209,11 +100742,11 @@ paths: type: string repositories: type: array - items: *67 + items: *66 examples: - default: *129 + default: *133 headers: - Link: *58 + Link: *54 '404': *6 '403': *29 '304': *37 @@ -100236,7 +100769,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *126 + - *130 responses: '204': description: Response @@ -100262,7 +100795,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *126 + - *130 responses: '204': description: Response @@ -100296,12 +100829,12 @@ paths: application/json: schema: anyOf: - - *204 + - *210 - type: object properties: {} additionalProperties: false examples: - default: *205 + default: *211 '204': description: Response when there are no restrictions x-github: @@ -100325,7 +100858,7 @@ paths: required: true content: application/json: - schema: *524 + schema: *519 examples: default: value: @@ -100336,7 +100869,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *210 examples: default: value: @@ -100417,7 +100950,7 @@ paths: - closed - all default: open - - *212 + - *218 - name: sort description: What to sort results by. in: query @@ -100430,7 +100963,7 @@ paths: - comments default: created - *48 - - *79 + - *77 - *17 - *19 responses: @@ -100440,11 +100973,11 @@ paths: application/json: schema: type: array - items: *71 + items: *70 examples: - default: *213 + default: *219 headers: - Link: *58 + Link: *54 '404': *6 '304': *37 x-github: @@ -100475,7 +101008,7 @@ paths: application/json: schema: type: array - items: &667 + items: &670 title: Key description: Key type: object @@ -100526,7 +101059,7 @@ paths: verified: false read_only: false headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -100576,9 +101109,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: &668 + default: &671 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100611,15 +101144,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *547 responses: '200': description: Response content: application/json: - schema: *667 + schema: *670 examples: - default: *668 + default: *671 '404': *6 '304': *37 '403': *29 @@ -100642,7 +101175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *552 + - *547 responses: '204': description: Response @@ -100675,7 +101208,7 @@ paths: application/json: schema: type: array - items: &669 + items: &672 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -100732,7 +101265,7 @@ paths: - id - type - login - plan: *90 + plan: *88 required: - billing_cycle - next_billing_date @@ -100743,7 +101276,7 @@ paths: - account - plan examples: - default: &670 + default: &673 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -100776,7 +101309,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *58 + Link: *54 '304': *37 '401': *25 '404': *6 @@ -100805,11 +101338,11 @@ paths: application/json: schema: type: array - items: *669 + items: *672 examples: - default: *670 + default: *673 headers: - Link: *58 + Link: *54 '304': *37 '401': *25 x-github: @@ -100847,7 +101380,7 @@ paths: application/json: schema: type: array - items: *219 + items: *224 examples: default: value: @@ -100924,7 +101457,7 @@ paths: type: User site_admin: false headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -100949,13 +101482,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *105 + - *63 responses: '200': description: Response content: application/json: - schema: *219 + schema: *224 examples: default: value: @@ -101013,7 +101546,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *105 + - *63 requestBody: required: true content: @@ -101038,7 +101571,7 @@ paths: description: Response content: application/json: - schema: *219 + schema: *224 examples: default: value: @@ -101106,7 +101639,7 @@ paths: application/json: schema: type: array - items: *221 + items: *226 examples: default: value: @@ -101259,7 +101792,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -101359,7 +101892,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *226 examples: default: value: @@ -101539,7 +102072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *222 + - *227 - name: exclude in: query required: false @@ -101552,7 +102085,7 @@ paths: description: Response content: application/json: - schema: *221 + schema: *226 examples: default: value: @@ -101746,7 +102279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *222 + - *227 responses: '302': description: Response @@ -101772,7 +102305,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *222 + - *227 responses: '204': description: Response @@ -101801,8 +102334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *222 - - *671 + - *227 + - *674 responses: '204': description: Response @@ -101826,7 +102359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *222 + - *227 - *17 - *19 responses: @@ -101836,11 +102369,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 '404': *6 x-github: githubCloudOnly: false @@ -101873,11 +102406,11 @@ paths: application/json: schema: type: array - items: *218 + items: *61 examples: - default: *672 + default: *101 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -101917,7 +102450,7 @@ paths: - docker - nuget - container - - *673 + - *675 - *19 - *17 responses: @@ -101927,10 +102460,10 @@ paths: application/json: schema: type: array - items: *228 + items: *233 examples: - default: *674 - '400': *675 + default: *676 + '400': *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101950,16 +102483,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *235 + - *236 responses: '200': description: Response content: application/json: - schema: *228 + schema: *233 examples: - default: &691 + default: &693 value: id: 40201 name: octo-name @@ -102072,8 +102605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *235 + - *236 responses: '204': description: Response @@ -102103,8 +102636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *230 - - *231 + - *235 + - *236 - name: token description: package token schema: @@ -102136,8 +102669,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: - - *230 - - *231 + - *235 + - *236 - *19 - *17 - name: state @@ -102157,7 +102690,7 @@ paths: application/json: schema: type: array - items: *232 + items: *237 examples: default: value: @@ -102206,15 +102739,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *230 - - *231 - - *233 + - *235 + - *236 + - *238 responses: '200': description: Response content: application/json: - schema: *232 + schema: *237 examples: default: value: @@ -102250,9 +102783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *230 - - *231 - - *233 + - *235 + - *236 + - *238 responses: '204': description: Response @@ -102282,9 +102815,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *230 - - *231 - - *233 + - *235 + - *236 + - *238 responses: '204': description: Response @@ -102340,7 +102873,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *249 examples: default: value: @@ -102412,11 +102945,11 @@ paths: application/json: schema: type: array - items: *663 + items: *666 examples: - default: *676 + default: *678 headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -102525,9 +103058,9 @@ paths: application/json: schema: type: array - items: *67 + items: *66 examples: - default: &683 + default: &685 summary: Default response value: - id: 1296269 @@ -102648,7 +103181,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '422': *15 '304': *37 '403': *29 @@ -102831,9 +103364,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *333 examples: - default: *340 + default: *335 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102871,11 +103404,11 @@ paths: application/json: schema: type: array - items: *526 + items: *521 examples: - default: *677 + default: *679 headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -102896,7 +103429,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *208 + - *214 responses: '204': description: Response @@ -102919,7 +103452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *208 + - *214 responses: '204': description: Response @@ -102952,7 +103485,7 @@ paths: application/json: schema: type: array - items: &678 + items: &680 title: Social account description: Social media account type: object @@ -102967,12 +103500,12 @@ paths: - provider - url examples: - default: &679 + default: &681 value: - provider: twitter url: https://twitter.com/github headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103029,9 +103562,9 @@ paths: application/json: schema: type: array - items: *678 + items: *680 examples: - default: *679 + default: *681 '422': *15 '304': *37 '404': *6 @@ -103118,7 +103651,7 @@ paths: application/json: schema: type: array - items: &680 + items: &682 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103138,7 +103671,7 @@ paths: - title - created_at examples: - default: &705 + default: &707 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103151,7 +103684,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103204,9 +103737,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *682 examples: - default: &681 + default: &683 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103237,7 +103770,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: - - &682 + - &684 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103249,9 +103782,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *682 examples: - default: *681 + default: *683 '404': *6 '304': *37 '403': *29 @@ -103274,7 +103807,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: - - *682 + - *684 responses: '204': description: Response @@ -103303,7 +103836,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &706 + - &708 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 @@ -103326,13 +103859,13 @@ paths: application/json: schema: type: array - items: *67 + items: *66 examples: - default-response: *683 + default-response: *685 application/vnd.github.v3.star+json: schema: type: array - items: &707 + items: &709 title: Starred Repository description: Starred Repository type: object @@ -103340,7 +103873,7 @@ paths: starred_at: type: string format: date-time - repo: *67 + repo: *66 required: - starred_at - repo @@ -103468,7 +104001,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -103488,8 +104021,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: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response if this repository is starred by you @@ -103517,8 +104050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -103542,8 +104075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *330 - - *331 + - *325 + - *326 responses: '204': description: Response @@ -103576,11 +104109,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -103615,7 +104148,7 @@ paths: application/json: schema: type: array - items: *315 + items: *310 examples: default: value: @@ -103666,7 +104199,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *58 + Link: *54 '304': *37 '404': *6 '403': *29 @@ -103693,7 +104226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *92 + - *90 responses: '200': description: Response @@ -103701,10 +104234,10 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *659 + - *658 examples: - default-response: &685 + default-response: &687 summary: Default response value: login: octocat @@ -103739,7 +104272,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &686 + response-with-git-hub-plan-information: &688 summary: Response with GitHub plan information value: login: octocat @@ -103799,7 +104332,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *684 + - *686 - *17 responses: '200': @@ -103810,7 +104343,7 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: Link: example: ; rel="next" @@ -103840,7 +104373,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *63 + - *59 responses: '200': description: Response @@ -103848,11 +104381,11 @@ paths: application/json: schema: oneOf: - - *656 - - *655 + - *659 + - *658 examples: - default-response: *685 - response-with-git-hub-plan-information: *686 + default-response: *687 + response-with-git-hub-plan-information: *688 '404': *6 x-github: githubCloudOnly: false @@ -103878,7 +104411,7 @@ paths: - *17 - *40 - *41 - - *63 + - *59 requestBody: required: true content: @@ -103901,8 +104434,8 @@ paths: required: - subject_digests examples: - default: *687 - withPredicateType: *688 + default: *689 + withPredicateType: *690 responses: '200': description: Response @@ -103955,7 +104488,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *689 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103973,7 +104506,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *63 + - *59 requestBody: required: true content: @@ -104038,7 +104571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *63 + - *59 - name: subject_digest description: Subject Digest in: path @@ -104069,7 +104602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *63 + - *59 - name: attestation_id description: Attestation ID in: path @@ -104107,7 +104640,7 @@ paths: - *17 - *40 - *41 - - *63 + - *59 - name: subject_digest description: Subject Digest in: path @@ -104159,12 +104692,12 @@ paths: initiator: type: string examples: - default: *394 + default: *389 '201': description: Response content: application/json: - schema: *146 + schema: *150 examples: default: value: @@ -104190,7 +104723,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: - - *63 + - *59 responses: '200': description: Response @@ -104198,9 +104731,9 @@ paths: application/json: schema: type: array - items: *228 + items: *233 examples: - default: *674 + default: *676 '403': *29 '401': *25 x-github: @@ -104223,7 +104756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104233,7 +104766,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -104295,8 +104828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: + - *59 - *63 - - *105 - *17 - *19 responses: @@ -104306,7 +104839,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -104383,7 +104916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104393,7 +104926,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -104451,7 +104984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104463,9 +104996,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104482,7 +105015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104494,9 +105027,9 @@ paths: type: array items: *4 examples: - default: *62 + default: *58 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104513,7 +105046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *63 + - *59 - name: target_user in: path required: true @@ -104540,8 +105073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *63 - - *79 + - *59 + - *77 - *17 - *19 responses: @@ -104551,11 +105084,11 @@ paths: application/json: schema: type: array - items: *80 + items: *78 examples: - default: *81 + default: *79 headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -104574,7 +105107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104584,11 +105117,11 @@ paths: application/json: schema: type: array - items: *664 + items: *667 examples: - default: *690 + default: *692 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104610,7 +105143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *63 + - *59 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -104682,7 +105215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *63 + - *59 responses: '200': description: Response @@ -104690,7 +105223,7 @@ paths: application/json: schema: *22 examples: - default: *523 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104708,7 +105241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104743,7 +105276,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104763,7 +105296,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -104773,11 +105306,11 @@ paths: application/json: schema: type: array - items: *218 + items: *61 examples: - default: *672 + default: *101 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104814,8 +105347,8 @@ paths: - docker - nuget - container - - *673 - - *63 + - *675 + - *59 - *19 - *17 responses: @@ -104825,12 +105358,12 @@ paths: application/json: schema: type: array - items: *228 + items: *233 examples: - default: *674 + default: *676 '403': *29 '401': *25 - '400': *675 + '400': *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104850,17 +105383,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *230 - - *231 - - *63 + - *235 + - *236 + - *59 responses: '200': description: Response content: application/json: - schema: *228 + schema: *233 examples: - default: *691 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104881,9 +105414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *230 - - *231 - - *63 + - *235 + - *236 + - *59 responses: '204': description: Response @@ -104915,9 +105448,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *230 - - *231 - - *63 + - *235 + - *236 + - *59 - name: token description: package token schema: @@ -104949,9 +105482,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: - - *230 - - *231 - - *63 + - *235 + - *236 + - *59 responses: '200': description: Response @@ -104959,7 +105492,7 @@ paths: application/json: schema: type: array - items: *232 + items: *237 examples: default: value: @@ -105017,16 +105550,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *230 - - *231 - - *233 - - *63 + - *235 + - *236 + - *238 + - *59 responses: '200': description: Response content: application/json: - schema: *232 + schema: *237 examples: default: value: @@ -105061,10 +105594,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *230 - - *231 - - *63 - - *233 + - *235 + - *236 + - *59 + - *238 responses: '204': description: Response @@ -105096,10 +105629,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *230 - - *231 - - *63 - - *233 + - *235 + - *236 + - *59 + - *238 responses: '204': description: Response @@ -105125,7 +105658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *63 + - *59 - name: state description: Indicates the state of the projects to return. in: query @@ -105146,7 +105679,7 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: default: value: @@ -105182,7 +105715,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *58 + Link: *54 '422': *15 x-github: githubCloudOnly: false @@ -105204,7 +105737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *63 + - *59 - name: q description: Limit results to projects of the specified type. in: query @@ -105221,11 +105754,11 @@ paths: application/json: schema: type: array - items: *245 + items: *250 examples: - default: *246 + default: *251 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105245,18 +105778,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *247 - - *63 + - *252 + - *59 responses: '200': description: Response content: application/json: - schema: *245 + schema: *250 examples: - default: *246 + default: *251 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105276,8 +105809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *247 - - *63 + - *252 + - *59 - *17 - *40 - *41 @@ -105288,11 +105821,11 @@ paths: application/json: schema: type: array - items: *248 + items: *253 examples: - default: *249 + default: *254 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105312,19 +105845,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *247 - - *692 - - *63 + - *252 + - *694 + - *59 responses: '200': description: Response content: application/json: - schema: *248 + schema: *253 examples: - default: *249 + default: *254 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105345,8 +105878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *247 - - *63 + - *252 + - *59 - *40 - *41 - *17 @@ -105358,16 +105891,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -105375,11 +105911,11 @@ paths: application/json: schema: type: array - items: *255 + items: *260 examples: - default: *256 + default: *261 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105398,8 +105934,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *63 - - *247 + - *59 + - *252 requestBody: required: true description: Details of the item to add to the project. @@ -105436,10 +105972,10 @@ paths: description: Response content: application/json: - schema: *693 + schema: *695 examples: - issue: *254 - pull_request: *254 + issue: *259 + pull_request: *259 '304': *37 '403': *29 '401': *25 @@ -105459,30 +105995,33 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *247 - - *63 - - *257 + - *252 + - *59 + - *262 - 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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *255 + schema: *260 examples: - default: *256 + default: *261 headers: - Link: *58 + Link: *54 '304': *37 '403': *29 '401': *25 @@ -105501,9 +106040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *247 - - *63 - - *257 + - *252 + - *59 + - *262 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -105573,13 +106112,13 @@ paths: description: Response content: application/json: - schema: *255 + schema: *260 examples: - text_field: *256 - number_field: *256 - date_field: *256 - single_select_field: *256 - iteration_field: *256 + text_field: *261 + number_field: *261 + date_field: *261 + single_select_field: *261 + iteration_field: *261 '401': *25 '403': *29 '404': *6 @@ -105599,9 +106138,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *247 - - *63 - - *257 + - *252 + - *59 + - *262 responses: '204': description: Response @@ -105628,7 +106167,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -105638,7 +106177,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -105703,7 +106242,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -105713,7 +106252,7 @@ paths: application/json: schema: type: array - items: *98 + items: *96 examples: default: value: @@ -105776,7 +106315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *63 + - *59 - name: type description: Limit results to repositories of the specified type. in: query @@ -105819,11 +106358,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105845,15 +106384,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: *695 + default: *697 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105875,15 +106414,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *696 + schema: *698 examples: - default: *697 + default: *699 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105892,7 +106431,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 @@ -105900,12 +106442,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: - - *63 - - *107 - - *698 - - *108 - - *699 + - *59 + - *106 - *700 + - *107 + - *701 + - *702 responses: '200': description: Response when getting a billing premium request usage report @@ -105958,19 +106500,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 @@ -106012,8 +106554,8 @@ paths: '400': *14 '403': *29 '404': *6 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106035,15 +106577,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *63 + - *59 responses: '200': description: Response content: application/json: - schema: *701 + schema: *703 examples: - default: *702 + default: *704 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106063,11 +106605,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *63 + - *59 + - *106 + - *705 - *107 - - *703 - - *108 - - *704 + - *706 responses: '200': description: Response when getting a billing usage report @@ -106137,8 +106679,8 @@ paths: repositoryName: user/example '400': *14 '403': *29 - '500': *106 - '503': *77 + '500': *104 + '503': *105 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106156,7 +106698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -106166,11 +106708,11 @@ paths: application/json: schema: type: array - items: *678 + items: *680 examples: - default: *679 + default: *681 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106188,7 +106730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -106198,11 +106740,11 @@ paths: application/json: schema: type: array - items: *680 + items: *682 examples: - default: *705 + default: *707 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106224,8 +106766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *63 - - *706 + - *59 + - *708 - *48 - *17 - *19 @@ -106237,13 +106779,13 @@ paths: schema: anyOf: - type: array - items: *707 + items: *709 - type: array - items: *67 + items: *66 examples: - default-response: *683 + default-response: *685 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106260,7 +106802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *63 + - *59 - *17 - *19 responses: @@ -106270,11 +106812,11 @@ paths: application/json: schema: type: array - items: *137 + items: *141 examples: - default: *234 + default: *239 headers: - Link: *58 + Link: *54 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106400,7 +106942,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &708 + enterprise: &710 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106458,7 +107000,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &709 + installation: &711 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106477,7 +107019,7 @@ x-webhooks: required: - id - node_id - organization: &710 + organization: &712 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106537,13 +107079,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &711 + repository: &713 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &741 + properties: &743 id: description: Unique identifier of the repository example: 42 @@ -106563,8 +107105,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *74 - required: *75 + properties: *73 + required: *74 nullable: true organization: title: Simple User @@ -107226,7 +107768,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &742 + required: &744 - archive_url - assignees_url - blobs_url @@ -107377,10 +107919,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -107456,11 +107998,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: &712 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + rule: &714 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) @@ -107683,11 +108225,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + rule: *714 sender: *4 required: - action @@ -107870,11 +108412,11 @@ x-webhooks: - everyone required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - rule: *712 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + rule: *714 sender: *4 required: - action @@ -107958,7 +108500,7 @@ x-webhooks: type: string enum: - completed - check_run: &714 + check_run: &716 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108011,8 +108553,8 @@ x-webhooks: type: string pull_requests: type: array - items: *76 - repository: *137 + items: *75 + repository: *141 status: example: completed type: string @@ -108049,7 +108591,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *713 + deployment: *715 details_url: example: https://example.com type: string @@ -108099,7 +108641,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *76 + items: *75 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -108134,10 +108676,10 @@ x-webhooks: - output - app - pull_requests - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + installation: *711 + enterprise: *710 + organization: *712 + repository: *713 sender: *4 required: - check_run @@ -108530,11 +109072,11 @@ x-webhooks: type: string enum: - created - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *716 + installation: *711 + enterprise: *710 + organization: *712 + repository: *713 sender: *4 required: - check_run @@ -108930,11 +109472,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *716 + installation: *711 + enterprise: *710 + organization: *712 + repository: *713 requested_action: description: The action requested by the user. type: object @@ -109339,11 +109881,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *714 - installation: *709 - enterprise: *708 - organization: *710 - repository: *711 + check_run: *716 + installation: *711 + enterprise: *710 + organization: *712 + repository: *713 sender: *4 required: - check_run @@ -110320,10 +110862,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -110993,10 +111535,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -111660,10 +112202,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -111829,7 +112371,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *421 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111974,20 +112516,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &715 + commit_oid: &717 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: *708 - installation: *709 - organization: *710 - ref: &716 + enterprise: *710 + installation: *711 + organization: *712 + ref: &718 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: *711 + repository: *713 sender: *4 required: - action @@ -112152,7 +112694,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *421 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112382,12 +112924,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *717 + enterprise: *710 + installation: *711 + organization: *712 + ref: *718 + repository: *713 sender: *4 required: - action @@ -112482,7 +113024,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *421 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -112653,12 +113195,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *717 + enterprise: *710 + installation: *711 + organization: *712 + ref: *718 + repository: *713 sender: *4 required: - action @@ -112824,7 +113366,7 @@ x-webhooks: required: - login - id - dismissed_comment: *426 + dismissed_comment: *421 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -112990,12 +113532,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *717 + enterprise: *710 + installation: *711 + organization: *712 + ref: *718 + repository: *713 sender: *4 required: - action @@ -113095,7 +113637,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *426 + dismissed_comment: *421 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113263,16 +113805,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *711 + repository: *713 sender: *4 required: - action @@ -113369,7 +113911,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *426 + dismissed_comment: *421 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113509,12 +114051,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *715 - enterprise: *708 - installation: *709 - organization: *710 - ref: *716 - repository: *711 + commit_oid: *717 + enterprise: *710 + installation: *711 + organization: *712 + ref: *718 + repository: *713 sender: *4 required: - action @@ -113771,10 +114313,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -113854,18 +114396,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *710 - pusher_type: &717 + organization: *712 + pusher_type: &719 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &718 + ref: &720 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -113875,7 +114417,7 @@ x-webhooks: enum: - tag - branch - repository: *711 + repository: *713 sender: *4 required: - ref @@ -113957,10 +114499,10 @@ x-webhooks: type: string enum: - created - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *263 + enterprise: *710 + installation: *711 + organization: *712 sender: *4 required: - action @@ -114045,9 +114587,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 sender: *4 required: - action @@ -114124,10 +114666,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *263 + enterprise: *710 + installation: *711 + organization: *712 sender: *4 required: - action @@ -114204,10 +114746,10 @@ x-webhooks: type: string enum: - updated - definition: *258 - enterprise: *708 - installation: *709 - organization: *710 + definition: *263 + enterprise: *710 + installation: *711 + organization: *712 sender: *4 required: - action @@ -114284,19 +114826,19 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - repository: *711 - organization: *710 + enterprise: *710 + installation: *711 + repository: *713 + organization: *712 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *262 + items: *267 old_property_values: type: array description: The old custom property values for the repository. - items: *262 + items: *267 required: - action - repository @@ -114372,18 +114914,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - pusher_type: *717 - ref: *718 + enterprise: *710 + installation: *711 + organization: *712 + pusher_type: *719 + ref: *720 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *711 + repository: *713 sender: *4 required: - ref @@ -114467,11 +115009,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -114555,11 +115097,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -114643,11 +115185,11 @@ x-webhooks: type: string enum: - created - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -114729,11 +115271,11 @@ x-webhooks: type: string enum: - dismissed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -114815,11 +115357,11 @@ x-webhooks: type: string enum: - fixed - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -114902,11 +115444,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -114988,11 +115530,11 @@ x-webhooks: type: string enum: - reopened - alert: *482 - installation: *709 - organization: *710 - enterprise: *708 - repository: *711 + alert: *477 + installation: *711 + organization: *712 + enterprise: *710 + repository: *713 sender: *4 required: - action @@ -115069,9 +115611,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - key: &719 + enterprise: *710 + installation: *711 + key: &721 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115107,8 +115649,8 @@ x-webhooks: - verified - created_at - read_only - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -115185,11 +115727,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - key: *719 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + key: *721 + organization: *712 + repository: *713 sender: *4 required: - action @@ -115750,12 +116292,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - workflow: &723 + workflow: &725 title: Workflow type: object nullable: true @@ -116481,13 +117023,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *488 + deployment: *483 pull_requests: type: array - items: *571 - repository: *711 - organization: *710 - installation: *709 + items: *566 + repository: *713 + organization: *712 + installation: *711 sender: *4 responses: '200': @@ -116558,7 +117100,7 @@ x-webhooks: type: string enum: - approved - approver: &720 + approver: &722 type: object properties: avatar_url: @@ -116601,11 +117143,11 @@ x-webhooks: type: string comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: &721 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + reviewers: &723 type: array items: type: object @@ -116684,7 +117226,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &722 + workflow_job_run: &724 type: object properties: conclusion: @@ -117415,18 +117957,18 @@ x-webhooks: type: string enum: - rejected - approver: *720 + approver: *722 comment: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - reviewers: *721 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + reviewers: *723 sender: *4 since: type: string - workflow_job_run: *722 + workflow_job_run: *724 workflow_job_runs: type: array items: @@ -118130,13 +118672,13 @@ x-webhooks: type: string enum: - requested - enterprise: *708 + enterprise: *710 environment: type: string - installation: *709 - organization: *710 - repository: *711 - requestor: &728 + installation: *711 + organization: *712 + repository: *713 + requestor: &730 title: User type: object nullable: true @@ -120035,12 +120577,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - workflow: *723 + workflow: *725 workflow_run: title: Deployment Workflow Run type: object @@ -120720,7 +121262,7 @@ x-webhooks: type: string enum: - answered - answer: &726 + answer: &728 type: object properties: author_association: @@ -120877,11 +121419,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121008,11 +121550,11 @@ x-webhooks: - from required: - category - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121095,11 +121637,11 @@ x-webhooks: type: string enum: - closed - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121181,7 +121723,7 @@ x-webhooks: type: string enum: - created - comment: &725 + comment: &727 type: object properties: author_association: @@ -121338,11 +121880,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121425,12 +121967,12 @@ x-webhooks: type: string enum: - deleted - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *727 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121525,12 +122067,12 @@ x-webhooks: - from required: - body - comment: *725 - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + comment: *727 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121614,11 +122156,11 @@ x-webhooks: type: string enum: - created - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121700,11 +122242,11 @@ x-webhooks: type: string enum: - deleted - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121804,11 +122346,11 @@ x-webhooks: type: string required: - from - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -121890,10 +122432,10 @@ x-webhooks: type: string enum: - labeled - discussion: *724 - enterprise: *708 - installation: *709 - label: &727 + discussion: *726 + enterprise: *710 + installation: *711 + label: &729 title: Label type: object properties: @@ -121925,8 +122467,8 @@ x-webhooks: - color - default - description - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122009,11 +122551,11 @@ x-webhooks: type: string enum: - locked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122095,11 +122637,11 @@ x-webhooks: type: string enum: - pinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122181,11 +122723,11 @@ x-webhooks: type: string enum: - reopened - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122270,16 +122812,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *724 - new_repository: *711 + new_discussion: *726 + new_repository: *713 required: - new_discussion - new_repository - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122362,10 +122904,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *724 - old_answer: *726 - organization: *710 - repository: *711 + discussion: *726 + old_answer: *728 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122447,12 +122989,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *724 - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122535,11 +123077,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122621,11 +123163,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *724 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + discussion: *726 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -122698,7 +123240,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *708 + enterprise: *710 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123358,9 +123900,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - forkee @@ -123506,9 +124048,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pages: description: The pages that were updated. type: array @@ -123545,7 +124087,7 @@ x-webhooks: - action - sha - html_url - repository: *711 + repository: *713 sender: *4 required: - pages @@ -123621,10 +124163,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories: &729 + organization: *712 + repositories: &731 description: An array of repository objects that the installation can access. type: array @@ -123650,8 +124192,8 @@ x-webhooks: - name - full_name - private - repository: *711 - requester: *728 + repository: *713 + requester: *730 sender: *4 required: - action @@ -123726,11 +124268,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *712 + repositories: *731 + repository: *713 requester: nullable: true sender: *4 @@ -123806,11 +124348,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *712 + repositories: *731 + repository: *713 requester: nullable: true sender: *4 @@ -123886,10 +124428,10 @@ x-webhooks: type: string enum: - added - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories_added: &730 + organization: *712 + repositories_added: &732 description: An array of repository objects, which were added to the installation. type: array @@ -123935,15 +124477,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *711 - repository_selection: &731 + repository: *713 + repository_selection: &733 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *728 + requester: *730 sender: *4 required: - action @@ -124022,10 +124564,10 @@ x-webhooks: type: string enum: - removed - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories_added: *730 + organization: *712 + repositories_added: *732 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124052,9 +124594,9 @@ x-webhooks: - name - full_name - private - repository: *711 - repository_selection: *731 - requester: *728 + repository: *713 + repository_selection: *733 + requester: *730 sender: *4 required: - action @@ -124133,11 +124675,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *712 + repositories: *731 + repository: *713 requester: nullable: true sender: *4 @@ -124315,10 +124857,10 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 target_type: type: string @@ -124397,11 +124939,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *708 + enterprise: *710 installation: *22 - organization: *710 - repositories: *729 - repository: *711 + organization: *712 + repositories: *731 + repository: *713 requester: nullable: true sender: *4 @@ -124525,8 +125067,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *68 - required: *69 + properties: *67 + required: *68 reactions: title: Reactions type: object @@ -124653,8 +125195,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125448,8 +125990,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125465,7 +126007,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -125798,8 +126340,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -125879,7 +126421,7 @@ x-webhooks: type: string enum: - deleted - comment: &732 + comment: &734 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126044,8 +126586,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126835,8 +127377,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126852,7 +127394,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -127187,8 +127729,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -127268,7 +127810,7 @@ x-webhooks: type: string enum: - edited - changes: &761 + changes: &763 description: The changes to the comment. type: object properties: @@ -127280,9 +127822,9 @@ x-webhooks: type: string required: - from - comment: *732 - enterprise: *708 - installation: *709 + comment: *734 + enterprise: *710 + installation: *711 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128075,8 +128617,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128092,7 +128634,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -128425,8 +128967,8 @@ x-webhooks: - state - locked - assignee - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -128510,15 +129052,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 + blocked_issue: *70 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + blocking_issue_repo: *66 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -128606,15 +129148,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 + blocked_issue: *70 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - blocking_issue_repo: *67 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + blocking_issue_repo: *66 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -128701,15 +129243,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 - blocked_issue_repo: *67 + blocked_issue: *70 + blocked_issue_repo: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -128797,15 +129339,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *71 - blocked_issue_repo: *67 + blocked_issue: *70 + blocked_issue_repo: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *71 - installation: *709 - organization: *710 - repository: *711 + blocking_issue: *70 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -128890,10 +129432,10 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - issue: &735 + assignee: *730 + enterprise: *710 + installation: *711 + issue: &737 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129682,11 +130224,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129702,7 +130244,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -129803,8 +130345,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -129884,8 +130426,8 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130679,11 +131221,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130699,7 +131241,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -130935,8 +131477,8 @@ x-webhooks: required: - state - closed_at - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -131015,8 +131557,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131801,11 +132343,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131821,7 +132363,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -131921,8 +132463,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -132001,8 +132543,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132809,11 +133351,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132829,7 +133371,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -132908,7 +133450,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &733 + milestone: &735 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133046,8 +133588,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -133146,8 +133688,8 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133936,11 +134478,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133953,7 +134495,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *215 title: description: Title of the issue type: string @@ -134057,9 +134599,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -134139,8 +134681,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134928,11 +135470,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134945,7 +135487,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *215 title: description: Title of the issue type: string @@ -135049,9 +135591,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *727 - organization: *710 - repository: *711 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -135131,8 +135673,8 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135944,11 +136486,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135961,7 +136503,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *209 + type: *215 title: description: Title of the issue type: string @@ -136042,8 +136584,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -136122,8 +136664,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136929,11 +137471,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136949,7 +137491,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -137027,9 +137569,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *733 - organization: *710 - repository: *711 + milestone: *735 + organization: *712 + repository: *713 sender: *4 required: - action @@ -137897,11 +138439,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137994,7 +138536,7 @@ x-webhooks: required: - login - id - type: *209 + type: *215 required: - id - number @@ -138463,8 +139005,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139253,11 +139795,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139273,7 +139815,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -139373,8 +139915,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -139454,9 +139996,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *708 - installation: *709 - issue: &734 + enterprise: *710 + installation: *711 + issue: &736 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140239,11 +140781,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140259,7 +140801,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -140359,8 +140901,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -140439,8 +140981,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141250,11 +141792,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141348,9 +141890,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *209 - organization: *710 - repository: *711 + type: *215 + organization: *712 + repository: *713 sender: *4 required: - action @@ -142216,11 +142758,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142236,7 +142778,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -142804,11 +143346,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + issue: *736 + organization: *712 + repository: *713 sender: *4 required: - action @@ -142888,12 +143430,12 @@ x-webhooks: type: string enum: - typed - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + issue: *737 + type: *215 + organization: *712 + repository: *713 sender: *4 required: - action @@ -142974,7 +143516,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &764 + assignee: &766 title: User type: object nullable: true @@ -143044,11 +143586,11 @@ x-webhooks: required: - login - id - enterprise: *708 - installation: *709 - issue: *735 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + issue: *737 + organization: *712 + repository: *713 sender: *4 required: - action @@ -143127,12 +143669,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - issue: *735 - label: *727 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + issue: *737 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -143212,8 +143754,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144023,11 +144565,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *641 - issue_dependencies_summary: *642 + sub_issues_summary: *644 + issue_dependencies_summary: *645 issue_field_values: type: array - items: *643 + items: *646 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144043,7 +144585,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *209 + type: *215 updated_at: type: string format: date-time @@ -144121,8 +144663,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -144202,11 +144744,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *708 - installation: *709 - issue: *734 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + issue: *736 + organization: *712 + repository: *713 sender: *4 required: - action @@ -144285,12 +144827,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *708 - installation: *709 - issue: *735 - type: *209 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + issue: *737 + type: *215 + organization: *712 + repository: *713 sender: *4 required: - action @@ -144370,11 +144912,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -144452,11 +144994,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -144566,11 +145108,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - label: *727 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + label: *729 + organization: *712 + repository: *713 sender: *4 required: - action @@ -144652,9 +145194,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: &736 + enterprise: *710 + installation: *711 + marketplace_purchase: &738 title: Marketplace Purchase type: object required: @@ -144737,8 +145279,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: &737 + organization: *712 + previous_marketplace_purchase: &739 title: Marketplace Purchase type: object properties: @@ -144818,7 +145360,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *713 sender: *4 required: - action @@ -144898,10 +145440,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *710 + installation: *711 + marketplace_purchase: *738 + organization: *712 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -144984,7 +145526,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *713 sender: *4 required: - action @@ -145066,10 +145608,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 + enterprise: *710 + installation: *711 + marketplace_purchase: *738 + organization: *712 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145151,7 +145693,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *711 + repository: *713 sender: *4 required: - action @@ -145232,8 +145774,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 marketplace_purchase: title: Marketplace Purchase type: object @@ -145315,9 +145857,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + organization: *712 + previous_marketplace_purchase: *739 + repository: *713 sender: *4 required: - action @@ -145397,12 +145939,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *708 - installation: *709 - marketplace_purchase: *736 - organization: *710 - previous_marketplace_purchase: *737 - repository: *711 + enterprise: *710 + installation: *711 + marketplace_purchase: *738 + organization: *712 + previous_marketplace_purchase: *739 + repository: *713 sender: *4 required: - action @@ -145504,11 +146046,11 @@ x-webhooks: type: string required: - to - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + member: *730 + organization: *712 + repository: *713 sender: *4 required: - action @@ -145608,11 +146150,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + member: *730 + organization: *712 + repository: *713 sender: *4 required: - action @@ -145691,11 +146233,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + member: *730 + organization: *712 + repository: *713 sender: *4 required: - action @@ -145773,11 +146315,11 @@ x-webhooks: type: string enum: - added - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + member: *730 + organization: *712 + repository: *713 scope: description: The scope of the membership. Currently, can only be `team`. @@ -145853,7 +146395,7 @@ x-webhooks: required: - login - id - team: &738 + team: &740 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146076,11 +146618,11 @@ x-webhooks: type: string enum: - removed - enterprise: *708 - installation: *709 - member: *728 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + member: *730 + organization: *712 + repository: *713 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146157,7 +146699,7 @@ x-webhooks: required: - login - id - team: *738 + team: *740 required: - action - scope @@ -146239,8 +146781,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *709 - merge_group: &740 + installation: *711 + merge_group: &742 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146259,15 +146801,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *739 + head_commit: *741 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -146353,10 +146895,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *709 - merge_group: *740 - organization: *710 - repository: *711 + installation: *711 + merge_group: *742 + organization: *712 + repository: *713 sender: *4 required: - action @@ -146429,7 +146971,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 + enterprise: *710 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -146538,16 +147080,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *709 - organization: *710 + installation: *711 + organization: *712 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *743 + required: *744 nullable: true sender: *4 required: @@ -146628,11 +147170,11 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + milestone: *735 + organization: *712 + repository: *713 sender: *4 required: - action @@ -146711,9 +147253,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - milestone: &743 + enterprise: *710 + installation: *711 + milestone: &745 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146850,8 +147392,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -146930,11 +147472,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + milestone: *735 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147044,11 +147586,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - milestone: *733 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + milestone: *735 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147128,11 +147670,11 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - milestone: *743 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + milestone: *745 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147211,11 +147753,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *730 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147294,11 +147836,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *728 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + blocked_user: *730 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147377,9 +147919,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - membership: &744 + enterprise: *710 + installation: *711 + membership: &746 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -147486,8 +148028,8 @@ x-webhooks: - role - organization_url - user - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147565,11 +148107,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + membership: *746 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147648,8 +148190,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -147765,10 +148307,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 - user: *728 + user: *730 required: - action - invitation @@ -147846,11 +148388,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + membership: *746 + organization: *712 + repository: *713 sender: *4 required: - action @@ -147937,11 +148479,11 @@ x-webhooks: properties: from: type: string - enterprise: *708 - installation: *709 - membership: *744 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + membership: *746 + organization: *712 + repository: *713 sender: *4 required: - action @@ -148017,9 +148559,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 package: description: Information about the package. type: object @@ -148518,7 +149060,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &745 + items: &747 title: Ruby Gems metadata type: object properties: @@ -148613,7 +149155,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *713 sender: *4 required: - action @@ -148689,9 +149231,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 package: description: Information about the package. type: object @@ -149044,7 +149586,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *747 source_url: type: string format: uri @@ -149114,7 +149656,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *713 sender: *4 required: - action @@ -149291,12 +149833,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *708 + enterprise: *710 id: type: integer - installation: *709 - organization: *710 - repository: *711 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - id @@ -149373,7 +149915,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &746 + personal_access_token_request: &748 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -149519,10 +150061,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *708 - organization: *710 + enterprise: *710 + organization: *712 sender: *4 - installation: *709 + installation: *711 required: - action - personal_access_token_request @@ -149599,11 +150141,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *748 + enterprise: *710 + organization: *712 sender: *4 - installation: *709 + installation: *711 required: - action - personal_access_token_request @@ -149679,11 +150221,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *746 - enterprise: *708 - organization: *710 + personal_access_token_request: *748 + enterprise: *710 + organization: *712 sender: *4 - installation: *709 + installation: *711 required: - action - personal_access_token_request @@ -149758,11 +150300,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *746 - organization: *710 - enterprise: *708 + personal_access_token_request: *748 + organization: *712 + enterprise: *710 sender: *4 - installation: *709 + installation: *711 required: - action - personal_access_token_request @@ -149867,7 +150409,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *747 + last_response: *749 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -149899,8 +150441,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 zen: description: Random string of GitHub zen. @@ -150145,10 +150687,10 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: &748 + enterprise: *710 + installation: *711 + organization: *712 + project_card: &750 title: Project Card type: object properties: @@ -150267,7 +150809,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *713 sender: *4 required: - action @@ -150348,11 +150890,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project_card: *750 + repository: *713 sender: *4 required: - action @@ -150432,9 +150974,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 project_card: title: Project Card type: object @@ -150562,8 +151104,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *743 + required: *744 nullable: true sender: *4 required: @@ -150657,11 +151199,11 @@ x-webhooks: - from required: - note - enterprise: *708 - installation: *709 - organization: *710 - project_card: *748 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project_card: *750 + repository: *713 sender: *4 required: - action @@ -150755,9 +151297,9 @@ x-webhooks: - from required: - column_id - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 project_card: allOf: - title: Project Card @@ -150947,7 +151489,7 @@ x-webhooks: type: string required: - after_id - repository: *711 + repository: *713 sender: *4 required: - action @@ -151027,10 +151569,10 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - organization: *710 - project: &750 + enterprise: *710 + installation: *711 + organization: *712 + project: &752 title: Project type: object properties: @@ -151154,7 +151696,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *711 + repository: *713 sender: *4 required: - action @@ -151234,10 +151776,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project_column: &749 + enterprise: *710 + installation: *711 + organization: *712 + project_column: &751 title: Project Column type: object properties: @@ -151276,7 +151818,7 @@ x-webhooks: - name - created_at - updated_at - repository: *711 + repository: *713 sender: *4 required: - action @@ -151355,18 +151897,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 + enterprise: *710 + installation: *711 + organization: *712 + project_column: *751 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *743 + required: *744 nullable: true sender: *4 required: @@ -151456,11 +151998,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project_column: *751 + repository: *713 sender: *4 required: - action @@ -151540,11 +152082,11 @@ x-webhooks: type: string enum: - moved - enterprise: *708 - installation: *709 - organization: *710 - project_column: *749 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project_column: *751 + repository: *713 sender: *4 required: - action @@ -151624,11 +152166,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project: *752 + repository: *713 sender: *4 required: - action @@ -151708,18 +152250,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - project: *750 + enterprise: *710 + installation: *711 + organization: *712 + project: *752 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *741 - required: *742 + properties: *743 + required: *744 nullable: true sender: *4 required: @@ -151821,11 +152363,11 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project: *752 + repository: *713 sender: *4 required: - action @@ -151904,11 +152446,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - organization: *710 - project: *750 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + project: *752 + repository: *713 sender: *4 required: - action @@ -151989,9 +152531,9 @@ x-webhooks: type: string enum: - closed - installation: *709 - organization: *710 - projects_v2: *245 + installation: *711 + organization: *712 + projects_v2: *250 sender: *4 required: - action @@ -152072,9 +152614,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2: *245 + installation: *711 + organization: *712 + projects_v2: *250 sender: *4 required: - action @@ -152155,9 +152697,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2: *245 + installation: *711 + organization: *712 + projects_v2: *250 sender: *4 required: - action @@ -152274,9 +152816,9 @@ x-webhooks: type: string to: type: string - installation: *709 - organization: *710 - projects_v2: *245 + installation: *711 + organization: *712 + projects_v2: *250 sender: *4 required: - action @@ -152359,7 +152901,7 @@ x-webhooks: type: string enum: - archived - changes: &754 + changes: &756 type: object properties: archived_at: @@ -152373,9 +152915,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *709 - organization: *710 - projects_v2_item: &751 + installation: *711 + organization: *712 + projects_v2_item: &753 title: Projects v2 Item description: An item belonging to a project type: object @@ -152393,7 +152935,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *253 + content_type: *258 creator: *4 created_at: type: string @@ -152510,9 +153052,9 @@ x-webhooks: nullable: true to: type: string - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *711 + organization: *712 + projects_v2_item: *753 sender: *4 required: - action @@ -152594,9 +153136,9 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *711 + organization: *712 + projects_v2_item: *753 sender: *4 required: - action @@ -152677,9 +153219,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *711 + organization: *712 + projects_v2_item: *753 sender: *4 required: - action @@ -152785,7 +153327,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &752 + - &754 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -152807,7 +153349,7 @@ x-webhooks: required: - id - name - - &753 + - &755 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -152841,8 +153383,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *752 - - *753 + - *754 + - *755 required: - field_value - type: object @@ -152858,9 +153400,9 @@ x-webhooks: nullable: true required: - body - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *711 + organization: *712 + projects_v2_item: *753 sender: *4 required: - action @@ -152955,9 +153497,9 @@ x-webhooks: to: type: string nullable: true - installation: *709 - organization: *710 - projects_v2_item: *751 + installation: *711 + organization: *712 + projects_v2_item: *753 sender: *4 required: - action @@ -153040,10 +153582,10 @@ x-webhooks: type: string enum: - restored - changes: *754 - installation: *709 - organization: *710 - projects_v2_item: *751 + changes: *756 + installation: *711 + organization: *712 + projects_v2_item: *753 sender: *4 required: - action @@ -153125,9 +153667,9 @@ x-webhooks: type: string enum: - reopened - installation: *709 - organization: *710 - projects_v2: *245 + installation: *711 + organization: *712 + projects_v2: *250 sender: *4 required: - action @@ -153208,14 +153750,14 @@ x-webhooks: type: string enum: - created - installation: *709 - organization: *710 - projects_v2_status_update: &757 + installation: *711 + organization: *712 + projects_v2_status_update: &759 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *755 - required: *756 + properties: *757 + required: *758 sender: *4 required: - action @@ -153296,9 +153838,9 @@ x-webhooks: type: string enum: - deleted - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *711 + organization: *712 + projects_v2_status_update: *759 sender: *4 required: - action @@ -153434,9 +153976,9 @@ x-webhooks: type: string format: date nullable: true - installation: *709 - organization: *710 - projects_v2_status_update: *757 + installation: *711 + organization: *712 + projects_v2_status_update: *759 sender: *4 required: - action @@ -153507,10 +154049,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - repository @@ -153587,13 +154129,13 @@ x-webhooks: type: string enum: - assigned - assignee: *728 - enterprise: *708 - installation: *709 - number: &758 + assignee: *730 + enterprise: *710 + installation: *711 + number: &760 description: The pull request number. type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -155876,7 +156418,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -155958,11 +156500,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -158240,7 +158782,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *713 sender: *4 required: - action @@ -158322,11 +158864,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -160604,7 +161146,7 @@ x-webhooks: - draft reason: type: string - repository: *711 + repository: *713 sender: *4 required: - action @@ -160686,13 +161228,13 @@ x-webhooks: type: string enum: - closed - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: &759 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 + pull_request: &761 allOf: - - *571 + - *566 - type: object properties: allow_auto_merge: @@ -160754,7 +161296,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *711 + repository: *713 sender: *4 required: - action @@ -160835,12 +161377,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 + pull_request: *761 + repository: *713 sender: *4 required: - action @@ -160920,11 +161462,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: &760 + enterprise: *710 + milestone: *550 + number: *760 + organization: *712 + pull_request: &762 title: Pull Request type: object properties: @@ -163187,7 +163729,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -163266,11 +163808,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -165552,7 +166094,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *711 + repository: *713 sender: *4 required: - action @@ -165676,12 +166218,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 + pull_request: *761 + repository: *713 sender: *4 required: - action @@ -165761,11 +166303,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -168032,7 +168574,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -168112,11 +168654,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *710 + installation: *711 + label: *729 + number: *760 + organization: *712 pull_request: title: Pull Request type: object @@ -170398,7 +170940,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -170479,10 +171021,10 @@ x-webhooks: type: string enum: - locked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 pull_request: title: Pull Request type: object @@ -172762,7 +173304,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -172842,12 +173384,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *708 - milestone: *555 - number: *758 - organization: *710 - pull_request: *760 - repository: *711 + enterprise: *710 + milestone: *550 + number: *760 + organization: *712 + pull_request: *762 + repository: *713 sender: *4 required: - action @@ -172926,12 +173468,12 @@ x-webhooks: type: string enum: - opened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 + pull_request: *761 + repository: *713 sender: *4 required: - action @@ -173012,12 +173554,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 + pull_request: *761 + repository: *713 sender: *4 required: - action @@ -173097,12 +173639,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *708 - installation: *709 - number: *758 - organization: *710 - pull_request: *759 - repository: *711 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 + pull_request: *761 + repository: *713 sender: *4 required: - action @@ -173468,9 +174010,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: type: object properties: @@ -175640,7 +176182,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *713 sender: *4 required: - action @@ -175720,7 +176262,7 @@ x-webhooks: type: string enum: - deleted - comment: &762 + comment: &764 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176005,9 +176547,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: type: object properties: @@ -178165,7 +178707,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *713 sender: *4 required: - action @@ -178245,11 +178787,11 @@ x-webhooks: type: string enum: - edited - changes: *761 - comment: *762 - enterprise: *708 - installation: *709 - organization: *710 + changes: *763 + comment: *764 + enterprise: *710 + installation: *711 + organization: *712 pull_request: type: object properties: @@ -180410,7 +180952,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *711 + repository: *713 sender: *4 required: - action @@ -180491,9 +181033,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: title: Simple Pull Request type: object @@ -182666,7 +183208,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *713 review: description: The review that was affected. type: object @@ -182913,9 +183455,9 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: title: Simple Pull Request type: object @@ -184969,8 +185511,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: &763 + repository: *713 + review: &765 description: The review that was affected. type: object properties: @@ -185203,12 +185745,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: description: The pull request number. type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -187491,7 +188033,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 requested_reviewer: title: User type: object @@ -187575,12 +188117,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: description: The pull request number. type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -189870,7 +190412,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190062,12 +190604,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: description: The pull request number. type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -192352,7 +192894,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 requested_reviewer: title: User type: object @@ -192437,12 +192979,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *708 - installation: *709 + enterprise: *710 + installation: *711 number: description: The pull request number. type: integer - organization: *710 + organization: *712 pull_request: title: Pull Request type: object @@ -194718,7 +195260,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194899,9 +195441,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: title: Simple Pull Request type: object @@ -197076,8 +197618,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 - review: *763 + repository: *713 + review: *765 sender: *4 required: - action @@ -197157,9 +197699,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: title: Simple Pull Request type: object @@ -199229,7 +199771,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *713 sender: *4 thread: type: object @@ -199616,9 +200158,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 pull_request: title: Simple Pull Request type: object @@ -201674,7 +202216,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *711 + repository: *713 sender: *4 thread: type: object @@ -202064,10 +202606,10 @@ x-webhooks: type: string before: type: string - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 pull_request: title: Pull Request type: object @@ -204338,7 +204880,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -204420,11 +204962,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *764 - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + assignee: *766 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 pull_request: title: Pull Request type: object @@ -206707,7 +207249,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -206786,11 +207328,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *708 - installation: *709 - label: *727 - number: *758 - organization: *710 + enterprise: *710 + installation: *711 + label: *729 + number: *760 + organization: *712 pull_request: title: Pull Request type: object @@ -209063,7 +209605,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -209144,10 +209686,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *708 - installation: *709 - number: *758 - organization: *710 + enterprise: *710 + installation: *711 + number: *760 + organization: *712 pull_request: title: Pull Request type: object @@ -211412,7 +211954,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *711 + repository: *713 sender: *4 required: - action @@ -211612,7 +212154,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *708 + enterprise: *710 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -211704,8 +212246,8 @@ x-webhooks: - url - author - committer - installation: *709 - organization: *710 + installation: *711 + organization: *712 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212280,9 +212822,9 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 registry_package: type: object properties: @@ -212728,7 +213270,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *745 + items: *747 summary: type: string tag_name: @@ -212782,7 +213324,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *713 sender: *4 required: - action @@ -212860,9 +213402,9 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 registry_package: type: object properties: @@ -213170,7 +213712,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *745 + items: *747 summary: type: string tag_name: @@ -213219,7 +213761,7 @@ x-webhooks: - owner - package_version - registry - repository: *711 + repository: *713 sender: *4 required: - action @@ -213296,10 +213838,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - release: &765 + enterprise: *710 + installation: *711 + organization: *712 + release: &767 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213617,7 +214159,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *711 + repository: *713 sender: *4 required: - action @@ -213694,11 +214236,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + release: *767 + repository: *713 sender: *4 required: - action @@ -213815,11 +214357,11 @@ x-webhooks: type: boolean required: - to - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + release: *767 + repository: *713 sender: *4 required: - action @@ -213897,9 +214439,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214221,7 +214763,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *713 sender: *4 required: - action @@ -214297,10 +214839,10 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - release: &766 + enterprise: *710 + installation: *711 + organization: *712 + release: &768 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214619,7 +215161,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *711 + repository: *713 sender: *4 required: - action @@ -214695,11 +215237,11 @@ x-webhooks: type: string enum: - released - enterprise: *708 - installation: *709 - organization: *710 - release: *765 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + release: *767 + repository: *713 sender: *4 required: - action @@ -214775,11 +215317,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *708 - installation: *709 - organization: *710 - release: *766 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + release: *768 + repository: *713 sender: *4 required: - action @@ -214855,11 +215397,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + repository_advisory: *630 sender: *4 required: - action @@ -214935,11 +215477,11 @@ x-webhooks: type: string enum: - reported - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_advisory: *627 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + repository_advisory: *630 sender: *4 required: - action @@ -215015,10 +215557,10 @@ x-webhooks: type: string enum: - archived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215095,10 +215637,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215176,10 +215718,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215263,10 +215805,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215378,10 +215920,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215453,10 +215995,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 status: type: string @@ -215537,10 +216079,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215617,10 +216159,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215714,10 +216256,10 @@ x-webhooks: - name required: - repository - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -215797,11 +216339,11 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + repository_ruleset: *296 sender: *4 required: - action @@ -215879,11 +216421,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + repository_ruleset: *296 sender: *4 required: - action @@ -215961,11 +216503,11 @@ x-webhooks: type: string enum: - edited - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - repository_ruleset: *291 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + repository_ruleset: *296 changes: type: object properties: @@ -215984,16 +216526,16 @@ x-webhooks: properties: added: type: array - items: *266 + items: *271 deleted: type: array - items: *266 + items: *271 updated: type: array items: type: object properties: - condition: *266 + condition: *271 changes: type: object properties: @@ -216026,16 +216568,16 @@ x-webhooks: properties: added: type: array - items: *592 + items: *587 deleted: type: array - items: *592 + items: *587 updated: type: array items: type: object properties: - rule: *592 + rule: *587 changes: type: object properties: @@ -216269,10 +216811,10 @@ x-webhooks: - from required: - owner - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -216350,10 +216892,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -216431,7 +216973,7 @@ x-webhooks: type: string enum: - create - alert: &767 + alert: &769 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -216552,10 +217094,10 @@ x-webhooks: type: string enum: - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -216761,10 +217303,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -216842,11 +217384,11 @@ x-webhooks: type: string enum: - reopen - alert: *767 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *769 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217045,10 +217587,10 @@ x-webhooks: enum: - fixed - open - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217126,11 +217668,11 @@ x-webhooks: type: string enum: - created - alert: &768 + alert: &770 type: object properties: - number: *54 - created_at: *55 + number: *157 + created_at: *158 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -217138,8 +217680,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *56 - html_url: *57 + url: *160 + html_url: *161 locations_url: type: string format: uri @@ -217244,10 +217786,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217328,11 +217870,11 @@ x-webhooks: type: string enum: - created - alert: *768 - installation: *709 - location: *769 - organization: *710 - repository: *711 + alert: *770 + installation: *711 + location: *771 + organization: *712 + repository: *713 sender: *4 required: - location @@ -217570,11 +218112,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *770 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217652,11 +218194,11 @@ x-webhooks: type: string enum: - reopened - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *770 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217734,11 +218276,11 @@ x-webhooks: type: string enum: - resolved - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *770 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217816,11 +218358,11 @@ x-webhooks: type: string enum: - validated - alert: *768 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + alert: *770 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -217946,10 +218488,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *711 - enterprise: *708 - installation: *709 - organization: *710 + repository: *713 + enterprise: *710 + installation: *711 + organization: *712 sender: *4 required: - action @@ -218027,11 +218569,11 @@ x-webhooks: type: string enum: - published - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: &770 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + security_advisory: &772 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218214,11 +218756,11 @@ x-webhooks: type: string enum: - updated - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 - security_advisory: *770 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 + security_advisory: *772 sender: *4 required: - action @@ -218291,10 +218833,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -218478,11 +219020,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *265 - enterprise: *708 - installation: *709 - organization: *710 - repository: *338 + security_and_analysis: *270 + enterprise: *710 + installation: *711 + organization: *712 + repository: *333 sender: *4 required: - changes @@ -218560,12 +219102,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - sponsorship: &771 + sponsorship: &773 type: object properties: created_at: @@ -218866,12 +219408,12 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - sponsorship: *771 + sponsorship: *773 required: - action - sponsorship @@ -218959,12 +219501,12 @@ x-webhooks: type: string required: - from - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - sponsorship: *771 + sponsorship: *773 required: - action - changes @@ -219041,17 +219583,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &772 + effective_date: &774 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: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - sponsorship: *771 + sponsorship: *773 required: - action - sponsorship @@ -219125,7 +219667,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &773 + changes: &775 type: object properties: tier: @@ -219169,13 +219711,13 @@ x-webhooks: - from required: - tier - effective_date: *772 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + effective_date: *774 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - sponsorship: *771 + sponsorship: *773 required: - action - changes @@ -219252,13 +219794,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *773 - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + changes: *775 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - sponsorship: *771 + sponsorship: *773 required: - action - changes @@ -219332,10 +219874,10 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219418,10 +219960,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -219841,15 +220383,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *708 + enterprise: *710 id: description: The unique identifier of the status. type: integer - installation: *709 + installation: *711 name: type: string - organization: *710 - repository: *711 + organization: *712 + repository: *713 sender: *4 sha: description: The Commit SHA. @@ -219958,15 +220500,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - parent_issue_repo: *67 + parent_issue: *70 + parent_issue_repo: *66 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + sub_issue: *70 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -220050,15 +220592,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - parent_issue_repo: *67 + parent_issue: *70 + parent_issue_repo: *66 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - installation: *709 - organization: *710 - repository: *711 + sub_issue: *70 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -220142,15 +220684,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - sub_issue_repo: *67 + sub_issue: *70 + sub_issue_repo: *66 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + parent_issue: *70 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -220234,15 +220776,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *71 - sub_issue_repo: *67 + sub_issue: *70 + sub_issue_repo: *66 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *71 - installation: *709 - organization: *710 - repository: *711 + parent_issue: *70 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -220319,12 +220861,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - team: &774 + team: &776 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -220547,9 +221089,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 repository: title: Repository description: A git repository @@ -221007,7 +221549,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *776 required: - action - team @@ -221083,9 +221625,9 @@ x-webhooks: type: string enum: - created - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 repository: title: Repository description: A git repository @@ -221543,7 +222085,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *776 required: - action - team @@ -221620,9 +222162,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 repository: title: Repository description: A git repository @@ -222080,7 +222622,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *776 required: - action - team @@ -222224,9 +222766,9 @@ x-webhooks: - from required: - permissions - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 repository: title: Repository description: A git repository @@ -222684,7 +223226,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *776 required: - action - changes @@ -222762,9 +223304,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *708 - installation: *709 - organization: *710 + enterprise: *710 + installation: *711 + organization: *712 repository: title: Repository description: A git repository @@ -223222,7 +223764,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *774 + team: *776 required: - action - team @@ -223298,10 +223840,10 @@ x-webhooks: type: string enum: - started - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 required: - action @@ -223374,16 +223916,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *708 + enterprise: *710 inputs: type: object nullable: true additionalProperties: true - installation: *709 - organization: *710 + installation: *711 + organization: *712 ref: type: string - repository: *711 + repository: *713 sender: *4 workflow: type: string @@ -223465,10 +224007,10 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 workflow_job: allOf: @@ -223705,7 +224247,7 @@ x-webhooks: type: string required: - conclusion - deployment: *488 + deployment: *483 required: - action - repository @@ -223784,10 +224326,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 workflow_job: allOf: @@ -224047,7 +224589,7 @@ x-webhooks: required: - status - steps - deployment: *488 + deployment: *483 required: - action - repository @@ -224126,10 +224668,10 @@ x-webhooks: type: string enum: - queued - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 workflow_job: type: object @@ -224264,7 +224806,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *483 required: - action - repository @@ -224343,10 +224885,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 workflow_job: type: object @@ -224482,7 +225024,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *488 + deployment: *483 required: - action - repository @@ -224562,12 +225104,12 @@ x-webhooks: type: string enum: - completed - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - workflow: *723 + workflow: *725 workflow_run: title: Workflow Run type: object @@ -225566,12 +226108,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - workflow: *723 + workflow: *725 workflow_run: title: Workflow Run type: object @@ -226555,12 +227097,12 @@ x-webhooks: type: string enum: - requested - enterprise: *708 - installation: *709 - organization: *710 - repository: *711 + enterprise: *710 + installation: *711 + organization: *712 + repository: *713 sender: *4 - workflow: *723 + workflow: *725 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index c2fc1bc49c..8dfa8616fb 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/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." @@ -17348,6 +17352,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -17451,6 +17460,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -17591,6 +17604,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": "string", + "nullable": true } } }, @@ -17611,6 +17629,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": [ @@ -17690,6 +17713,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -17793,6 +17821,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -17848,17 +17880,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": [ { @@ -17889,46 +17921,60 @@ "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", - "example": "ubuntu-20.04" + "type": "integer", + "example": 1 }, "platform": { "description": "The operating system of the image.", "type": "string", "example": "linux-x64" }, - "size_gb": { - "description": "Image size in GB.", + "total_versions_size": { + "description": "Total size of all the image versions in GB.", "type": "integer", - "example": 86 + "example": 200 }, - "display_name": { + "name": { "description": "Display name for this image.", "type": "string", - "example": 20.04 + "example": "CustomImage" }, "source": { "description": "The image provider.", "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "Ready" } }, "required": [ "id", "platform", - "size_gb", - "display_name", - "source" + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" ] } } @@ -17937,11 +17983,141 @@ "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", + "example": 1 + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "example": 200 + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "example": "CustomImage" + }, + "source": { + "description": "The image provider.", + "type": "string", + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "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" } } } @@ -17955,21 +18131,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.", @@ -17989,55 +18217,51 @@ "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", - "example": "ubuntu-20.04" + "example": "1.0.0" }, - "platform": { - "description": "The operating system of the image.", + "state": { + "description": "The state of image version.", "type": "string", - "example": "linux-x64" + "example": "Ready" }, "size_gb": { - "description": "Image size in GB.", + "description": "Image version size in GB.", "type": "integer", - "example": 86 + "example": 30 }, - "display_name": { - "description": "Display name for this image.", + "created_on": { + "description": "The creation date time of the image version.", "type": "string", - "example": 20.04 + "example": "2024-11-09T23:39:01Z" }, - "source": { - "description": "The image provider.", + "state_details": { + "description": "The image version status details.", "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] + "example": "None" } }, "required": [ - "id", - "platform", + "version", + "state", "size_gb", - "display_name", - "source" + "created_on", + "state_details" ] } } @@ -18046,11 +18270,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" + } + ] } } } @@ -18066,17 +18300,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": [ { @@ -18087,6 +18321,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": { @@ -18095,41 +18348,51 @@ "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.", - "example": 50 - }, - "current_usage": { - "type": "integer", - "description": "The current number of static public IP addresses in use by Hosted Runners.", - "example": 17 - } - }, - "required": [ - "maximum", - "current_usage" - ] + "version": { + "description": "The version of image.", + "type": "string", + "example": "1.0.0" + }, + "state": { + "description": "The state of image version.", + "type": "string", + "example": "Ready" + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "example": 30 + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "example": "2024-11-09T23:39:01Z" + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "example": "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" } } } @@ -18143,19 +18406,369 @@ "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", + "example": "ubuntu-20.04" + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "example": 86 + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "example": 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", + "example": "ubuntu-20.04" + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "example": 86 + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "example": 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.", + "example": 50 + }, + "current_usage": { + "type": "integer", + "description": "The current number of static public IP addresses in use by Hosted Runners.", + "example": 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": [ { @@ -18397,6 +19010,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -18500,6 +19118,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -18615,6 +19237,11 @@ "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", + "nullable": true } } }, @@ -18684,6 +19311,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -18787,6 +19419,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -18925,6 +19561,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -19028,6 +19669,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -41054,6 +41699,654 @@ } } }, + "/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", + "example": "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", + "example": "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", @@ -41195,29 +42488,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).\"", @@ -54907,7 +56177,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -55891,6 +57161,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": { @@ -57751,7 +59034,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" ], @@ -57934,7 +59217,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -57942,7 +59225,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -57950,7 +59233,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -59434,6 +60717,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": { "nullable": true, "type": "string", @@ -60700,8 +61993,503 @@ } }, { - "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": { + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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": { @@ -60710,29 +62498,248 @@ } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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" + } + } + } + } + } }, - "403": { - "description": "Forbidden", + "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": "Basic Error", - "description": "Basic Error", + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "message": { - "type": "string" + "login": { + "type": "string", + "example": "github" }, - "documentation_url": { - "type": "string" + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" }, "url": { - "type": "string" + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, - "status": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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" } } } @@ -60744,7 +62751,59 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "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": [ + { + "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": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" } } }, @@ -60976,6 +63035,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": { "nullable": true, "type": "string", @@ -100932,7 +103001,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" ], @@ -101076,7 +103145,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -101084,7 +103153,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -101092,7 +103161,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -103312,6 +105381,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -103415,6 +105489,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -103555,6 +105633,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": "string", + "nullable": true } } }, @@ -103573,6 +105656,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": [ @@ -103653,6 +105741,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -103756,6 +105849,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -103811,6 +105908,587 @@ } } }, + "/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", + "example": 1 + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "example": 200 + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "example": "CustomImage" + }, + "source": { + "description": "The image provider.", + "type": "string", + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "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", + "example": 1 + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "example": 200 + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "example": "CustomImage" + }, + "source": { + "description": "The image provider.", + "type": "string", + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "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", + "example": "1.0.0" + }, + "state": { + "description": "The state of image version.", + "type": "string", + "example": "Ready" + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "example": 30 + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "example": "2024-11-09T23:39:01Z" + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "example": "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", + "example": "1.0.0" + }, + "state": { + "description": "The state of image version.", + "type": "string", + "example": "Ready" + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "example": 30 + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "example": "2024-11-09T23:39:01Z" + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "example": "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", @@ -104360,6 +107038,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -104463,6 +107146,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -104578,6 +107265,11 @@ "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", + "nullable": true } } }, @@ -104647,6 +107339,261 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" + } + }, + "required": [ + "id", + "size_gb", + "display_name", + "source" + ], + "nullable": true + }, + "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", + "example": "8-core" + }, + "cpu_cores": { + "description": "The number of cores.", + "type": "integer", + "example": 8 + }, + "memory_gb": { + "description": "The available RAM for the machine spec.", + "type": "integer", + "example": 32 + }, + "storage_gb": { + "description": "The available SSD storage for the machine spec.", + "type": "integer", + "example": 300 + } + }, + "required": [ + "id", + "cpu_cores", + "memory_gb", + "storage_gb" + ] + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "example": "Ready", + "enum": [ + "Ready", + "Provisioning", + "Shutdown", + "Deleting", + "Stuck" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "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, + "example": 5 + }, + "public_ip_enabled": { + "description": "Whether public IP is enabled for the hosted runners.", + "type": "boolean", + "example": 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", + "example": true + }, + "prefix": { + "description": "The prefix for the public IP.", + "type": "string", + "example": "20.80.208.150" + }, + "length": { + "description": "The length of the IP prefix.", + "type": "integer", + "example": 28 + } + } + } + }, + "last_active_on": { + "description": "The time at which the runner was last used, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2022-10-09T23:39:01Z", + "nullable": true + }, + "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", + "example": 5 + }, + "name": { + "description": "The name of the hosted runner.", + "type": "string", + "example": "my-github-hosted-runner" + }, + "runner_group_id": { + "description": "The unique identifier of the group that the hosted runner belongs to.", + "type": "integer", + "example": 2 + }, + "image_details": { + "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", + "example": "ubuntu-20.04" + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "example": 86 + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "example": 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", + "example": "latest" } }, "required": [ @@ -104750,247 +107697,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true - } - }, - "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", - "example": 5 - }, - "name": { - "description": "The name of the hosted runner.", - "type": "string", - "example": "my-github-hosted-runner" - }, - "runner_group_id": { - "description": "The unique identifier of the group that the hosted runner belongs to.", - "type": "integer", - "example": 2 - }, - "image_details": { - "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", - "example": "ubuntu-20.04" - }, - "size_gb": { - "description": "Image size in GB.", - "type": "integer", - "example": 86 - }, - "display_name": { - "description": "Display name for this image.", - "type": "string", - "example": 20.04 - }, - "source": { - "description": "The image provider.", - "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] - } - }, - "required": [ - "id", - "size_gb", - "display_name", - "source" - ], - "nullable": true - }, - "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", - "example": "8-core" - }, - "cpu_cores": { - "description": "The number of cores.", - "type": "integer", - "example": 8 - }, - "memory_gb": { - "description": "The available RAM for the machine spec.", - "type": "integer", - "example": 32 - }, - "storage_gb": { - "description": "The available SSD storage for the machine spec.", - "type": "integer", - "example": 300 - } - }, - "required": [ - "id", - "cpu_cores", - "memory_gb", - "storage_gb" - ] }, - "status": { - "description": "The status of the runner.", - "type": "string", - "example": "Ready", - "enum": [ - "Ready", - "Provisioning", - "Shutdown", - "Deleting", - "Stuck" - ] - }, - "platform": { - "description": "The operating system of the image.", - "type": "string", - "example": "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, - "example": 5 - }, - "public_ip_enabled": { - "description": "Whether public IP is enabled for the hosted runners.", + "image_gen": { "type": "boolean", - "example": 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", - "example": true - }, - "prefix": { - "description": "The prefix for the public IP.", - "type": "string", - "example": "20.80.208.150" - }, - "length": { - "description": "The length of the IP prefix.", - "type": "integer", - "example": 28 - } - } - } - }, - "last_active_on": { - "description": "The time at which the runner was last used, in ISO 8601 format.", - "type": "string", - "format": "date-time", - "example": "2022-10-09T23:39:01Z", - "nullable": true + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -110468,6 +113178,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -110571,6 +113286,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -119821,6 +122540,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", @@ -140169,29 +142992,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).\"", @@ -191028,16 +193828,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } }, { @@ -198192,16 +200998,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -352339,16 +355151,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).\"", @@ -352376,29 +355178,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": { @@ -539565,7 +542344,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" ], @@ -685532,16 +688311,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -692669,16 +695454,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -716702,7 +719493,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" ], @@ -716833,7 +719624,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -716841,7 +719632,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -716849,7 +719640,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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index b2f4ab0953..b59354d911 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/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 - - &99 + - &104 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 - - &100 + - &105 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 - - &101 + - &106 name: direction description: The direction to sort the results by. in: query @@ -685,7 +687,7 @@ paths: required: - vector_string - score - cvss_severities: &115 + cvss_severities: &125 type: object nullable: true properties: @@ -725,7 +727,7 @@ paths: required: - vector_string - score - epss: &116 + epss: &126 type: object nullable: true readOnly: true @@ -863,7 +865,7 @@ paths: - subscriptions_url - type - url - type: &412 + type: &424 type: string description: The type of credit the user is receiving. enum: @@ -996,7 +998,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &233 + schema: &245 title: Validation Error Simple description: Validation Error Simple type: object @@ -1029,7 +1031,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &737 + - &749 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1147,7 +1149,7 @@ paths: GitHub. type: object nullable: true - properties: &186 + properties: &197 id: description: Unique identifier of the GitHub app example: 37 @@ -1280,7 +1282,7 @@ paths: about itself. example: 5 type: integer - required: &187 + required: &198 - id - node_id - owner @@ -1585,7 +1587,7 @@ paths: schema: type: integer default: 30 - - &320 + - &332 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1603,7 @@ paths: application/json: schema: type: array - items: &321 + items: &333 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1683,7 @@ paths: - installation_id - repository_id examples: - default: &322 + default: &334 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1713,7 +1715,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &747 + schema: &759 title: Scim Error description: Scim Error type: object @@ -1740,7 +1742,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &232 + schema: &244 title: Validation Error description: Validation Error type: object @@ -1809,7 +1811,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &335 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1925,7 @@ paths: - request - response examples: - default: &324 + default: &336 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2124,7 +2126,7 @@ paths: parameters: - *17 - *19 - - &196 + - &207 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) @@ -2719,7 +2721,7 @@ paths: application/json: schema: *22 examples: - default: &79 + default: &84 value: id: 1 account: @@ -2869,11 +2871,11 @@ paths: - selected repositories: type: array - items: &69 + items: &74 title: Repository description: A repository on GitHub. type: object - properties: &390 + properties: &402 id: description: Unique identifier of the repository example: 42 @@ -2893,7 +2895,7 @@ paths: title: License Simple description: License Simple type: object - properties: &192 + properties: &203 key: type: string example: mit @@ -2915,7 +2917,7 @@ paths: html_url: type: string format: uri - required: &193 + required: &204 - key - name - url @@ -3311,7 +3313,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &391 + required: &403 - archive_url - assignees_url - blobs_url @@ -7468,7 +7470,7 @@ paths: description: Response content: application/json: - schema: &234 + schema: &246 type: object properties: total_active_caches_count: @@ -7483,7 +7485,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &235 + default: &247 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7569,13 +7571,18 @@ paths: - github - partner - custom + version: + description: The image version of the hosted runner + pool. + type: string + example: latest required: - id - size_gb - display_name - source nullable: true - machine_size_details: &47 + machine_size_details: &52 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -7658,6 +7665,10 @@ paths: format: date-time example: '2022-10-09T23:39:01Z' nullable: true + image_gen: + type: boolean + description: Whether custom image generation is enabled + for the hosted runners. required: - id - name @@ -7667,7 +7678,7 @@ paths: - public_ip_enabled - platform examples: - default: &236 + default: &248 value: total_count: 2 runners: @@ -7756,6 +7767,11 @@ 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 + nullable: true size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -7775,6 +7791,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 @@ -7797,7 +7818,7 @@ paths: application/json: schema: *44 examples: - default: &48 + default: &53 value: id: 5 name: My hosted ubuntu runner @@ -7824,6 +7845,309 @@ 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: + - *41 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: &45 + 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 + example: 1 + platform: + description: The operating system of the image. + type: string + example: linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + example: 200 + name: + description: Display name for this image. + type: string + example: CustomImage + source: + description: The image provider. + type: string + example: custom + versions_count: + description: The number of image versions associated with + the image. + type: integer + example: 4 + latest_version: + description: The latest image version associated with the + image. + type: string + example: 1.3.0 + state: + description: The number of image versions associated with + the image. + type: string + example: Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + examples: + default: &47 + 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: + - *41 + - &46 + 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: *45 + examples: + default: &249 + 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: + - *41 + - *46 + 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: + - *46 + - *41 + 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: &48 + 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 + example: 1.0.0 + state: + description: The state of image version. + type: string + example: Ready + size_gb: + description: Image version size in GB. + type: integer + example: 30 + created_on: + description: The creation date time of the image version. + type: string + example: '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + example: None + required: + - version + - state + - size_gb + - created_on + - state_details + examples: + default: *47 + 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: + - *41 + - *46 + - &49 + 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: *48 + examples: + default: &250 + 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: + - *41 + - *46 + - *49 + 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 @@ -7852,7 +8176,7 @@ paths: type: integer images: type: array - items: &45 + items: &50 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -7888,7 +8212,7 @@ paths: - display_name - source examples: - default: &46 + default: &51 value: id: ubuntu-20.04 platform: linux-x64 @@ -7928,9 +8252,9 @@ paths: type: integer images: type: array - items: *45 + items: *50 examples: - default: *46 + default: *51 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -7953,7 +8277,7 @@ paths: description: Response content: application/json: - schema: &237 + schema: &251 type: object properties: public_ips: @@ -7978,7 +8302,7 @@ paths: required: - public_ips examples: - default: &238 + default: &252 value: public_ips: current_usage: 17 @@ -8016,9 +8340,9 @@ paths: type: integer machine_specs: type: array - items: *47 + items: *52 examples: - default: &239 + default: &253 value: id: 4-core cpu_cores: 4 @@ -8086,7 +8410,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise parameters: - *41 - - &49 + - &54 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -8100,7 +8424,7 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 headers: Link: *43 x-github: @@ -8121,7 +8445,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise parameters: - *41 - - *49 + - *54 requestBody: required: true content: @@ -8147,6 +8471,11 @@ 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 + nullable: true examples: default: value: @@ -8161,7 +8490,7 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8178,7 +8507,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise parameters: - *41 - - *49 + - *54 responses: '202': description: Response @@ -8186,7 +8515,7 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8254,7 +8583,7 @@ paths: schema: type: object properties: - enabled_organizations: &50 + enabled_organizations: &55 type: string description: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. @@ -8267,7 +8596,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: &51 + allowed_actions: &56 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -8275,12 +8604,12 @@ paths: - all - local_only - selected - selected_actions_url: &242 + selected_actions_url: &256 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: &52 + sha_pinning_required: &57 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -8322,9 +8651,9 @@ paths: schema: type: object properties: - enabled_organizations: *50 - allowed_actions: *51 - sha_pinning_required: *52 + enabled_organizations: *55 + allowed_actions: *56 + sha_pinning_required: *57 required: - enabled_organizations examples: @@ -8355,7 +8684,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &244 + schema: &258 type: object properties: days: @@ -8373,7 +8702,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &748 + '401': &760 description: Authorization failure '404': *6 x-github: @@ -8401,7 +8730,7 @@ paths: required: true content: application/json: - schema: &245 + schema: &259 type: object properties: days: @@ -8436,7 +8765,7 @@ paths: description: Response content: application/json: - schema: &53 + schema: &58 type: object properties: approval_policy: @@ -8450,7 +8779,7 @@ paths: required: - approval_policy examples: - default: &246 + default: &260 value: approval_policy: first_time_contributors '404': *6 @@ -8479,7 +8808,7 @@ paths: required: true content: application/json: - schema: *53 + schema: *58 examples: default: summary: Set approval policy to first time contributors @@ -8508,7 +8837,7 @@ paths: description: Response content: application/json: - schema: &247 + schema: &261 type: object required: - run_workflows_from_fork_pull_requests @@ -8534,7 +8863,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &54 + default: &59 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -8562,7 +8891,7 @@ paths: required: true content: application/json: - schema: &248 + schema: &262 type: object required: - run_workflows_from_fork_pull_requests @@ -8585,7 +8914,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *54 + default: *59 responses: '204': description: Empty response for successful settings update @@ -8625,11 +8954,11 @@ paths: type: number organizations: type: array - items: &64 + items: &69 title: Organization Simple description: A GitHub organization. type: object - properties: &111 + properties: &116 login: type: string example: github @@ -8670,7 +8999,7 @@ paths: type: string example: A great organization nullable: true - required: &112 + required: &117 - login - url - id @@ -8687,7 +9016,7 @@ paths: - total_count - organizations examples: - default: &65 + default: &70 value: total_count: 1 organizations: @@ -8766,7 +9095,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *41 - - &55 + - &60 name: org_id description: The unique identifier of the organization. in: path @@ -8795,7 +9124,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *41 - - *55 + - *60 responses: '204': description: Response @@ -8824,7 +9153,7 @@ paths: description: Response content: application/json: - schema: &56 + schema: &61 type: object properties: github_owned_allowed: @@ -8845,7 +9174,7 @@ paths: items: type: string examples: - default: &57 + default: &62 value: github_owned_allowed: true verified_allowed: false @@ -8878,9 +9207,9 @@ paths: required: true content: application/json: - schema: *56 + schema: *61 examples: - selected_actions: *57 + selected_actions: *62 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8985,17 +9314,17 @@ paths: description: Success response content: application/json: - schema: &251 + schema: &265 type: object properties: - default_workflow_permissions: &58 + default_workflow_permissions: &63 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &59 + can_approve_pull_request_reviews: &64 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -9003,7 +9332,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &60 + default: &65 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -9033,13 +9362,13 @@ paths: required: true content: application/json: - schema: &252 + schema: &266 type: object properties: - default_workflow_permissions: *58 - can_approve_pull_request_reviews: *59 + default_workflow_permissions: *63 + can_approve_pull_request_reviews: *64 examples: - default: *60 + default: *65 responses: '204': description: Success response @@ -9084,7 +9413,7 @@ paths: type: number runner_groups: type: array - items: &61 + items: &66 type: object properties: id: @@ -9263,9 +9592,9 @@ paths: description: Response content: application/json: - schema: *61 + schema: *66 examples: - default: &62 + default: &67 value: id: 2 name: octo-runner-group @@ -9300,7 +9629,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: - *41 - - &63 + - &68 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -9312,9 +9641,9 @@ paths: description: Response content: application/json: - schema: *61 + schema: *66 examples: - default: *62 + default: *67 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9334,7 +9663,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: - *41 - - *63 + - *68 requestBody: required: false content: @@ -9386,7 +9715,7 @@ paths: description: Response content: application/json: - schema: *61 + schema: *66 examples: default: value: @@ -9422,7 +9751,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: - *41 - - *63 + - *68 responses: '204': description: Response @@ -9446,7 +9775,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: - *41 - - *63 + - *68 - *17 - *19 responses: @@ -9461,12 +9790,12 @@ paths: type: number organizations: type: array - items: *64 + items: *69 required: - total_count - organizations examples: - default: *65 + default: *70 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9486,7 +9815,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: - *41 - - *63 + - *68 requestBody: required: true content: @@ -9532,8 +9861,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: - *41 - - *63 - - *55 + - *68 + - *60 responses: '204': description: Response @@ -9556,8 +9885,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: - *41 - - *63 - - *55 + - *68 + - *60 responses: '204': description: Response @@ -9581,7 +9910,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: - *41 - - *63 + - *68 - *17 - *19 responses: @@ -9596,7 +9925,7 @@ paths: type: number runners: type: array - items: &67 + items: &72 title: Self hosted runners description: A self hosted runner type: object @@ -9625,7 +9954,7 @@ paths: type: boolean labels: type: array - items: &71 + items: &76 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -9658,7 +9987,7 @@ paths: - total_count - runners examples: - default: &68 + default: &73 value: total_count: 2 runners: @@ -9718,7 +10047,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: - *41 - - *63 + - *68 requestBody: required: true content: @@ -9763,8 +10092,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: - *41 - - *63 - - &66 + - *68 + - &71 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -9793,8 +10122,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: - *41 - - *63 - - *66 + - *68 + - *71 responses: '204': description: Response @@ -9837,9 +10166,9 @@ paths: type: number runners: type: array - items: *67 + items: *72 examples: - default: *68 + default: *73 headers: Link: *43 x-github: @@ -9869,7 +10198,7 @@ paths: application/json: schema: type: array - items: &256 + items: &270 title: Runner Application description: Runner Application type: object @@ -9894,7 +10223,7 @@ paths: - download_url - filename examples: - default: &257 + default: &271 value: - os: osx architecture: x64 @@ -9978,7 +10307,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &258 + '201': &272 description: Response content: application/json: @@ -9988,7 +10317,7 @@ paths: - runner - encoded_jit_config properties: - runner: *67 + runner: *72 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -10017,7 +10346,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &109 + '409': &114 description: Conflict content: application/json: @@ -10055,7 +10384,7 @@ paths: description: Response content: application/json: - schema: &70 + schema: &75 title: Authentication Token description: Authentication Token type: object @@ -10077,7 +10406,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *69 + items: *74 single_file: type: string example: config.yaml @@ -10093,7 +10422,7 @@ paths: - token - expires_at examples: - default: &259 + default: &273 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10131,9 +10460,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *75 examples: - default: &260 + default: &274 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10157,15 +10486,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise parameters: - *41 - - *66 + - *71 responses: '200': description: Response content: application/json: - schema: *67 + schema: *72 examples: - default: &261 + default: &275 value: id: 23 name: MBP @@ -10205,7 +10534,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise parameters: - *41 - - *66 + - *71 responses: '204': description: Response @@ -10230,9 +10559,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: - *41 - - *66 + - *71 responses: - '200': &72 + '200': &77 description: Response content: application/json: @@ -10246,7 +10575,7 @@ paths: type: integer labels: type: array - items: *71 + items: *76 examples: default: value: @@ -10284,7 +10613,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: - *41 - - *66 + - *71 requestBody: required: true content: @@ -10308,7 +10637,7 @@ paths: - gpu - accelerated responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -10331,7 +10660,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: - *41 - - *66 + - *71 requestBody: required: true content: @@ -10356,7 +10685,7 @@ paths: - gpu - accelerated responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -10379,9 +10708,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: - *41 - - *66 + - *71 responses: - '200': &262 + '200': &276 description: Response content: application/json: @@ -10395,7 +10724,7 @@ paths: type: integer labels: type: array - items: *71 + items: *76 examples: default: value: @@ -10436,8 +10765,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: - *41 - - *66 - - &263 + - *71 + - &277 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10445,7 +10774,7 @@ paths: schema: type: string responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -10470,20 +10799,20 @@ paths: description: Response content: application/json: - schema: &77 + schema: &82 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: - announcement: &73 + announcement: &78 type: string description: The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see "[Basic 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)." example: Very **important** announcement about _something_. nullable: true - expires_at: &74 + expires_at: &79 type: string format: date-time description: 'The time at which the announcement expires. This @@ -10493,7 +10822,7 @@ paths: it to an empty string.' example: '"2021-01-01T00:00:00.000-07:00"' nullable: true - user_dismissible: &75 + user_dismissible: &80 type: boolean description: Whether an announcement can be dismissed by the user. example: false @@ -10504,7 +10833,7 @@ paths: - expires_at - user_dismissible examples: - default: &76 + default: &81 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10528,18 +10857,18 @@ paths: required: true content: application/json: - schema: &270 + schema: &284 title: Enterprise Announcement description: Enterprise global announcement type: object properties: - announcement: *73 - expires_at: *74 - user_dismissible: *75 + announcement: *78 + expires_at: *79 + user_dismissible: *80 required: - announcement examples: - default: *76 + default: *81 parameters: - *41 responses: @@ -10547,9 +10876,9 @@ paths: description: Response content: application/json: - schema: *77 + schema: *82 examples: - default: *76 + default: *81 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10645,7 +10974,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization parameters: - *41 - - &78 + - &83 name: org description: The organization name. The name is not case sensitive. in: path @@ -10662,7 +10991,7 @@ paths: application/json: schema: type: array - items: &80 + items: &85 title: Accessible Repository description: A repository that may be made accessible to a GitHub App. @@ -10713,7 +11042,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: - *41 - - *78 + - *83 - *17 - *19 responses: @@ -10808,7 +11137,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: - *41 - - *78 + - *83 responses: '200': description: A GitHub App installation that was installed previously. @@ -10816,14 +11145,14 @@ paths: application/json: schema: *22 examples: - default: *79 + default: *84 '201': description: A GitHub App installation. content: application/json: schema: *22 examples: - default: *79 + default: *84 requestBody: required: true content: @@ -10891,7 +11220,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: - *41 - - *78 + - *83 - *23 responses: '204': @@ -10919,7 +11248,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: - *41 - - *78 + - *83 - *23 - *17 - *19 @@ -10931,7 +11260,7 @@ paths: application/json: schema: type: array - items: *80 + items: *85 examples: default: value: @@ -10960,7 +11289,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: - *41 - - *78 + - *83 - *23 requestBody: required: true @@ -11000,7 +11329,7 @@ paths: application/json: schema: *22 examples: - default: *79 + default: *84 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11021,7 +11350,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation parameters: - *41 - - *78 + - *83 - *23 responses: '200': @@ -11031,7 +11360,7 @@ paths: application/json: schema: type: array - items: *80 + items: *85 examples: default: value: @@ -11082,7 +11411,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation parameters: - *41 - - *78 + - *83 - *23 responses: '200': @@ -11092,7 +11421,7 @@ paths: application/json: schema: type: array - items: *80 + items: *85 examples: default: value: @@ -11169,7 +11498,7 @@ paths: required: false schema: type: string - - &271 + - &285 name: include description: |- The event types to include: @@ -11187,7 +11516,7 @@ paths: - web - git - all - - &272 + - &286 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. @@ -11195,7 +11524,7 @@ paths: required: false schema: type: string - - &273 + - &287 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. @@ -11203,7 +11532,7 @@ paths: required: false schema: type: string - - &274 + - &288 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11225,7 +11554,7 @@ paths: application/json: schema: type: array - items: &275 + items: &289 type: object properties: "@timestamp": @@ -11347,7 +11676,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &276 + default: &290 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11526,7 +11855,7 @@ paths: vendor_specific: type: object oneOf: - - &84 + - &89 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -11545,7 +11874,7 @@ paths: - key_id - encrypted_sas_url - container - - &85 + - &90 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -11564,7 +11893,7 @@ paths: - name - encrypted_connstring - key_id - - &86 + - &91 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -11592,7 +11921,7 @@ paths: - bucket - key_id - region - - &87 + - &92 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -11626,7 +11955,7 @@ paths: - encrypted_secret_key - key_id - region - - &88 + - &93 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -11654,7 +11983,7 @@ paths: - key_id - port - ssl_verify - - &89 + - &94 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -11686,7 +12015,7 @@ paths: - key_id - port - ssl_verify - - &90 + - &95 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -11704,7 +12033,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &91 + - &96 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -11735,7 +12064,7 @@ paths: - stream_type - vendor_specific examples: - default: &92 + default: &97 value: enabled: false stream_type: Azure Event Hubs @@ -11749,7 +12078,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &81 + schema: &86 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -11780,7 +12109,7 @@ paths: - created_at - updated_at examples: - default: &82 + default: &87 value: id: 1 stream_type: Splunk @@ -11809,7 +12138,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: - *41 - - &83 + - &88 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -11821,9 +12150,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *81 + schema: *86 examples: - default: *82 + default: *87 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11843,7 +12172,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *41 - - *83 + - *88 requestBody: required: true content: @@ -11869,28 +12198,28 @@ paths: vendor_specific: type: object oneOf: - - *84 - - *85 - - *86 - - *87 - - *88 - *89 - *90 - *91 + - *92 + - *93 + - *94 + - *95 + - *96 required: - enabled - stream_type - vendor_specific examples: - default: *92 + default: *97 responses: '200': description: Successful update content: application/json: - schema: *81 + schema: *86 examples: - default: *82 + default: *87 '422': description: Validation error content: @@ -11921,7 +12250,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: - *41 - - *83 + - *88 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -11948,13 +12277,13 @@ paths: subcategory: bypass-requests parameters: - *41 - - &93 + - &98 name: organization_name description: The name of the organization to filter on. in: query schema: type: string - - &94 + - &99 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -11962,7 +12291,7 @@ paths: required: false schema: type: string - - &95 + - &100 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -11970,7 +12299,7 @@ paths: required: false schema: type: string - - &96 + - &101 name: time_period description: |- The time period to filter by. @@ -11986,7 +12315,7 @@ paths: - week - month default: day - - &97 + - &102 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -12013,7 +12342,7 @@ paths: application/json: schema: type: array - items: &277 + items: &291 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12130,7 +12459,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &98 + items: &103 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -12174,7 +12503,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &278 + default: &292 value: - id: 21 number: 42 @@ -12265,11 +12594,11 @@ paths: subcategory: delegated-bypass parameters: - *41 - - *93 - - *94 - - *95 - - *96 - - *97 + - *98 + - *99 + - *100 + - *101 + - *102 - *17 - *19 responses: @@ -12279,7 +12608,7 @@ paths: application/json: schema: type: array - items: &280 + items: &294 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12393,7 +12722,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *98 + items: *103 url: type: string format: uri @@ -12404,7 +12733,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &281 + default: &295 value: - id: 21 number: 42 @@ -12489,17 +12818,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &286 + - &300 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: &102 + schema: &107 type: string description: The name of the tool used to generate the code scanning analysis. - - &287 + - &301 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 @@ -12507,22 +12836,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &103 + schema: &108 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *99 - - *100 + - *104 + - *105 - *19 - *17 - - *101 + - *106 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &288 + schema: &302 type: string description: State of a code scanning alert. enum: @@ -12547,42 +12876,42 @@ paths: application/json: schema: type: array - items: &289 + items: &303 type: object properties: - number: &113 + number: &123 type: integer description: The security alert number. readOnly: true - created_at: &120 + created_at: &130 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: &121 + updated_at: &131 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: &118 + url: &128 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &119 + html_url: &129 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &526 + instances_url: &538 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &104 + state: &109 type: string description: State of a code scanning alert. nullable: true @@ -12590,7 +12919,7 @@ paths: - open - dismissed - fixed - fixed_at: &123 + fixed_at: &133 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12604,14 +12933,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &122 + dismissed_at: &132 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &527 + dismissed_reason: &539 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12620,13 +12949,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &528 + dismissed_comment: &540 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &529 + rule: &541 type: object properties: id: @@ -12679,25 +13008,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &530 + tool: &542 type: object properties: - name: *102 + name: *107 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *103 - most_recent_instance: &531 + guid: *108 + most_recent_instance: &543 type: object properties: - ref: &524 + ref: &536 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &541 + analysis_key: &553 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12708,13 +13037,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &542 + category: &554 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: *104 + state: *109 commit_sha: type: string message: @@ -12753,11 +13082,11 @@ paths: - generated - test - library - repository: &110 + repository: &115 title: Simple Repository description: A GitHub repository. type: object - properties: &220 + properties: &232 id: type: integer format: int64 @@ -12984,7 +13313,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &221 + required: &233 - archive_url - assignees_url - blobs_url @@ -13056,7 +13385,7 @@ paths: - most_recent_instance - repository examples: - default: &290 + default: &304 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13287,7 +13616,7 @@ paths: headers: Link: *43 '404': *6 - '503': &167 + '503': &177 description: Service unavailable content: application/json: @@ -13331,8 +13660,8 @@ paths: schema: type: integer default: 30 - - *99 - - *100 + - *104 + - *105 responses: '200': description: Response @@ -13340,7 +13669,7 @@ paths: application/json: schema: type: array - items: &105 + items: &110 type: object description: A code security configuration properties: @@ -13709,7 +14038,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &291 + code_scanning_options: &305 type: object description: Security Configuration feature options for code scanning nullable: true @@ -13726,7 +14055,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &108 + code_scanning_default_setup_options: &113 type: object description: Feature options for code scanning default setup nullable: true @@ -13843,9 +14172,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *105 + schema: *110 examples: - default: &106 + default: &111 value: id: 1325 target_type: enterprise @@ -13903,7 +14232,7 @@ paths: description: Response content: application/json: - schema: &293 + schema: &307 type: array description: A list of default code security configurations items: @@ -13917,9 +14246,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *105 + configuration: *110 examples: - default: &294 + default: &308 value: - default_for_new_repos: public configuration: @@ -14008,7 +14337,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *41 - - &107 + - &112 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -14020,9 +14349,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *110 examples: - default: *106 + default: *111 '304': *37 '403': *29 '404': *6 @@ -14047,7 +14376,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *41 - - *107 + - *112 requestBody: required: true content: @@ -14126,7 +14455,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *108 + code_scanning_default_setup_options: *113 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -14214,13 +14543,13 @@ paths: description: Response content: application/json: - schema: *105 + schema: *110 examples: - default: *106 + default: *111 '304': *37 '403': *29 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14244,14 +14573,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *41 - - *107 + - *112 responses: - '204': &133 + '204': &143 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14276,7 +14605,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *41 - - *107 + - *112 requestBody: required: true content: @@ -14303,7 +14632,7 @@ paths: '202': *39 '403': *29 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14328,7 +14657,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: - *41 - - *107 + - *112 requestBody: required: true content: @@ -14368,12 +14697,12 @@ paths: - none - private_and_internal - public - configuration: *105 + configuration: *110 examples: default: value: default_for_new_repos: all - configuration: &292 + configuration: &306 value: id: 1325 target_type: organization @@ -14430,7 +14759,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *41 - - *107 + - *112 - 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)." @@ -14439,8 +14768,8 @@ paths: schema: type: integer default: 30 - - *99 - - *100 + - *104 + - *105 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -14458,7 +14787,7 @@ paths: application/json: schema: type: array - items: &295 + items: &309 type: object description: Repositories associated with a code security configuration and attachment status @@ -14476,13 +14805,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *110 + repository: *115 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &296 + repository: &310 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14947,7 +15276,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &124 + items: &134 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -14964,14 +15293,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *111 - required: *112 + properties: *116 + required: *117 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &282 + - &296 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15046,7 +15375,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &355 + properties: &367 id: description: Unique identifier of the team type: integer @@ -15118,7 +15447,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &356 + required: &368 - id - node_id - url @@ -15144,7 +15473,7 @@ paths: - slug - parent - type - - &178 + - &188 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -15254,7 +15583,7 @@ paths: - created_at additionalProperties: false examples: - default: &125 + default: &135 value: total_seats: 2 seats: @@ -15706,7 +16035,7 @@ paths: application/json: schema: type: array - items: &175 + items: &185 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16013,7 +16342,7 @@ paths: - date additionalProperties: true examples: - default: &176 + default: &186 value: - date: '2024-06-24' total_active_users: 24 @@ -16115,7 +16444,7 @@ paths: '500': *40 '403': *29 '404': *6 - '422': &177 + '422': &187 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16126,6 +16455,212 @@ 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: + - *41 + - &118 + name: day + description: The day to request data for, in `YYYY-MM-DD` format. + in: query + required: true + schema: + type: string + format: date + example: '2025-10-13' + responses: + '200': + description: Response + content: + application/json: + schema: &119 + 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: &120 + 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': *40 + '403': *29 + '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: + - *41 + responses: + '200': + description: Response + content: + application/json: + schema: &121 + 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: &122 + 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': *40 + '403': *29 + '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: + - *41 + - *118 + responses: + '200': + description: Response + content: + application/json: + schema: *119 + examples: + default: *120 + '500': *40 + '403': *29 + '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: + - *41 + responses: + '200': + description: Response + content: + application/json: + schema: *121 + examples: + default: *122 + '500': *40 + '403': *29 + '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 @@ -16145,7 +16680,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &303 + - &317 name: state in: query description: |- @@ -16154,7 +16689,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &304 + - &318 name: severity in: query description: |- @@ -16163,7 +16698,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &305 + - &319 name: ecosystem in: query description: |- @@ -16172,14 +16707,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &306 + - &320 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 - - &307 + - &321 name: epss_percentage in: query description: |- @@ -16191,7 +16726,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 - - &581 + - &593 name: has in: query description: |- @@ -16205,7 +16740,7 @@ paths: type: string enum: - patch - - &308 + - &322 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16215,7 +16750,7 @@ paths: enum: - development - runtime - - &309 + - &323 name: sort in: query description: |- @@ -16230,34 +16765,9 @@ paths: - updated - epss_percentage default: created - - *101 - - *99 - - *100 - - &310 - 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 - - &311 - 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 + - *106 + - *104 + - *105 - *17 responses: '200': @@ -16266,11 +16776,11 @@ paths: application/json: schema: type: array - items: &312 + items: &324 type: object description: A Dependabot alert. properties: - number: *113 + number: *123 state: type: string description: The state of the Dependabot alert. @@ -16285,7 +16795,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &114 + package: &124 type: object description: Details for the vulnerable package. readOnly: true @@ -16329,7 +16839,7 @@ paths: - unknown - direct - transitive - security_advisory: &582 + security_advisory: &594 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16359,13 +16869,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &117 + items: &127 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *114 + package: *124 severity: type: string description: The severity of the vulnerability. @@ -16431,8 +16941,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *115 - epss: *116 + cvss_severities: *125 + epss: *126 cwes: type: array description: Details for the advisory pertaining to Common @@ -16531,12 +17041,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *117 - url: *118 - html_url: *119 - created_at: *120 - updated_at: *121 - dismissed_at: *122 + security_vulnerability: *127 + url: *128 + html_url: *129 + created_at: *130 + updated_at: *131 + dismissed_at: *132 dismissed_by: title: Simple User description: A GitHub user. @@ -16560,15 +17070,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *123 - auto_dismissed_at: &583 + fixed_at: *133 + auto_dismissed_at: &595 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - repository: *110 + repository: *115 required: - number - state @@ -16587,7 +17097,7 @@ paths: - repository additionalProperties: false examples: - default: &313 + default: &325 value: - number: 2 state: dismissed @@ -17004,7 +17514,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *41 - - &182 + - &192 name: username description: The handle for the GitHub user account. in: path @@ -17026,9 +17536,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *124 + items: *134 examples: - default: *125 + default: *135 '500': *40 '401': *25 '403': *29 @@ -17071,7 +17581,7 @@ paths: type: integer network_configurations: type: array - items: &126 + items: &136 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -17111,7 +17621,7 @@ paths: - name - created_on examples: - default: &423 + default: &435 value: total_count: 2 network_configurations: @@ -17189,9 +17699,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *136 examples: - default: &127 + default: &137 value: id: 123456789ABCDEF name: My network configuration @@ -17218,7 +17728,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: - *41 - - &128 + - &138 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -17230,9 +17740,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *136 examples: - default: *127 + default: *137 headers: Link: *43 x-github: @@ -17252,7 +17762,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: - *41 - - *128 + - *138 requestBody: required: true content: @@ -17291,9 +17801,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *136 examples: - default: *127 + default: *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17311,7 +17821,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: - *41 - - *128 + - *138 responses: '204': description: Response @@ -17334,7 +17844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &424 + - &436 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17346,7 +17856,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &437 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17380,7 +17890,7 @@ paths: - subnet_id - region examples: - default: &426 + default: &438 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17415,7 +17925,7 @@ paths: application/json: schema: type: array - items: &129 + items: &139 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -17481,7 +17991,7 @@ paths: - property_name - value_type examples: - default: &130 + default: &140 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17538,7 +18048,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *129 + items: *139 minItems: 1 maxItems: 100 required: @@ -17568,9 +18078,9 @@ paths: application/json: schema: type: array - items: *129 + items: *139 examples: - default: *130 + default: *140 '403': *29 '404': *6 x-github: @@ -17593,8 +18103,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *41 - - *78 - - &131 + - *83 + - &141 name: custom_property_name description: The custom property name in: path @@ -17606,9 +18116,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *139 examples: - default: &132 + default: &142 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17641,15 +18151,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *131 + - *141 responses: '200': description: Response content: application/json: - schema: *129 + schema: *139 examples: - default: *132 + default: *142 '403': *29 '404': *6 x-github: @@ -17671,12 +18181,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: - *41 - - *131 + - *141 requestBody: required: true content: application/json: - schema: &388 + schema: &400 title: Custom Property Set Payload description: Custom property set payload type: object @@ -17740,9 +18250,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *139 examples: - default: *132 + default: *142 '403': *29 '404': *6 x-github: @@ -17764,9 +18274,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *131 + - *141 responses: - '204': *133 + '204': *143 '403': *29 '404': *6 x-github: @@ -17806,7 +18316,7 @@ paths: - push - repository default: branch - enforcement: &140 + enforcement: &150 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -17819,7 +18329,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &141 + items: &151 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -17860,7 +18370,7 @@ paths: - pull_request - exempt default: always - conditions: &164 + conditions: &174 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -17874,7 +18384,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &134 + - &144 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -17900,7 +18410,7 @@ paths: type: string required: - organization_name - - &137 + - &147 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -17929,7 +18439,7 @@ paths: is prevented. required: - repository_name - - &136 + - &146 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -17957,8 +18467,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *134 - - &139 + - *144 + - &149 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -17971,7 +18481,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &135 + items: &145 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -18002,16 +18512,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *135 + items: *145 required: - repository_property - - *136 + - *146 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &138 + - &148 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -18028,25 +18538,25 @@ paths: type: integer required: - organization_id - - *137 - - *136 + - *147 + - *146 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *138 - - *139 - - *136 + - *148 + - *149 + - *146 rules: type: array description: An array of rules within the ruleset. - items: &165 + items: &175 title: Repository Rule type: object description: A repository rule. oneOf: - - &142 + - &152 title: creation description: Only allow users with bypass permission to create matching refs. @@ -18058,7 +18568,7 @@ paths: type: string enum: - creation - - &143 + - &153 title: update description: Only allow users with bypass permission to update matching refs. @@ -18079,7 +18589,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &144 + - &154 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -18091,7 +18601,7 @@ paths: type: string enum: - deletion - - &145 + - &155 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -18103,7 +18613,7 @@ paths: type: string enum: - required_linear_history - - &146 + - &156 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -18127,7 +18637,7 @@ paths: type: string required: - required_deployment_environments - - &147 + - &157 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -18139,7 +18649,7 @@ paths: type: string enum: - required_signatures - - &148 + - &158 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. @@ -18199,7 +18709,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &149 + - &159 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -18246,7 +18756,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &150 + - &160 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -18258,7 +18768,7 @@ paths: type: string enum: - non_fast_forward - - &151 + - &161 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -18294,7 +18804,7 @@ paths: required: - operator - pattern - - &152 + - &162 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -18330,7 +18840,7 @@ paths: required: - operator - pattern - - &153 + - &163 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18366,7 +18876,7 @@ paths: required: - operator - pattern - - &154 + - &164 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18402,7 +18912,7 @@ paths: required: - operator - pattern - - &155 + - &165 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -18438,7 +18948,7 @@ paths: required: - operator - pattern - - &156 + - &166 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -18462,7 +18972,7 @@ paths: type: string required: - restricted_file_paths - - &157 + - &167 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -18486,7 +18996,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &158 + - &168 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -18509,7 +19019,7 @@ paths: type: string required: - restricted_file_extensions - - &159 + - &169 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -18533,7 +19043,7 @@ paths: maximum: 100 required: - max_file_size - - &160 + - &170 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -18582,7 +19092,7 @@ paths: - repository_id required: - workflows - - &161 + - &171 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -18668,7 +19178,7 @@ paths: description: Response content: application/json: - schema: &162 + schema: &172 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -18703,11 +19213,11 @@ paths: source: type: string description: The name of the source - enforcement: *140 + enforcement: *150 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 + items: *151 current_user_can_bypass: type: string description: |- @@ -18739,8 +19249,8 @@ paths: conditions: nullable: true anyOf: - - *136 - - &395 + - *146 + - &407 title: Organization ruleset conditions type: object description: |- @@ -18754,14 +19264,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *136 - - *137 + - *146 + - *147 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *136 + - *146 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -18783,20 +19293,20 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *136 - - *139 + - *146 + - *149 rules: type: array - items: &703 + items: &715 title: Repository Rule type: object description: A repository rule. oneOf: - - *142 - - *143 - - *144 - - *145 - - &700 + - *152 + - *153 + - *154 + - *155 + - &712 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -18874,23 +19384,23 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *146 - - *147 - - *148 - - *149 - - *150 - - *151 - - *152 - - *153 - - *154 - - *155 - *156 - *157 - *158 - *159 - *160 - *161 - - &701 + - *162 + - *163 + - *164 + - *165 + - *166 + - *167 + - *168 + - *169 + - *170 + - *171 + - &713 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -18920,7 +19430,7 @@ paths: type: string format: date-time examples: - default: &163 + default: &173 value: id: 21 name: super cool ruleset @@ -18979,9 +19489,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: *163 + default: *173 '404': *6 '500': *40 x-github: @@ -19025,16 +19535,16 @@ paths: - tag - push - repository - enforcement: *140 + enforcement: *150 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *164 + items: *151 + conditions: *174 rules: description: An array of rules within the ruleset. type: array - items: *165 + items: *175 examples: default: value: @@ -19058,9 +19568,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: *163 + default: *173 '404': *6 '500': *40 x-github: @@ -19122,7 +19632,7 @@ paths: application/json: schema: type: array - items: &166 + items: &176 title: Ruleset version type: object description: The historical version of a ruleset @@ -19146,7 +19656,7 @@ paths: type: string format: date-time examples: - default: &398 + default: &410 value: - version_id: 3 actor: @@ -19199,9 +19709,9 @@ paths: description: Response content: application/json: - schema: &399 + schema: &411 allOf: - - *166 + - *176 - type: object required: - state @@ -19254,7 +19764,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &400 + - &412 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19265,7 +19775,7 @@ paths: enum: - open - resolved - - &401 + - &413 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19275,7 +19785,7 @@ paths: required: false schema: type: string - - &402 + - &414 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19284,7 +19794,7 @@ paths: required: false schema: type: string - - &403 + - &415 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. @@ -19296,11 +19806,11 @@ paths: - created - updated default: created - - *101 + - *106 - *17 - - *99 - - *100 - - &404 + - *104 + - *105 + - &416 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19309,7 +19819,7 @@ paths: required: false schema: type: string - - &405 + - &417 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19318,7 +19828,7 @@ paths: schema: type: boolean default: false - - &406 + - &418 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19327,7 +19837,7 @@ paths: schema: type: boolean default: false - - &407 + - &419 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19343,11 +19853,11 @@ paths: application/json: schema: type: array - items: &408 + items: &420 type: object properties: - number: *113 - created_at: *120 + number: *123 + created_at: *130 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -19355,21 +19865,21 @@ paths: format: date-time readOnly: true nullable: true - url: *118 - html_url: *119 + url: *128 + html_url: *129 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &715 + state: &727 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: &716 + resolution: &728 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -19403,7 +19913,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *110 + repository: *115 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -19476,8 +19986,8 @@ paths: pull request. ' - oneOf: &717 - - &719 + oneOf: &729 + - &731 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -19529,7 +20039,7 @@ paths: - blob_url - commit_sha - commit_url - - &720 + - &732 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. @@ -19584,7 +20094,7 @@ paths: - page_url - commit_sha - commit_url - - &721 + - &733 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -19598,7 +20108,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &722 + - &734 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -19612,7 +20122,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &723 + - &735 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -19626,7 +20136,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &724 + - &736 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -19640,7 +20150,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &725 + - &737 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -19654,7 +20164,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &726 + - &738 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -19668,7 +20178,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &727 + - &739 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. @@ -19682,7 +20192,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &728 + - &740 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. @@ -19696,7 +20206,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &729 + - &741 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. @@ -19710,7 +20220,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &730 + - &742 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. @@ -19724,7 +20234,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &731 + - &743 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. @@ -19751,7 +20261,7 @@ paths: required: *21 nullable: true examples: - default: &409 + default: &421 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -19929,9 +20439,9 @@ paths: headers: Link: *43 '404': *6 - '503': *167 + '503': *177 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -19960,13 +20470,13 @@ paths: description: Response content: application/json: - schema: &410 + schema: &422 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: &169 + pattern_config_version: &179 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -19975,7 +20485,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &168 + items: &178 type: object properties: token_type: @@ -20041,9 +20551,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *168 + items: *178 examples: - default: &411 + default: &423 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20098,7 +20608,7 @@ paths: schema: type: object properties: - pattern_config_version: *169 + pattern_config_version: *179 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -20124,7 +20634,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *169 + custom_pattern_version: *179 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -20160,7 +20670,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *15 "/enterprises/{enterprise}/settings/billing/actions": get: @@ -20187,7 +20697,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &426 type: object properties: total_minutes_used: @@ -20257,7 +20767,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &415 + default: &427 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20288,7 +20798,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &416 + - &428 name: advanced_security_product in: query description: | @@ -20308,7 +20818,7 @@ paths: description: Success content: application/json: - schema: &417 + schema: &429 type: object properties: total_advanced_security_committers: @@ -20363,7 +20873,7 @@ paths: required: - repositories examples: - default: &418 + default: &430 value: total_advanced_security_committers: 2 total_count: 2 @@ -20402,6 +20912,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise parameters: - *41 + - 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 @@ -20473,7 +20993,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20602,7 +21122,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *41 - - &172 + - &182 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -20614,7 +21134,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &170 + schema: &180 type: object properties: id: @@ -20653,7 +21173,7 @@ paths: - name - resources examples: - default: &171 + default: &181 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -20667,7 +21187,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20717,15 +21237,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *170 + schema: *180 examples: - default: *171 + default: *181 '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20743,7 +21263,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *41 - - *172 + - *182 responses: '200': description: Response when deleting a cost center @@ -20782,7 +21302,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20803,7 +21323,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *41 - - *172 + - *182 requestBody: required: true content: @@ -20873,9 +21393,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *29 - '409': *109 + '409': *114 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20895,7 +21415,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *41 - - *172 + - *182 requestBody: required: true content: @@ -20942,7 +21462,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20973,7 +21493,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &431 type: object properties: total_gigabytes_bandwidth_used: @@ -20991,7 +21511,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &420 + default: &432 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21004,8 +21524,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 @@ -21014,7 +21536,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *41 - - &173 + - &183 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, @@ -21023,7 +21545,7 @@ paths: required: false schema: type: integer - - &222 + - &234 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 @@ -21032,7 +21554,7 @@ paths: required: false schema: type: integer - - &174 + - &184 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 @@ -21048,21 +21570,21 @@ paths: required: false schema: type: string - - &223 + - &235 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &224 + - &236 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &225 + - &237 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21146,19 +21668,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 @@ -21201,7 +21723,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21232,7 +21754,7 @@ paths: description: Response content: application/json: - schema: &421 + schema: &433 type: object properties: days_left_in_billing_cycle: @@ -21250,7 +21772,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &422 + default: &434 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21275,8 +21797,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - *173 - - &226 + - *183 + - &238 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 @@ -21285,8 +21807,8 @@ paths: required: false schema: type: integer - - *174 - - &227 + - *184 + - &239 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 @@ -21307,7 +21829,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &228 + schema: &240 type: object properties: usageItems: @@ -21360,7 +21882,7 @@ paths: - netAmount - organizationName examples: - default: &229 + default: &241 value: usageItems: - date: '2023-08-01' @@ -21377,7 +21899,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21448,13 +21970,13 @@ paths: application/json: schema: type: array - items: *175 + items: *185 examples: - default: *176 + default: *186 '500': *40 '403': *29 '404': *6 - '422': *177 + '422': *187 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -21481,9 +22003,9 @@ paths: application/json: schema: type: array - items: *178 + items: *188 examples: - default: &179 + default: &189 value: - id: 1 name: Justice League @@ -21539,6 +22061,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: nullable: true type: string @@ -21557,9 +22091,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *188 examples: - default: *179 + default: *189 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21577,7 +22111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &180 + - &190 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -21596,7 +22130,7 @@ paths: type: array items: *4 examples: - default: &181 + default: &191 value: - login: octocat id: 1 @@ -21635,7 +22169,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *180 + - *190 requestBody: required: true content: @@ -21666,7 +22200,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21684,7 +22218,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *180 + - *190 requestBody: required: true content: @@ -21715,7 +22249,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21733,8 +22267,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *180 - - *182 + - *190 + - *192 responses: '200': description: User is a member of the enterprise team. @@ -21742,7 +22276,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &183 + exampleKey1: &193 value: login: octocat id: 1 @@ -21778,8 +22312,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *180 - - *182 + - *190 + - *192 responses: '201': description: Successfully added team member @@ -21787,7 +22321,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *183 + exampleKey1: *193 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21805,8 +22339,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *180 - - *182 + - *190 + - *192 responses: '204': description: Response @@ -21816,6 +22350,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: + - *41 + - *190 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: *69 + examples: + default: &194 + 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: + - *41 + - *190 + 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: *69 + examples: + default: &231 + 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: + - *41 + - *190 + 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: + - *41 + - *190 + - *83 + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *69 + examples: + default: *194 + '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: + - *41 + - *190 + - *83 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *69 + examples: + default: *194 + 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: + - *41 + - *190 + - *83 + 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 @@ -21831,7 +22586,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &184 + - &195 name: team_slug description: The slug of the team name. in: path @@ -21843,9 +22598,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *188 examples: - default: *179 + default: *189 headers: Link: *43 '403': *29 @@ -21865,7 +22620,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *184 + - *195 requestBody: required: true content: @@ -21891,6 +22646,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: nullable: true type: string @@ -21908,9 +22675,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *188 examples: - default: *179 + default: *189 headers: Link: *43 '403': *29 @@ -21933,7 +22700,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *184 + - *195 responses: '204': description: Response @@ -22032,7 +22799,7 @@ paths: application/json: schema: type: array - items: &215 + items: &226 title: Event description: Event type: object @@ -22042,7 +22809,7 @@ paths: type: type: string nullable: true - actor: &185 + actor: &196 title: Actor description: Actor type: object @@ -22082,7 +22849,7 @@ paths: - id - name - url - org: *185 + org: *196 payload: oneOf: - title: CreateEvent @@ -22128,7 +22895,7 @@ paths: properties: action: type: string - discussion: &854 + discussion: &865 title: Discussion description: A Discussion in a repository. type: object @@ -22415,7 +23182,7 @@ paths: - id labels: type: array - items: &188 + items: &199 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -22490,12 +23257,12 @@ paths: properties: action: type: string - issue: &189 + issue: &200 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &640 + properties: &652 id: type: integer format: int64 @@ -22609,7 +23376,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &380 + properties: &392 url: type: string format: uri @@ -22679,7 +23446,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &381 + required: &393 - closed_issues - creator - description @@ -22758,7 +23525,7 @@ paths: timeline_url: type: string format: uri - type: &342 + type: &354 title: Issue Type description: The type of issue. type: object @@ -22808,7 +23575,7 @@ paths: - node_id - name - description - repository: *69 + repository: *74 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -22819,9 +23586,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - author_association: &190 + properties: *197 + required: *198 + author_association: &201 title: author_association type: string example: OWNER @@ -22836,7 +23603,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &191 + reactions: &202 title: Reaction Rollup type: object properties: @@ -22872,7 +23639,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &775 + sub_issues_summary: &787 title: Sub-issues Summary type: object properties: @@ -22892,7 +23659,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &776 + issue_dependencies_summary: &788 title: Issue Dependencies Summary type: object properties: @@ -22911,7 +23678,7 @@ paths: - total_blocking issue_field_values: type: array - items: &777 + items: &789 title: Issue Field Value description: A value assigned to an issue field type: object @@ -22972,7 +23739,7 @@ paths: - node_id - data_type - value - required: &641 + required: &653 - assignee - closed_at - comments @@ -22997,10 +23764,10 @@ paths: assignees: type: array items: *4 - label: *188 + label: *199 labels: type: array - items: *188 + items: *199 required: - action - issue @@ -23009,8 +23776,8 @@ paths: properties: action: type: string - issue: *189 - comment: &638 + issue: *200 + comment: &650 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -23058,7 +23825,7 @@ paths: issue_url: type: string format: uri - author_association: *190 + author_association: *201 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -23069,9 +23836,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - reactions: *191 + properties: *197 + required: *198 + reactions: *202 required: - id - node_id @@ -23244,8 +24011,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true allow_forking: type: boolean @@ -23334,7 +24101,7 @@ paths: type: string number: type: integer - pull_request: &194 + pull_request: &205 title: Pull Request Minimal type: object properties: @@ -23405,10 +24172,10 @@ paths: assignees: type: array items: *4 - label: *188 + label: *199 labels: type: array - items: *188 + items: *199 required: - action - number @@ -23418,7 +24185,7 @@ paths: properties: action: type: string - pull_request: *194 + pull_request: *205 comment: type: object properties: @@ -23669,7 +24436,7 @@ paths: - pull_request updated_at: type: string - pull_request: *194 + pull_request: *205 required: - action - review @@ -23718,7 +24485,7 @@ paths: updated_at: type: string format: date-time - reactions: *191 + reactions: *202 required: - action - comment @@ -23729,7 +24496,7 @@ paths: type: string release: allOf: - - &693 + - &705 title: Release description: A release. type: object @@ -23800,7 +24567,7 @@ paths: author: *4 assets: type: array - items: &694 + items: &706 title: Release Asset description: Data related to a release. type: object @@ -23875,7 +24642,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *191 + reactions: *202 required: - assets_url - upload_url @@ -23967,7 +24734,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24048,7 +24815,7 @@ paths: _links: type: object properties: - timeline: &195 + timeline: &206 title: Link With Type description: Hypermedia Link with Type type: object @@ -24060,17 +24827,17 @@ paths: required: - href - type - user: *195 - security_advisories: *195 - current_user: *195 - current_user_public: *195 - current_user_actor: *195 - current_user_organization: *195 + user: *206 + security_advisories: *206 + current_user: *206 + current_user_public: *206 + current_user_actor: *206 + current_user_organization: *206 current_user_organizations: type: array - items: *195 - repository_discussions: *195 - repository_discussions_category: *195 + items: *206 + repository_discussions: *206 + repository_discussions_category: *206 required: - timeline - user @@ -24132,7 +24899,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *196 + - *207 - *17 - *19 responses: @@ -24142,7 +24909,7 @@ paths: application/json: schema: type: array - items: &197 + items: &208 title: Base Gist description: Base Gist type: object @@ -24241,7 +25008,7 @@ paths: - created_at - updated_at examples: - default: &198 + default: &209 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -24362,7 +25129,7 @@ paths: description: Response content: application/json: - schema: &199 + schema: &210 title: Gist Simple description: Gist Simple type: object @@ -24379,7 +25146,7 @@ paths: url: type: string format: uri - user: &789 + user: &801 title: Public User description: Public User type: object @@ -24741,7 +25508,7 @@ paths: truncated: type: boolean examples: - default: &200 + default: &211 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -24845,7 +25612,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *196 + - *207 - *17 - *19 responses: @@ -24855,9 +25622,9 @@ paths: application/json: schema: type: array - items: *197 + items: *208 examples: - default: *198 + default: *209 headers: Link: *43 '422': *15 @@ -24879,7 +25646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *196 + - *207 - *17 - *19 responses: @@ -24889,9 +25656,9 @@ paths: application/json: schema: type: array - items: *197 + items: *208 examples: - default: *198 + default: *209 headers: Link: *43 '401': *25 @@ -24919,7 +25686,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &201 + - &212 name: gist_id description: The unique identifier of the gist. in: path @@ -24931,10 +25698,10 @@ paths: description: Response content: application/json: - schema: *199 + schema: *210 examples: - default: *200 - '403': &204 + default: *211 + '403': &215 description: Forbidden Gist content: application/json: @@ -24982,7 +25749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *201 + - *212 requestBody: required: true content: @@ -25042,9 +25809,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *210 examples: - updateGist: *200 + updateGist: *211 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25202,7 +25969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *201 + - *212 responses: '204': description: Response @@ -25231,7 +25998,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *201 + - *212 - *17 - *19 responses: @@ -25241,7 +26008,7 @@ paths: application/json: schema: type: array - items: &202 + items: &213 title: Gist Comment description: A comment made to a gist. type: object @@ -25276,7 +26043,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *190 + author_association: *201 required: - url - id @@ -25341,7 +26108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *201 + - *212 requestBody: required: true content: @@ -25366,9 +26133,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *213 examples: - default: &203 + default: &214 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -25426,8 +26193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *201 - - &205 + - *212 + - &216 name: comment_id description: The unique identifier of the comment. in: path @@ -25440,12 +26207,12 @@ paths: description: Response content: application/json: - schema: *202 + schema: *213 examples: - default: *203 + default: *214 '304': *37 '404': *6 - '403': *204 + '403': *215 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25467,8 +26234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *201 - - *205 + - *212 + - *216 requestBody: required: true content: @@ -25493,9 +26260,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *213 examples: - default: *203 + default: *214 '404': *6 x-github: githubCloudOnly: false @@ -25512,8 +26279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *201 - - *205 + - *212 + - *216 responses: '204': description: Response @@ -25536,7 +26303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *201 + - *212 - *17 - *19 responses: @@ -25637,7 +26404,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *201 + - *212 - *17 - *19 responses: @@ -25647,7 +26414,7 @@ paths: application/json: schema: type: array - items: *199 + items: *210 examples: default: value: @@ -25712,13 +26479,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *201 + - *212 responses: '201': description: Response content: application/json: - schema: *197 + schema: *208 examples: default: value: @@ -25789,7 +26556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *201 + - *212 responses: '204': description: Response if gist is starred @@ -25819,7 +26586,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *201 + - *212 responses: '204': description: Response @@ -25841,7 +26608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *201 + - *212 responses: '204': description: Response @@ -25870,7 +26637,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *201 + - *212 - name: sha in: path required: true @@ -25881,9 +26648,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *210 examples: - default: *200 + default: *211 '422': *15 '404': *6 '403': *29 @@ -26042,7 +26809,7 @@ paths: type: integer repositories: type: array - items: *69 + items: *74 repository_selection: type: string example: selected @@ -26249,7 +27016,7 @@ paths: - closed - all default: open - - &345 + - &357 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -26267,8 +27034,8 @@ paths: - updated - comments default: created - - *101 - - *196 + - *106 + - *207 - name: collab in: query required: false @@ -26298,9 +27065,9 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: &346 + default: &358 value: - id: 1 node_id: MDU6SXNzdWUx @@ -26584,8 +27351,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 examples: default: value: @@ -26870,7 +27637,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &206 + X-CommonMarker-Version: &217 example: 0.17.4 schema: type: string @@ -26925,7 +27692,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *206 + X-CommonMarker-Version: *217 content: text/html: schema: @@ -26954,7 +27721,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: - - &209 + - &220 name: account_id description: account_id parameter in: path @@ -26966,7 +27733,7 @@ paths: description: Response content: application/json: - schema: &208 + schema: &219 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -26996,7 +27763,7 @@ paths: nullable: true id: type: integer - plan: &207 + plan: &218 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27085,7 +27852,7 @@ paths: nullable: true updated_at: type: string - plan: *207 + plan: *218 required: - url - id @@ -27093,7 +27860,7 @@ paths: - login - marketplace_purchase examples: - default: &210 + default: &221 value: url: https://api.github.com/orgs/github type: Organization @@ -27178,9 +27945,9 @@ paths: application/json: schema: type: array - items: *207 + items: *218 examples: - default: &211 + default: &222 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27220,14 +27987,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &212 + - &223 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &213 + - &224 name: sort description: The property to sort the results by. in: query @@ -27257,9 +28024,9 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: - default: &214 + default: &225 value: - url: https://api.github.com/orgs/github type: Organization @@ -27333,15 +28100,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: - - *209 + - *220 responses: '200': description: Response content: application/json: - schema: *208 + schema: *219 examples: - default: *210 + default: *221 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -27373,9 +28140,9 @@ paths: application/json: schema: type: array - items: *207 + items: *218 examples: - default: *211 + default: *222 headers: Link: *43 '401': *25 @@ -27398,8 +28165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *212 - - *213 + - *223 + - *224 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -27419,9 +28186,9 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: - default: *214 + default: *225 headers: Link: *43 '401': *25 @@ -27685,14 +28452,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: - - &446 + - &458 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &447 + - &459 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -27709,7 +28476,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -27754,7 +28521,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &460 + '301': &472 description: Moved permanently content: application/json: @@ -27776,7 +28543,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &669 + - &681 name: all description: If `true`, show notifications marked as read. in: query @@ -27784,7 +28551,7 @@ paths: schema: type: boolean default: false - - &670 + - &682 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -27793,8 +28560,8 @@ paths: schema: type: boolean default: false - - *196 - - &671 + - *207 + - &683 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: @@ -27819,18 +28586,18 @@ paths: application/json: schema: type: array - items: &216 + items: &227 title: Thread description: Thread type: object properties: id: type: string - repository: &255 + repository: &269 title: Minimal Repository description: Minimal Repository type: object - properties: &315 + properties: &327 id: type: integer format: int64 @@ -28106,7 +28873,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &392 + security_and_analysis: &404 nullable: true type: object properties: @@ -28188,7 +28955,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &316 + required: &328 - archive_url - assignees_url - blobs_url @@ -28276,7 +29043,7 @@ paths: - url - subscription_url examples: - default: &672 + default: &684 value: - id: '1' repository: @@ -28442,7 +29209,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &217 + - &228 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 @@ -28456,7 +29223,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *227 examples: default: value: @@ -28559,7 +29326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *217 + - *228 responses: '205': description: Reset Content @@ -28582,7 +29349,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *217 + - *228 responses: '204': description: No content @@ -28605,13 +29372,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: - - *217 + - *228 responses: '200': description: Response content: application/json: - schema: &218 + schema: &229 title: Thread Subscription description: Thread Subscription type: object @@ -28648,7 +29415,7 @@ paths: - url - subscribed examples: - default: &219 + default: &230 value: subscribed: true ignored: false @@ -28679,7 +29446,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *217 + - *228 requestBody: required: false content: @@ -28700,9 +29467,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *229 examples: - default: *219 + default: *230 '304': *37 '403': *29 '401': *25 @@ -28725,7 +29492,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *217 + - *228 responses: '204': description: Response @@ -28820,22 +29587,9 @@ paths: application/json: schema: type: array - items: *64 + items: *69 examples: - default: &806 - 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: *231 headers: Link: example: ; rel="next" @@ -28886,7 +29640,7 @@ paths: type: integer custom_roles: type: array - items: &298 + items: &312 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -28934,7 +29688,7 @@ paths: - created_at - updated_at examples: - default: &299 + default: &313 value: id: 8030 name: Security Engineer @@ -28981,7 +29735,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: - - *78 + - *83 - name: page in: query description: The page number of results to fetch. @@ -29025,8 +29779,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *220 - required: *221 + properties: *232 + required: *233 nullable: true additionalProperties: false examples: @@ -29132,7 +29886,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: - - *78 + - *83 requestBody: required: true content: @@ -29198,7 +29952,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: - - *78 + - *83 requestBody: required: true content: @@ -29234,9 +29988,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 @@ -29244,13 +29999,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: - - *78 - - *173 - - *222 - - *174 - - *223 - - *224 - - *225 + - *83 + - *183 + - *234 + - *184 + - *235 + - *236 + - *237 responses: '200': description: Response when getting a billing premium request usage report @@ -29306,19 +30061,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 @@ -29361,7 +30116,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29381,23 +30136,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: - - *78 - - *173 - - *226 - - *174 - - *227 + - *83 + - *183 + - *238 + - *184 + - *239 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *228 + schema: *240 examples: - default: *229 + default: *241 '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29423,13 +30178,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: &230 + schema: &242 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -29762,7 +30517,7 @@ paths: - updated_at - archived_at examples: - default-response: &231 + default-response: &243 value: login: github id: 1 @@ -29864,7 +30619,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *78 + - *83 requestBody: required: false content: @@ -30087,18 +30842,18 @@ paths: description: Response content: application/json: - schema: *230 + schema: *242 examples: - default: *231 + default: *243 '422': description: Validation failed content: application/json: schema: oneOf: - - *232 - - *233 - '409': *109 + - *244 + - *245 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30121,7 +30876,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *78 + - *83 responses: '202': *39 '404': *6 @@ -30146,15 +30901,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *234 + schema: *246 examples: - default: *235 + default: *247 headers: Link: *43 x-github: @@ -30177,7 +30932,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: - - *78 + - *83 - *17 - *19 responses: @@ -30195,7 +30950,7 @@ paths: type: integer repository_cache_usages: type: array - items: &465 + items: &477 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -30250,7 +31005,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: - - *78 + - *83 - *17 - *19 responses: @@ -30270,7 +31025,7 @@ paths: type: array items: *44 examples: - default: *236 + default: *248 headers: Link: *43 x-github: @@ -30290,7 +31045,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: - - *78 + - *83 requestBody: required: true content: @@ -30319,6 +31074,11 @@ 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 + nullable: true size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -30336,6 +31096,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 @@ -30359,12 +31124,195 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 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: + - *83 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: *45 + examples: + default: *47 + 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: + - *83 + - *46 + responses: + '200': + description: Response + content: + application/json: + schema: *45 + examples: + default: *249 + 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: + - *83 + - *46 + 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: + - *46 + - *83 + 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: *48 + examples: + default: *47 + 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: + - *83 + - *46 + - *49 + responses: + '200': + description: Response + content: + application/json: + schema: *48 + examples: + default: *250 + 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: + - *83 + - *46 + - *49 + 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 @@ -30377,7 +31325,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: - - *78 + - *83 responses: '200': description: Response @@ -30393,9 +31341,9 @@ paths: type: integer images: type: array - items: *45 + items: *50 examples: - default: *46 + default: *51 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30413,7 +31361,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: - - *78 + - *83 responses: '200': description: Response @@ -30429,9 +31377,9 @@ paths: type: integer images: type: array - items: *45 + items: *50 examples: - default: *46 + default: *51 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30448,15 +31396,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *237 + schema: *251 examples: - default: *238 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30474,7 +31422,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: - - *78 + - *83 responses: '200': description: Response @@ -30490,9 +31438,9 @@ paths: type: integer machine_specs: type: array - items: *47 + items: *52 examples: - default: *239 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30510,7 +31458,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: - - *78 + - *83 responses: '200': description: Response @@ -30554,8 +31502,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: - - *78 - - *49 + - *83 + - *54 responses: '200': description: Response @@ -30563,7 +31511,7 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 headers: Link: *43 x-github: @@ -30583,8 +31531,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: - - *78 - - *49 + - *83 + - *54 requestBody: required: true content: @@ -30610,6 +31558,11 @@ 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 + nullable: true examples: default: value: @@ -30624,7 +31577,7 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -30640,8 +31593,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: - - *78 - - *49 + - *83 + - *54 responses: '202': description: Response @@ -30649,7 +31602,7 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30669,13 +31622,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: - - *78 + - *83 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &240 + schema: &254 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -30689,7 +31642,7 @@ paths: required: - include_claim_keys examples: - default: &241 + default: &255 value: include_claim_keys: - repo @@ -30711,20 +31664,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: - - *78 + - *83 requestBody: required: true content: application/json: - schema: *240 + schema: *254 examples: - default: *241 + default: *255 responses: '201': description: Empty response content: application/json: - schema: &266 + schema: &280 title: Empty Object description: An object without any properties. type: object @@ -30754,7 +31707,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: - - *78 + - *83 responses: '200': description: Response @@ -30763,7 +31716,7 @@ paths: schema: type: object properties: - enabled_repositories: &243 + enabled_repositories: &257 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -30776,9 +31729,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: *51 - selected_actions_url: *242 - sha_pinning_required: *52 + allowed_actions: *56 + selected_actions_url: *256 + sha_pinning_required: *57 required: - enabled_repositories examples: @@ -30808,7 +31761,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: - - *78 + - *83 responses: '204': description: Response @@ -30819,9 +31772,9 @@ paths: schema: type: object properties: - enabled_repositories: *243 - allowed_actions: *51 - sha_pinning_required: *52 + enabled_repositories: *257 + allowed_actions: *56 + sha_pinning_required: *57 required: - enabled_repositories examples: @@ -30849,13 +31802,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *244 + schema: *258 examples: response: summary: Example response @@ -30881,12 +31834,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: - - *78 + - *83 requestBody: required: true content: application/json: - schema: *245 + schema: *259 examples: application/json: value: @@ -30896,7 +31849,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *15 x-github: enabledForGitHubApps: true @@ -30916,15 +31869,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *53 + schema: *58 examples: - default: *246 + default: *260 '404': *6 x-github: enabledForGitHubApps: true @@ -30943,7 +31896,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: - - *78 + - *83 responses: '204': description: Response @@ -30953,7 +31906,7 @@ paths: required: true content: application/json: - schema: *53 + schema: *58 examples: default: summary: Set approval policy to first time contributors @@ -30975,15 +31928,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *247 + schema: *261 examples: - default: *54 + default: *59 '403': *29 '404': *6 x-github: @@ -31001,14 +31954,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: - - *78 + - *83 requestBody: required: true content: application/json: - schema: *248 + schema: *262 examples: - default: *54 + default: *59 responses: '204': description: Empty response for successful settings update @@ -31038,7 +31991,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: - - *78 + - *83 - *17 - *19 responses: @@ -31056,9 +32009,9 @@ paths: type: number repositories: type: array - items: *69 + items: *74 examples: - default: &250 + default: &264 value: total_count: 1 repositories: @@ -31198,7 +32151,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: - - *78 + - *83 responses: '204': description: Response @@ -31242,8 +32195,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: - - *78 - - &249 + - *83 + - &263 name: repository_id description: The unique identifier of the repository. in: path @@ -31271,8 +32224,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: - - *78 - - *249 + - *83 + - *263 responses: '204': description: Response @@ -31295,15 +32248,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *56 + schema: *61 examples: - default: *57 + default: *62 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -31326,7 +32279,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: - - *78 + - *83 responses: '204': description: Response @@ -31334,9 +32287,9 @@ paths: required: false content: application/json: - schema: *56 + schema: *61 examples: - selected_actions: *57 + selected_actions: *62 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -31356,7 +32309,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: - - *78 + - *83 responses: '200': description: Response @@ -31404,7 +32357,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: - - *78 + - *83 requestBody: required: true content: @@ -31431,7 +32384,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *15 x-github: enabledForGitHubApps: true @@ -31451,7 +32404,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: - - *78 + - *83 - *17 - *19 responses: @@ -31466,9 +32419,9 @@ paths: type: integer repositories: type: array - items: *69 + items: *74 examples: - default: *250 + default: *264 '403': *29 '404': *6 x-github: @@ -31488,7 +32441,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: - - *78 + - *83 requestBody: required: true content: @@ -31536,14 +32489,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: - - *78 - - *249 + - *83 + - *263 responses: '204': description: No content '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *15 x-github: enabledForGitHubApps: true @@ -31563,14 +32516,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: - - *78 - - *249 + - *83 + - *263 responses: '204': description: No content '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *15 x-github: enabledForGitHubApps: true @@ -31592,15 +32545,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *251 + schema: *265 examples: - default: *60 + default: *65 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31621,7 +32574,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: - - *78 + - *83 responses: '204': description: Success response @@ -31632,9 +32585,9 @@ paths: required: false content: application/json: - schema: *252 + schema: *266 examples: - default: *60 + default: *65 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31654,7 +32607,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: - - *78 + - *83 - *17 - *19 - name: visible_to_repository @@ -31679,7 +32632,7 @@ paths: type: number runner_groups: type: array - items: &253 + items: &267 type: object properties: id: @@ -31795,7 +32748,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: - - *78 + - *83 requestBody: required: true content: @@ -31867,9 +32820,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *267 examples: - default: &254 + default: &268 value: id: 2 name: octo-runner-group @@ -31904,14 +32857,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: - - *78 - - *63 + - *83 + - *68 responses: '200': description: Response content: application/json: - schema: *253 + schema: *267 examples: default: value: @@ -31947,8 +32900,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: - - *78 - - *63 + - *83 + - *68 requestBody: required: true content: @@ -32002,9 +32955,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *267 examples: - default: *254 + default: *268 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32023,8 +32976,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: - - *78 - - *63 + - *83 + - *68 responses: '204': description: Response @@ -32047,8 +33000,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: - - *78 - - *63 + - *83 + - *68 - *17 - *19 responses: @@ -32068,7 +33021,7 @@ paths: type: array items: *44 examples: - default: *236 + default: *248 headers: Link: *43 x-github: @@ -32090,8 +33043,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: - - *78 - - *63 + - *83 + - *68 - *19 - *17 responses: @@ -32109,9 +33062,9 @@ paths: type: number repositories: type: array - items: *255 + items: *269 examples: - default: &792 + default: &804 value: total_count: 1 repositories: @@ -32363,8 +33316,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: - - *78 - - *63 + - *83 + - *68 requestBody: required: true content: @@ -32408,9 +33361,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: - - *78 - - *63 - - *249 + - *83 + - *68 + - *263 responses: '204': description: Response @@ -32432,9 +33385,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: - - *78 - - *63 - - *249 + - *83 + - *68 + - *263 responses: '204': description: Response @@ -32457,8 +33410,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: - - *78 - - *63 + - *83 + - *68 - *17 - *19 responses: @@ -32476,9 +33429,9 @@ paths: type: number runners: type: array - items: *67 + items: *72 examples: - default: *68 + default: *73 headers: Link: *43 x-github: @@ -32499,8 +33452,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: - - *78 - - *63 + - *83 + - *68 requestBody: required: true content: @@ -32544,9 +33497,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: - - *78 - - *63 - - *66 + - *83 + - *68 + - *71 responses: '204': description: Response @@ -32568,9 +33521,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: - - *78 - - *63 - - *66 + - *83 + - *68 + - *71 responses: '204': description: Response @@ -32600,7 +33553,7 @@ paths: in: query schema: type: string - - *78 + - *83 - *17 - *19 responses: @@ -32618,9 +33571,9 @@ paths: type: integer runners: type: array - items: *67 + items: *72 examples: - default: *68 + default: *73 headers: Link: *43 x-github: @@ -32644,7 +33597,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: - - *78 + - *83 responses: '200': description: Response @@ -32652,9 +33605,9 @@ paths: application/json: schema: type: array - items: *256 + items: *270 examples: - default: *257 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32676,7 +33629,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: - - *78 + - *83 requestBody: required: true content: @@ -32719,10 +33672,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *258 + '201': *272 '404': *6 '422': *7 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32750,15 +33703,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: - - *78 + - *83 responses: '201': description: Response content: application/json: - schema: *70 + schema: *75 examples: - default: *259 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32786,15 +33739,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: - - *78 + - *83 responses: '201': description: Response content: application/json: - schema: *70 + schema: *75 examples: - default: *260 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32816,16 +33769,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: - - *78 - - *66 + - *83 + - *71 responses: '200': description: Response content: application/json: - schema: *67 + schema: *72 examples: - default: *261 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32846,8 +33799,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: - - *78 - - *66 + - *83 + - *71 responses: '204': description: Response @@ -32873,10 +33826,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: - - *78 - - *66 + - *83 + - *71 responses: - '200': *72 + '200': *77 '404': *6 x-github: githubCloudOnly: false @@ -32898,8 +33851,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: - - *78 - - *66 + - *83 + - *71 requestBody: required: true content: @@ -32923,7 +33876,7 @@ paths: - gpu - accelerated responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -32947,8 +33900,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: - - *78 - - *66 + - *83 + - *71 requestBody: required: true content: @@ -32973,7 +33926,7 @@ paths: - gpu - accelerated responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -32997,10 +33950,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: - - *78 - - *66 + - *83 + - *71 responses: - '200': *262 + '200': *276 '404': *6 x-github: githubCloudOnly: false @@ -33027,11 +33980,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: - - *78 - - *66 - - *263 + - *83 + - *71 + - *277 responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -33056,7 +34009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *78 + - *83 - *17 - *19 responses: @@ -33074,7 +34027,7 @@ paths: type: integer secrets: type: array - items: &264 + items: &278 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -33147,13 +34100,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: &485 + schema: &497 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -33182,7 +34135,7 @@ paths: - key_id - key examples: - default: &486 + default: &498 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33207,8 +34160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *78 - - &265 + - *83 + - &279 name: secret_name description: The name of the secret. in: path @@ -33220,7 +34173,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *278 examples: default: value: @@ -33250,8 +34203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -33308,7 +34261,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -33334,8 +34287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 responses: '204': description: Response @@ -33361,8 +34314,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: - - *78 - - *265 + - *83 + - *279 - *19 - *17 responses: @@ -33380,9 +34333,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *269 examples: - default: &269 + default: &283 value: total_count: 1 repositories: @@ -33474,8 +34427,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: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -33527,8 +34480,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: - - *78 - - *265 + - *83 + - *279 - name: repository_id in: path required: true @@ -33561,8 +34514,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: - - *78 - - *265 + - *83 + - *279 - name: repository_id in: path required: true @@ -33594,8 +34547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *78 - - &470 + - *83 + - &482 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)." @@ -33619,7 +34572,7 @@ paths: type: integer variables: type: array - items: &267 + items: &281 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -33704,7 +34657,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *78 + - *83 requestBody: required: true content: @@ -33752,7 +34705,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -33777,8 +34730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *78 - - &268 + - *83 + - &282 name: name description: The name of the variable. in: path @@ -33790,7 +34743,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *281 examples: default: value: @@ -33820,8 +34773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *78 - - *268 + - *83 + - *282 requestBody: required: true content: @@ -33883,8 +34836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *78 - - *268 + - *83 + - *282 responses: '204': description: Response @@ -33910,8 +34863,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: - - *78 - - *268 + - *83 + - *282 - *19 - *17 responses: @@ -33929,9 +34882,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *269 examples: - default: *269 + default: *283 '409': description: Response when the visibility of the variable is not set to `selected` @@ -33957,8 +34910,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: - - *78 - - *268 + - *83 + - *282 requestBody: required: true content: @@ -34007,8 +34960,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: - - *78 - - *268 + - *83 + - *282 - name: repository_id in: path required: true @@ -34042,8 +34995,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: - - *78 - - *268 + - *83 + - *282 - name: repository_id in: path required: true @@ -34074,15 +35027,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *77 + schema: *82 examples: - default: *76 + default: *81 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -34101,19 +35054,19 @@ paths: required: true content: application/json: - schema: *270 + schema: *284 examples: - default: *76 + default: *81 parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *77 + schema: *82 examples: - default: *76 + default: *81 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -34129,7 +35082,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *78 + - *83 responses: '204': description: Response @@ -34152,7 +35105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *78 + - *83 requestBody: required: true content: @@ -34284,7 +35237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *78 + - *83 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -34367,9 +35320,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *99 - - *100 - - *78 + - *104 + - *105 + - *83 requestBody: required: true content: @@ -34392,12 +35345,12 @@ paths: required: - subject_digests examples: - default: &821 + default: &832 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &822 + withPredicateType: &833 value: subject_digests: - sha256:abc123 @@ -34455,7 +35408,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &823 + default: &834 value: attestations_subject_digests: - sha256:abc: @@ -34564,7 +35517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *78 + - *83 requestBody: required: true content: @@ -34629,7 +35582,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *78 + - *83 - name: subject_digest description: Subject Digest in: path @@ -34648,6 +35601,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 + - *104 + - *105 + - *83 + - 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 @@ -34660,7 +35664,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *78 + - *83 - name: attestation_id description: Attestation ID in: path @@ -34696,9 +35700,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations parameters: - *17 - - *99 - - *100 - - *78 + - *104 + - *105 + - *83 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -34751,7 +35755,7 @@ paths: initiator: type: string examples: - default: &499 + default: &511 value: attestations: - bundle: @@ -34869,7 +35873,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: - - *78 + - *83 - 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). @@ -34877,10 +35881,10 @@ paths: required: false schema: type: string - - *271 - - *272 - - *273 - - *274 + - *285 + - *286 + - *287 + - *288 - *17 responses: '200': @@ -34889,9 +35893,9 @@ paths: application/json: schema: type: array - items: *275 + items: *289 examples: - default: *276 + default: *290 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -34908,7 +35912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *78 + - *83 - *17 - *19 responses: @@ -34920,7 +35924,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34939,8 +35943,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: - - *78 - - *182 + - *83 + - *192 responses: '204': description: If the user is blocked @@ -34965,8 +35969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -34986,8 +35990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -35013,17 +36017,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *78 - - &279 + - *83 + - &293 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *94 - - *95 - - *96 - - *97 + - *99 + - *100 + - *101 + - *102 - *17 - *19 responses: @@ -35033,9 +36037,9 @@ paths: application/json: schema: type: array - items: *277 + items: *291 examples: - default: *278 + default: *292 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -35058,12 +36062,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *78 - - *279 - - *94 - - *95 - - *96 - - *97 + - *83 + - *293 + - *99 + - *100 + - *101 + - *102 - *17 - *19 responses: @@ -35073,9 +36077,9 @@ paths: application/json: schema: type: array - items: *280 + items: *294 examples: - default: *281 + default: *295 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -35094,15 +36098,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *78 + - *83 - *19 - *17 - - *101 + - *106 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &283 + schema: &297 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -35128,7 +36132,7 @@ paths: application/json: schema: type: array - items: &284 + items: &298 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -35159,7 +36163,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *282 + items: *296 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -35177,7 +36181,7 @@ paths: type: string format: date-time nullable: true - state: *283 + state: *297 contact_link: description: The contact link of the campaign. type: string @@ -35274,7 +36278,7 @@ paths: headers: Link: *43 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35298,7 +36302,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *78 + - *83 requestBody: required: true content: @@ -35392,9 +36396,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *298 examples: - default: &285 + default: &299 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -35443,7 +36447,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35465,7 +36469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *78 + - *83 - name: campaign_number description: The campaign number. in: path @@ -35477,16 +36481,16 @@ paths: description: Response content: application/json: - schema: *284 + schema: *298 examples: - default: *285 + default: *299 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35507,7 +36511,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *78 + - *83 - name: campaign_number description: The campaign number. in: path @@ -35556,7 +36560,7 @@ paths: type: string format: uri nullable: true - state: *283 + state: *297 examples: default: value: @@ -35566,9 +36570,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *298 examples: - default: *285 + default: *299 '400': description: Bad Request content: @@ -35580,7 +36584,7 @@ paths: content: application/json: schema: *3 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35601,7 +36605,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *78 + - *83 - name: campaign_number description: The campaign number. in: path @@ -35612,7 +36616,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35634,20 +36638,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: - - *78 - - *286 - - *287 - - *99 - - *100 + - *83 + - *300 + - *301 + - *104 + - *105 - *19 - *17 - - *101 + - *106 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *288 + schema: *302 - name: sort description: The property by which to sort the results. in: query @@ -35663,7 +36667,7 @@ paths: be returned. in: query required: false - schema: &525 + schema: &537 type: string description: Severity of a code scanning alert. enum: @@ -35681,13 +36685,13 @@ paths: application/json: schema: type: array - items: *289 + items: *303 examples: - default: *290 + default: *304 headers: Link: *43 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35709,7 +36713,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: - - *78 + - *83 - name: target_type in: query description: The target type of the code security configuration @@ -35728,8 +36732,8 @@ paths: schema: type: integer default: 30 - - *99 - - *100 + - *104 + - *105 responses: '200': description: Response @@ -35737,7 +36741,7 @@ paths: application/json: schema: type: array - items: *105 + items: *110 examples: default: value: @@ -35820,7 +36824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *78 + - *83 requestBody: required: true content: @@ -35898,7 +36902,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *291 + code_scanning_options: *305 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -35907,7 +36911,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *108 + code_scanning_default_setup_options: *113 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -36039,9 +37043,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *105 + schema: *110 examples: - default: *292 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36063,15 +37067,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *293 + schema: *307 examples: - default: *294 + default: *308 '304': *37 '403': *29 '404': *6 @@ -36097,7 +37101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *78 + - *83 requestBody: required: true content: @@ -36123,11 +37127,11 @@ paths: - 32 - 91 responses: - '204': *133 + '204': *143 '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36149,16 +37153,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *78 - - *107 + - *83 + - *112 responses: '200': description: Response content: application/json: - schema: *105 + schema: *110 examples: - default: *292 + default: *306 '304': *37 '403': *29 '404': *6 @@ -36182,8 +37186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *78 - - *107 + - *83 + - *112 requestBody: required: true content: @@ -36262,7 +37266,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *108 + code_scanning_default_setup_options: *113 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -36380,7 +37384,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *105 + schema: *110 examples: default: value: @@ -36439,14 +37443,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *78 - - *107 + - *83 + - *112 responses: - '204': *133 + '204': *143 '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36470,8 +37474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *78 - - *107 + - *83 + - *112 requestBody: required: true content: @@ -36534,8 +37538,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: - - *78 - - *107 + - *83 + - *112 requestBody: required: true content: @@ -36575,12 +37579,12 @@ paths: - none - private_and_internal - public - configuration: *105 + configuration: *110 examples: default: value: default_for_new_repos: all - configuration: *292 + configuration: *306 '403': *29 '404': *6 x-github: @@ -36604,8 +37608,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: - - *78 - - *107 + - *83 + - *112 - 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)." @@ -36614,8 +37618,8 @@ paths: schema: type: integer default: 30 - - *99 - - *100 + - *104 + - *105 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -36633,13 +37637,13 @@ paths: application/json: schema: type: array - items: *295 + items: *309 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *296 + repository: *310 '403': *29 '404': *6 x-github: @@ -36663,7 +37667,7 @@ paths: parameters: - *17 - *19 - - *78 + - *83 responses: '200': description: Response @@ -36679,7 +37683,7 @@ paths: type: integer codespaces: type: array - items: &347 + items: &359 type: object title: Codespace description: A codespace. @@ -36704,12 +37708,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *255 + repository: *269 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &554 + properties: &566 name: type: string description: The name of the machine. @@ -36751,7 +37755,7 @@ paths: - ready - in_progress nullable: true - required: &555 + required: &567 - name - display_name - operating_system @@ -36956,7 +37960,7 @@ paths: - pulls_url - recent_folders examples: - default: &348 + default: &360 value: total_count: 3 codespaces: @@ -37388,7 +38392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *78 + - *83 deprecated: true requestBody: required: true @@ -37455,7 +38459,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: - - *78 + - *83 deprecated: true requestBody: required: true @@ -37510,7 +38514,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *78 + - *83 requestBody: required: true content: @@ -37562,7 +38566,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *78 + - *83 - *17 - *19 responses: @@ -37580,7 +38584,7 @@ paths: type: integer secrets: type: array - items: &297 + items: &311 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -37619,7 +38623,7 @@ paths: - updated_at - visibility examples: - default: &556 + default: &568 value: total_count: 2 secrets: @@ -37651,13 +38655,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: &557 + schema: &569 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -37686,7 +38690,7 @@ paths: - key_id - key examples: - default: &558 + default: &570 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37709,16 +38713,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 responses: '200': description: Response content: application/json: - schema: *297 + schema: *311 examples: - default: &560 + default: &572 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -37745,8 +38749,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: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -37801,7 +38805,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -37827,8 +38831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 responses: '204': description: Response @@ -37853,8 +38857,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: - - *78 - - *265 + - *83 + - *279 - *19 - *17 responses: @@ -37872,9 +38876,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *269 examples: - default: *269 + default: *283 '404': *6 x-github: githubCloudOnly: false @@ -37896,8 +38900,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: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -37947,8 +38951,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: - - *78 - - *265 + - *83 + - *279 - name: repository_id in: path required: true @@ -37981,8 +38985,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: - - *78 - - *265 + - *83 + - *279 - name: repository_id in: path required: true @@ -38021,7 +39025,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: - - *78 + - *83 responses: '200': description: OK @@ -38162,7 +39166,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: - - *78 + - *83 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -38185,9 +39189,9 @@ paths: currently being billed. seats: type: array - items: *124 + items: *134 examples: - default: *125 + default: *135 headers: Link: *43 '500': *40 @@ -38223,7 +39227,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: - - *78 + - *83 requestBody: content: application/json: @@ -38301,7 +39305,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: - - *78 + - *83 requestBody: content: application/json: @@ -38381,7 +39385,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: - - *78 + - *83 requestBody: content: application/json: @@ -38458,7 +39462,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: - - *78 + - *83 requestBody: content: application/json: @@ -38539,7 +39543,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: - - *78 + - *83 - 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`). @@ -38571,13 +39575,13 @@ paths: application/json: schema: type: array - items: *175 + items: *185 examples: - default: *176 + default: *186 '500': *40 '403': *29 '404': *6 - '422': *177 + '422': *187 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38599,7 +39603,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: - - *78 + - *83 - *17 - name: page description: Page token @@ -38743,7 +39747,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: - - *78 + - *83 - name: credential_id in: path required: true @@ -38774,7 +39778,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: - - *78 + - *83 responses: '200': description: Response - list of custom role names @@ -38789,7 +39793,7 @@ paths: type: integer custom_roles: type: array - items: *298 + items: *312 examples: default: value: @@ -38876,12 +39880,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *78 + - *83 requestBody: required: true content: application/json: - schema: &301 + schema: &315 type: object properties: name: @@ -38922,9 +39926,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *312 examples: - default: *299 + default: *313 '422': *15 '404': *6 x-github: @@ -38948,8 +39952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *78 - - &300 + - *83 + - &314 name: role_id description: The unique identifier of the role. in: path @@ -38961,9 +39965,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *312 examples: - default: *299 + default: *313 '404': *6 x-github: githubCloudOnly: true @@ -38985,13 +39989,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *78 - - *300 + - *83 + - *314 requestBody: required: true content: application/json: - schema: &302 + schema: &316 type: object properties: name: @@ -39029,9 +40033,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *312 examples: - default: *299 + default: *313 '422': *15 '404': *6 x-github: @@ -39055,8 +40059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *78 - - *300 + - *83 + - *314 responses: '204': description: Response @@ -39084,12 +40088,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: - - *78 + - *83 requestBody: required: true content: application/json: - schema: *301 + schema: *315 examples: default: value: @@ -39103,9 +40107,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *312 examples: - default: *299 + default: *313 '422': *15 '404': *6 x-github: @@ -39135,16 +40139,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: - - *78 - - *300 + - *83 + - *314 responses: '200': description: Response content: application/json: - schema: *298 + schema: *312 examples: - default: *299 + default: *313 '404': *6 x-github: githubCloudOnly: true @@ -39172,13 +40176,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: - - *78 - - *300 + - *83 + - *314 requestBody: required: true content: application/json: - schema: *302 + schema: *316 examples: default: value: @@ -39193,9 +40197,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *312 examples: - default: *299 + default: *313 '422': *15 '404': *6 x-github: @@ -39225,8 +40229,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: - - *78 - - *300 + - *83 + - *314 responses: '204': description: Response @@ -39254,12 +40258,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *78 - - *303 - - *304 - - *305 - - *306 - - *307 + - *83 + - *317 + - *318 + - *319 + - *320 + - *321 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -39297,13 +40301,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *308 - - *309 - - *101 - - *99 - - *100 - - *310 - - *311 + - *322 + - *323 + - *106 + - *104 + - *105 - *17 responses: '200': @@ -39312,9 +40314,9 @@ paths: application/json: schema: type: array - items: *312 + items: *324 examples: - default: *313 + default: *325 '304': *37 '400': *14 '403': *29 @@ -39340,7 +40342,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *78 + - *83 - *17 - *19 responses: @@ -39358,7 +40360,7 @@ paths: type: integer secrets: type: array - items: &314 + items: &326 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -39429,13 +40431,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: &586 + schema: &598 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -39452,7 +40454,7 @@ paths: - key_id - key examples: - default: &587 + default: &599 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39475,14 +40477,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 responses: '200': description: Response content: application/json: - schema: *314 + schema: *326 examples: default: value: @@ -39510,8 +40512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -39570,7 +40572,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -39594,8 +40596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 responses: '204': description: Response @@ -39619,8 +40621,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: - - *78 - - *265 + - *83 + - *279 - *19 - *17 responses: @@ -39638,9 +40640,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *269 examples: - default: *269 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39661,8 +40663,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: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -39712,8 +40714,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: - - *78 - - *265 + - *83 + - *279 - name: repository_id in: path required: true @@ -39744,8 +40746,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: - - *78 - - *265 + - *83 + - *279 - name: repository_id in: path required: true @@ -39781,8 +40783,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *78 - - &595 + - *83 + - &607 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -39790,7 +40792,7 @@ paths: required: false schema: type: string - - &596 + - &608 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -39798,7 +40800,7 @@ paths: required: false schema: type: string - - &597 + - &609 name: time_period description: |- The time period to filter by. @@ -39814,7 +40816,7 @@ paths: - week - month default: month - - &598 + - &610 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -39829,7 +40831,7 @@ paths: - denied - all default: all - - *279 + - *293 - *17 - *19 responses: @@ -39839,7 +40841,7 @@ paths: application/json: schema: type: array - items: &599 + items: &611 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -39995,7 +40997,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &600 + default: &612 value: - id: 21 number: 42 @@ -40081,12 +41083,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *78 - - *279 - - *94 - - *95 - - *96 - - &601 + - *83 + - *293 + - *99 + - *100 + - *101 + - &613 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -40112,7 +41114,7 @@ paths: application/json: schema: type: array - items: &602 + items: &614 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -40222,7 +41224,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *98 + items: *103 url: type: string format: uri @@ -40233,7 +41235,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &603 + default: &615 value: - id: 21 number: 42 @@ -40313,7 +41315,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: - - *78 + - *83 responses: '200': description: Response @@ -40321,7 +41323,7 @@ paths: application/json: schema: type: array - items: &358 + items: &370 title: Package description: A software package type: object @@ -40371,8 +41373,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *315 - required: *316 + properties: *327 + required: *328 nullable: true created_at: type: string @@ -40391,7 +41393,7 @@ paths: - created_at - updated_at examples: - default: &359 + default: &371 value: - id: 197 name: hello_docker @@ -40469,7 +41471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *78 + - *83 - *17 - *19 responses: @@ -40479,7 +41481,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: 200-response: value: @@ -40552,7 +41554,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *78 + - *83 - name: group_id description: The unique identifier of the group. in: path @@ -40578,7 +41580,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &453 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -40659,7 +41661,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &442 + default: &454 value: group_id: '123' group_name: Octocat admins @@ -40697,7 +41699,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: - - *78 + - *83 - *17 - name: page description: Page token @@ -40714,7 +41716,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &451 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -40751,7 +41753,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &440 + default: &452 value: groups: - group_id: '123' @@ -40785,7 +41787,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *78 + - *83 - *17 - *19 responses: @@ -40795,7 +41797,7 @@ paths: application/json: schema: type: array - items: &339 + items: &351 title: Organization Invitation description: Organization Invitation type: object @@ -40842,7 +41844,7 @@ paths: - invitation_teams_url - node_id examples: - default: &340 + default: &352 value: - id: 1 login: monalisa @@ -40901,7 +41903,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: - - *78 + - *83 responses: '200': description: Response @@ -40909,7 +41911,7 @@ paths: application/json: schema: type: array - items: &393 + items: &405 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -40923,7 +41925,7 @@ paths: - name - description examples: - default: &394 + default: &406 value: - name: add_assignee description: Assign or remove a user @@ -40954,7 +41956,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *78 + - *83 - *17 - *19 responses: @@ -40964,7 +41966,7 @@ paths: application/json: schema: type: array - items: &317 + items: &329 title: Org Hook description: Org Hook type: object @@ -41073,7 +42075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *78 + - *83 requestBody: required: true content: @@ -41133,9 +42135,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *329 examples: - default: &318 + default: &330 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -41179,8 +42181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *78 - - &319 + - *83 + - &331 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. @@ -41193,9 +42195,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *329 examples: - default: *318 + default: *330 '404': *6 x-github: githubCloudOnly: false @@ -41216,8 +42218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *78 - - *319 + - *83 + - *331 requestBody: required: false content: @@ -41262,7 +42264,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *329 examples: default: value: @@ -41301,8 +42303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *78 - - *319 + - *83 + - *331 responses: '204': description: Response @@ -41327,8 +42329,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: - - *78 - - *319 + - *83 + - *331 responses: '200': description: Response @@ -41356,8 +42358,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: - - *78 - - *319 + - *83 + - *331 requestBody: required: false content: @@ -41405,10 +42407,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *78 - - *319 + - *83 + - *331 - *17 - - *320 + - *332 responses: '200': description: Response @@ -41416,9 +42418,9 @@ paths: application/json: schema: type: array - items: *321 + items: *333 examples: - default: *322 + default: *334 '400': *14 '422': *15 x-github: @@ -41441,17 +42443,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: - - *78 - - *319 + - *83 + - *331 - *16 responses: '200': description: Response content: application/json: - schema: *323 + schema: *335 examples: - default: *324 + default: *336 '400': *14 '422': *15 x-github: @@ -41474,8 +42476,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: - - *78 - - *319 + - *83 + - *331 - *16 responses: '202': *39 @@ -41501,8 +42503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *78 - - *319 + - *83 + - *331 responses: '204': description: Response @@ -41524,8 +42526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *78 - - &329 + - *83 + - &341 name: actor_type in: path description: The type of the actor @@ -41538,14 +42540,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &330 + - &342 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &325 + - &337 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`.' @@ -41553,7 +42555,7 @@ paths: required: true schema: type: string - - &326 + - &338 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) @@ -41564,7 +42566,7 @@ paths: type: string - *19 - *17 - - *101 + - *106 - name: sort description: The property to sort the results by. in: query @@ -41646,13 +42648,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *78 - - *325 - - *326 + - *83 + - *337 + - *338 - *19 - *17 - - *101 - - &335 + - *106 + - &347 name: sort description: The property to sort the results by. in: query @@ -41730,15 +42732,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *78 - - *325 - - *326 + - *83 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &327 + schema: &339 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -41754,7 +42756,7 @@ paths: type: integer format: int64 examples: - default: &328 + default: &340 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -41774,24 +42776,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *78 - - &331 + - *83 + - &343 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *325 - - *326 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *327 + schema: *339 examples: - default: *328 + default: *340 x-github: enabledForGitHubApps: true category: orgs @@ -41809,19 +42811,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *78 - - *325 - - *326 - - *329 - - *330 + - *83 + - *337 + - *338 + - *341 + - *342 responses: '200': description: Response content: application/json: - schema: *327 + schema: *339 examples: - default: *328 + default: *340 x-github: enabledForGitHubApps: true category: orgs @@ -41838,10 +42840,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *78 - - *325 - - *326 - - &332 + - *83 + - *337 + - *338 + - &344 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -41854,7 +42856,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &345 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -41870,7 +42872,7 @@ paths: type: integer format: int64 examples: - default: &334 + default: &346 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -41906,19 +42908,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *78 - - *331 - - *325 - - *326 - - *332 + - *83 + - *343 + - *337 + - *338 + - *344 responses: '200': description: Response content: application/json: - schema: *333 + schema: *345 examples: - default: *334 + default: *346 x-github: enabledForGitHubApps: true category: orgs @@ -41935,20 +42937,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *78 - - *329 - - *330 - - *325 - - *326 - - *332 + - *83 + - *341 + - *342 + - *337 + - *338 + - *344 responses: '200': description: Response content: application/json: - schema: *333 + schema: *345 examples: - default: *334 + default: *346 x-github: enabledForGitHubApps: true category: orgs @@ -41965,14 +42967,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *78 - - *331 - - *325 - - *326 + - *83 + - *343 + - *337 + - *338 - *19 - *17 - - *101 - - *335 + - *106 + - *347 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -42045,7 +43047,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: - - *78 + - *83 responses: '200': description: Response @@ -42053,7 +43055,7 @@ paths: application/json: schema: *22 examples: - default: &634 + default: &646 value: id: 1 account: @@ -42122,7 +43124,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *78 + - *83 - *17 - *19 responses: @@ -42211,7 +43213,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *78 + - *83 responses: '200': description: Response @@ -42219,12 +43221,12 @@ paths: application/json: schema: anyOf: - - &337 + - &349 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &336 + limit: &348 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -42249,7 +43251,7 @@ paths: properties: {} additionalProperties: false examples: - default: &338 + default: &350 value: limit: collaborators_only origin: organization @@ -42273,18 +43275,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *78 + - *83 requestBody: required: true content: application/json: - schema: &635 + schema: &647 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *336 + limit: *348 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -42308,9 +43310,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *349 examples: - default: *338 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -42328,7 +43330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *78 + - *83 responses: '204': description: Response @@ -42354,7 +43356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *78 + - *83 - *17 - *19 - name: role @@ -42388,9 +43390,9 @@ paths: application/json: schema: type: array - items: *339 + items: *351 examples: - default: *340 + default: *352 headers: Link: *43 '404': *6 @@ -42414,7 +43416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *78 + - *83 requestBody: required: false content: @@ -42468,7 +43470,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *351 examples: default: value: @@ -42524,8 +43526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *78 - - &341 + - *83 + - &353 name: invitation_id description: The unique identifier of the invitation. in: path @@ -42558,8 +43560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *78 - - *341 + - *83 + - *353 - *17 - *19 responses: @@ -42569,9 +43571,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: &357 + default: &369 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -42606,7 +43608,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: - - *78 + - *83 responses: '200': description: Response @@ -42614,7 +43616,7 @@ paths: application/json: schema: type: array - items: *342 + items: *354 examples: default: value: @@ -42652,7 +43654,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: - - *78 + - *83 requestBody: required: true content: @@ -42699,9 +43701,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *354 examples: - default: &343 + default: &355 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -42733,8 +43735,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: - - *78 - - &344 + - *83 + - &356 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -42787,9 +43789,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *354 examples: - default: *343 + default: *355 '404': *6 '422': *7 x-github: @@ -42813,8 +43815,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: - - *78 - - *344 + - *83 + - *356 responses: '204': description: Response @@ -42847,7 +43849,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: - - *78 + - *83 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -42877,7 +43879,7 @@ paths: - closed - all default: open - - *345 + - *357 - name: type description: Can be the name of an issue type. in: query @@ -42895,8 +43897,8 @@ paths: - updated - comments default: created - - *101 - - *196 + - *106 + - *207 - *17 - *19 responses: @@ -42906,9 +43908,9 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: *346 + default: *358 headers: Link: *43 '404': *6 @@ -42930,7 +43932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *78 + - *83 - 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) @@ -42968,7 +43970,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 '422': *15 @@ -42988,8 +43990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response if requester is an organization member and user is @@ -43023,8 +44025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -43050,8 +44052,8 @@ paths: parameters: - *17 - *19 - - *78 - - *182 + - *83 + - *192 responses: '200': description: Response @@ -43067,9 +44069,9 @@ paths: type: integer codespaces: type: array - items: *347 + items: *359 examples: - default: *348 + default: *360 '304': *37 '500': *40 '401': *25 @@ -43094,9 +44096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *78 - - *182 - - &349 + - *83 + - *192 + - &361 name: codespace_name in: path required: true @@ -43129,17 +44131,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: - - *78 - - *182 - - *349 + - *83 + - *192 + - *361 responses: '200': description: Response content: application/json: - schema: *347 + schema: *359 examples: - default: &553 + default: &565 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -43312,14 +44314,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: - - *78 - - *182 + - *83 + - *192 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *124 + schema: *134 examples: default: value: @@ -43388,14 +44390,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *78 - - *182 + - *83 + - *192 responses: '200': description: Response content: application/json: - schema: &350 + schema: &362 title: Org Membership description: Org Membership type: object @@ -43439,7 +44441,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *64 + organization: *69 user: title: Simple User description: A GitHub user. @@ -43462,7 +44464,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &351 + response-if-user-has-an-active-admin-membership-with-organization: &363 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -43530,8 +44532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *78 - - *182 + - *83 + - *192 requestBody: required: false content: @@ -43559,9 +44561,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *362 examples: - response-if-user-already-had-membership-with-organization: *351 + response-if-user-already-had-membership-with-organization: *363 '422': *15 '403': *29 x-github: @@ -43585,8 +44587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -43611,7 +44613,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *78 + - *83 - *17 - *19 - name: exclude @@ -43632,7 +44634,7 @@ paths: application/json: schema: type: array - items: &352 + items: &364 title: Migration description: A migration. type: object @@ -43673,7 +44675,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *69 + items: *74 url: type: string format: uri @@ -43885,7 +44887,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *78 + - *83 requestBody: required: true content: @@ -43961,7 +44963,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *364 examples: default: value: @@ -44139,8 +45141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *78 - - &353 + - *83 + - &365 name: migration_id description: The unique identifier of the migration. in: path @@ -44167,7 +45169,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *352 + schema: *364 examples: default: value: @@ -44336,8 +45338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *78 - - *353 + - *83 + - *365 responses: '302': description: Response @@ -44358,8 +45360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *78 - - *353 + - *83 + - *365 responses: '204': description: Response @@ -44382,9 +45384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *78 - - *353 - - &805 + - *83 + - *365 + - &817 name: repo_name description: repo_name parameter in: path @@ -44411,8 +45413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *78 - - *353 + - *83 + - *365 - *17 - *19 responses: @@ -44422,9 +45424,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: &364 + default: &376 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44563,7 +45565,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: - - *78 + - *83 responses: '200': description: Response @@ -44617,7 +45619,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: - - *78 + - *83 responses: '200': description: Response - list of organization roles @@ -44633,7 +45635,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &354 + items: &366 title: Organization Role description: Organization roles type: object @@ -44793,7 +45795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *78 + - *83 requestBody: required: true content: @@ -44840,7 +45842,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *366 examples: default: value: @@ -44869,7 +45871,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44891,8 +45893,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: - - *78 - - *184 + - *83 + - *195 responses: '204': description: Response @@ -44917,9 +45919,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: - - *78 - - *184 - - *300 + - *83 + - *195 + - *314 responses: '204': description: Response @@ -44948,9 +45950,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: - - *78 - - *184 - - *300 + - *83 + - *195 + - *314 responses: '204': description: Response @@ -44975,8 +45977,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: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -45001,9 +46003,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: - - *78 - - *182 - - *300 + - *83 + - *192 + - *314 responses: '204': description: Response @@ -45033,9 +46035,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: - - *78 - - *182 - - *300 + - *83 + - *192 + - *314 responses: '204': description: Response @@ -45063,14 +46065,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *78 - - *300 + - *83 + - *314 responses: '200': description: Response content: application/json: - schema: *354 + schema: *366 examples: default: value: @@ -45127,8 +46129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *78 - - *300 + - *83 + - *314 requestBody: required: true content: @@ -45167,7 +46169,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *366 examples: default: value: @@ -45195,7 +46197,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *109 + '409': *114 '404': *6 x-github: githubCloudOnly: true @@ -45220,8 +46222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *78 - - *300 + - *83 + - *314 responses: '204': description: Response @@ -45246,8 +46248,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: - - *78 - - *300 + - *83 + - *314 - *17 - *19 responses: @@ -45325,8 +46327,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *355 - required: *356 + properties: *367 + required: *368 nullable: true type: description: The ownership type of the team @@ -45358,7 +46360,7 @@ paths: - type - parent examples: - default: *357 + default: *369 headers: Link: *43 '404': @@ -45387,8 +46389,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: - - *78 - - *300 + - *83 + - *314 - *17 - *19 responses: @@ -45416,13 +46418,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &413 + items: &425 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *355 - required: *356 + properties: *367 + required: *368 name: nullable: true type: string @@ -45517,7 +46519,7 @@ paths: - type - url examples: - default: *181 + default: *191 headers: Link: *43 '404': @@ -45541,7 +46543,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: - - *78 + - *83 - 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) @@ -45568,7 +46570,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 x-github: @@ -45593,8 +46595,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: - - *78 - - *182 + - *83 + - *192 requestBody: required: false content: @@ -45651,8 +46653,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: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -45709,8 +46711,8 @@ paths: - docker - nuget - container - - *78 - - &807 + - *83 + - &818 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -45746,12 +46748,12 @@ paths: application/json: schema: type: array - items: *358 + items: *370 examples: - default: *359 + default: *371 '403': *29 '401': *25 - '400': &809 + '400': &820 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45773,7 +46775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &360 + - &372 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 @@ -45791,20 +46793,20 @@ paths: - docker - nuget - container - - &361 + - &373 name: package_name description: The name of the package. in: path required: true schema: type: string - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *358 + schema: *370 examples: default: value: @@ -45856,9 +46858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *360 - - *361 - - *78 + - *372 + - *373 + - *83 responses: '204': description: Response @@ -45890,9 +46892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *360 - - *361 - - *78 + - *372 + - *373 + - *83 - name: token description: package token schema: @@ -45924,9 +46926,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: - - *360 - - *361 - - *78 + - *372 + - *373 + - *83 - *19 - *17 - name: state @@ -45946,7 +46948,7 @@ paths: application/json: schema: type: array - items: &362 + items: &374 title: Package Version description: A version of a software package type: object @@ -46071,10 +47073,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: - - *360 - - *361 - - *78 - - &363 + - *372 + - *373 + - *83 + - &375 name: package_version_id description: Unique identifier of the package version. in: path @@ -46086,7 +47088,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *374 examples: default: value: @@ -46122,10 +47124,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *360 - - *361 - - *78 - - *363 + - *372 + - *373 + - *83 + - *375 responses: '204': description: Response @@ -46157,10 +47159,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *360 - - *361 - - *78 - - *363 + - *372 + - *373 + - *83 + - *375 responses: '204': description: Response @@ -46187,10 +47189,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: - - *78 + - *83 - *17 - *19 - - &365 + - &377 name: sort description: The property by which to sort the results. in: query @@ -46200,8 +47202,8 @@ paths: enum: - created_at default: created_at - - *101 - - &366 + - *106 + - &378 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -46212,7 +47214,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &367 + - &379 name: repository description: The name of the repository to use to filter the results. in: query @@ -46220,7 +47222,7 @@ paths: schema: type: string example: Hello-World - - &368 + - &380 name: permission description: The permission to use to filter the results. in: query @@ -46228,7 +47230,7 @@ paths: schema: type: string example: issues_read - - &369 + - &381 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) @@ -46238,7 +47240,7 @@ paths: schema: type: string format: date-time - - &370 + - &382 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) @@ -46248,7 +47250,7 @@ paths: schema: type: string format: date-time - - &371 + - &383 name: token_id description: The ID of the token in: query @@ -46412,7 +47414,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: - - *78 + - *83 requestBody: required: true content: @@ -46478,7 +47480,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: - - *78 + - *83 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -46518,7 +47520,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *133 + '204': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46539,7 +47541,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: - - *78 + - *83 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -46559,9 +47561,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 x-github: @@ -46584,17 +47586,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: - - *78 + - *83 - *17 - *19 - - *365 - - *101 - - *366 - - *367 - - *368 - - *369 - - *370 - - *371 + - *377 + - *106 + - *378 + - *379 + - *380 + - *381 + - *382 + - *383 responses: '500': *40 '422': *15 @@ -46743,7 +47745,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: - - *78 + - *83 requestBody: required: true content: @@ -46803,7 +47805,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: - - *78 + - *83 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -46833,7 +47835,7 @@ paths: responses: '500': *40 '404': *6 - '204': *133 + '204': *143 '403': *29 '422': *15 x-github: @@ -46855,7 +47857,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: - - *78 + - *83 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -46874,9 +47876,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 x-github: @@ -46900,7 +47902,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: - - *78 + - *83 - *17 - *19 responses: @@ -46918,7 +47920,7 @@ paths: type: integer configurations: type: array - items: &372 + items: &384 title: Organization private registry description: Private registry configuration for an organization type: object @@ -47006,7 +48008,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: - - *78 + - *83 requestBody: required: true content: @@ -47171,7 +48173,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &373 + org-private-registry-with-selected-visibility: &385 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -47212,7 +48214,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: - - *78 + - *83 responses: '200': description: Response @@ -47260,16 +48262,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: - - *78 - - *265 + - *83 + - *279 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *372 + schema: *384 examples: - default: *373 + default: *385 '404': *6 x-github: githubCloudOnly: false @@ -47290,8 +48292,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: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -47386,8 +48388,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: - - *78 - - *265 + - *83 + - *279 responses: '204': description: Response @@ -47412,7 +48414,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects parameters: - - *78 + - *83 - name: state description: Indicates the state of the projects to return. in: query @@ -47433,7 +48435,7 @@ paths: application/json: schema: type: array - items: &374 + items: &386 title: Project description: Projects are a way to organize columns and cards of work. @@ -47580,7 +48582,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project parameters: - - *78 + - *83 requestBody: required: true content: @@ -47606,7 +48608,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *386 examples: default: value: @@ -47644,7 +48646,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &457 + '410': &469 description: Gone content: application/json: @@ -47670,15 +48672,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-organization parameters: - - *78 + - *83 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *99 - - *100 + - *104 + - *105 - *17 responses: '200': @@ -47687,7 +48689,7 @@ paths: application/json: schema: type: array - items: &375 + items: &387 title: Projects v2 Project description: A projects v2 project type: object @@ -47757,7 +48759,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &885 + properties: &896 id: type: number description: The unique identifier of the status update. @@ -47805,7 +48807,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &886 + required: &897 - id - node_id - created_at @@ -47830,7 +48832,7 @@ paths: - deleted_at - deleted_by examples: - default: &376 + default: &388 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -47933,22 +48935,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &377 + - &389 name: project_number description: The project's number. in: path required: true schema: type: integer - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *375 + schema: *387 examples: - default: *376 + default: *388 headers: Link: *43 '304': *37 @@ -47970,11 +48972,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *377 - - *78 + - *389 + - *83 - *17 - - *99 - - *100 + - *104 + - *105 responses: '200': description: Response @@ -47982,7 +48984,7 @@ paths: application/json: schema: type: array - items: &378 + items: &390 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -48129,7 +49131,7 @@ paths: - updated_at - project_url examples: - default: &379 + default: &391 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48172,23 +49174,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *377 - - &826 + - *389 + - &837 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *378 + schema: *390 examples: - default: *379 + default: *391 headers: Link: *43 '304': *37 @@ -48211,8 +49213,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: - - *377 - - *78 + - *389 + - *83 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -48221,18 +49223,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 - example: fields[]=123,fields[]=456,fields[]=789 - - *99 - - *100 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - *104 + - *105 - *17 responses: '200': @@ -48241,7 +49246,7 @@ paths: application/json: schema: type: array - items: &385 + items: &397 title: Projects v2 Item description: An item belonging to a project type: object @@ -48257,7 +49262,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &383 + content_type: &395 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -48307,7 +49312,7 @@ paths: - updated_at - archived_at examples: - default: &386 + default: &398 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -49001,8 +50006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - - *78 - - *377 + - *83 + - *389 requestBody: required: true description: Details of the item to add to the project. @@ -49039,7 +50044,7 @@ paths: description: Response content: application/json: - schema: &827 + schema: &838 title: Projects v2 Item description: An item belonging to a project type: object @@ -49052,8 +50057,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *189 - - &568 + - *200 + - &580 title: Pull Request Simple description: Pull Request Simple type: object @@ -49159,8 +50164,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *392 + required: *393 nullable: true active_lock_reason: type: string @@ -49205,7 +50210,7 @@ paths: nullable: true requested_teams: type: array - items: *282 + items: *296 nullable: true head: type: object @@ -49214,7 +50219,7 @@ paths: type: string ref: type: string - repo: *69 + repo: *74 sha: type: string user: @@ -49237,7 +50242,7 @@ paths: type: string ref: type: string - repo: *69 + repo: *74 sha: type: string user: @@ -49256,7 +50261,7 @@ paths: _links: type: object properties: - comments: &382 + comments: &394 title: Link description: Hypermedia Link type: object @@ -49265,13 +50270,13 @@ paths: type: string required: - href - commits: *382 - statuses: *382 - html: *382 - issue: *382 - review_comments: *382 - review_comment: *382 - self: *382 + commits: *394 + statuses: *394 + html: *394 + issue: *394 + review_comments: *394 + review_comment: *394 + self: *394 required: - comments - commits @@ -49281,8 +50286,8 @@ paths: - review_comments - review_comment - self - author_association: *190 - auto_merge: &679 + author_association: *201 + auto_merge: &691 title: Auto merge description: The status of auto merging a pull request. type: object @@ -49384,7 +50389,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *383 + content_type: *395 creator: *4 created_at: type: string @@ -49417,7 +50422,7 @@ paths: - updated_at - archived_at examples: - issue: &384 + issue: &396 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -49472,7 +50477,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: *384 + pull_request: *396 '304': *37 '403': *29 '401': *25 @@ -49492,9 +50497,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: - - *377 - - *78 - - &387 + - *389 + - *83 + - &399 name: item_id description: The unique identifier of the project item. in: path @@ -49502,24 +50507,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *385 + schema: *397 examples: - default: *386 + default: *398 headers: Link: *43 '304': *37 @@ -49540,9 +50548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *377 - - *78 - - *387 + - *389 + - *83 + - *399 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -49612,13 +50620,13 @@ paths: description: Response content: application/json: - schema: *385 + schema: *397 examples: - text_field: *386 - number_field: *386 - date_field: *386 - single_select_field: *386 - iteration_field: *386 + text_field: *398 + number_field: *398 + date_field: *398 + single_select_field: *398 + iteration_field: *398 '401': *25 '403': *29 '404': *6 @@ -49638,9 +50646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *377 - - *78 - - *387 + - *389 + - *83 + - *399 responses: '204': description: Response @@ -49664,7 +50672,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: - - *78 + - *83 responses: '200': description: Response @@ -49672,9 +50680,9 @@ paths: application/json: schema: type: array - items: *129 + items: *139 examples: - default: *130 + default: *140 '403': *29 '404': *6 x-github: @@ -49701,7 +50709,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: - - *78 + - *83 requestBody: required: true content: @@ -49712,7 +50720,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *129 + items: *139 minItems: 1 maxItems: 100 required: @@ -49742,9 +50750,9 @@ paths: application/json: schema: type: array - items: *129 + items: *139 examples: - default: *130 + default: *140 '403': *29 '404': *6 x-github: @@ -49765,16 +50773,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: - - *78 - - *131 + - *83 + - *141 responses: '200': description: Response content: application/json: - schema: *129 + schema: *139 examples: - default: *132 + default: *142 '403': *29 '404': *6 x-github: @@ -49797,13 +50805,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: - - *78 - - *131 + - *83 + - *141 requestBody: required: true content: application/json: - schema: *388 + schema: *400 examples: default: value: @@ -49819,9 +50827,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *139 examples: - default: *132 + default: *142 '403': *29 '404': *6 x-github: @@ -49844,10 +50852,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: - - *78 - - *131 + - *83 + - *141 responses: - '204': *133 + '204': *143 '403': *29 '404': *6 x-github: @@ -49868,7 +50876,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: - - *78 + - *83 - *17 - *19 - name: repository_query @@ -49906,7 +50914,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &389 + items: &401 title: Custom Property Value description: Custom property name and associated value type: object @@ -49973,7 +50981,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: - - *78 + - *83 requestBody: required: true content: @@ -49993,7 +51001,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *389 + items: *401 required: - repository_names - properties @@ -50034,7 +51042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *78 + - *83 - *17 - *19 responses: @@ -50046,7 +51054,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 x-github: @@ -50065,8 +51073,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: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response if user is a public member @@ -50090,8 +51098,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: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -50112,8 +51120,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: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -50137,7 +51145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *78 + - *83 - 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 @@ -50184,9 +51192,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 x-github: @@ -50207,7 +51215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *78 + - *83 requestBody: required: true content: @@ -50389,7 +51397,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &471 title: Full Repository description: Full Repository type: object @@ -50666,8 +51674,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *390 - required: *391 + properties: *402 + required: *403 nullable: true temp_clone_token: type: string @@ -50754,8 +51762,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true organization: title: Simple User @@ -50764,8 +51772,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *69 - source: *69 + parent: *74 + source: *74 forks: type: integer master_branch: @@ -50782,7 +51790,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &573 + properties: &585 url: type: string format: uri @@ -50798,12 +51806,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &574 + required: &586 - url - key - name - html_url - security_and_analysis: *392 + security_and_analysis: *404 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -50887,7 +51895,7 @@ paths: - network_count - subscribers_count examples: - default: &461 + default: &473 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51405,7 +52413,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: - - *78 + - *83 responses: '200': description: Response @@ -51413,9 +52421,9 @@ paths: application/json: schema: type: array - items: *393 + items: *405 examples: - default: *394 + default: *406 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51437,10 +52445,10 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *83 - *17 - *19 - - &702 + - &714 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51458,7 +52466,7 @@ paths: application/json: schema: type: array - items: *162 + items: *172 examples: default: value: @@ -51505,7 +52513,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *83 requestBody: description: Request body required: true @@ -51526,30 +52534,20 @@ paths: - push - repository default: branch - enforcement: *140 + enforcement: *150 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *395 + items: *151 + conditions: *407 rules: type: array description: An array of rules within the ruleset. - items: &397 + items: &409 title: Repository Rule type: object description: A repository rule. oneOf: - - *142 - - *143 - - *144 - - *145 - - *146 - - *147 - - *148 - - *149 - - *150 - - *151 - *152 - *153 - *154 @@ -51560,6 +52558,16 @@ paths: - *159 - *160 - *161 + - *162 + - *163 + - *164 + - *165 + - *166 + - *167 + - *168 + - *169 + - *170 + - *171 required: - name - enforcement @@ -51597,9 +52605,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: &396 + default: &408 value: id: 21 name: super cool ruleset @@ -51653,8 +52661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *78 - - &704 + - *83 + - &716 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 @@ -51664,16 +52672,16 @@ paths: schema: type: string x-multi-segment: true - - *279 - - *96 - - &705 + - *293 + - *101 + - &717 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 - - &706 + - &718 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51693,7 +52701,7 @@ paths: description: Response content: application/json: - schema: &707 + schema: &719 title: Rule Suites description: Response type: array @@ -51748,7 +52756,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &708 + default: &720 value: - id: 21 actor_id: 12 @@ -51791,8 +52799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *78 - - &709 + - *83 + - &721 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51808,7 +52816,7 @@ paths: description: Response content: application/json: - schema: &710 + schema: &722 title: Rule Suite description: Response type: object @@ -51907,7 +52915,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &711 + default: &723 value: id: 21 actor_id: 12 @@ -51968,7 +52976,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *83 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51980,9 +52988,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: *396 + default: *408 '404': *6 '500': *40 put: @@ -52000,7 +53008,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *83 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52026,16 +53034,16 @@ paths: - tag - push - repository - enforcement: *140 + enforcement: *150 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *395 + items: *151 + conditions: *407 rules: description: An array of rules within the ruleset. type: array - items: *397 + items: *409 examples: default: value: @@ -52070,9 +53078,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: *396 + default: *408 '404': *6 '500': *40 delete: @@ -52090,7 +53098,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *83 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52113,7 +53121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *78 + - *83 - *17 - *19 - name: ruleset_id @@ -52129,9 +53137,9 @@ paths: application/json: schema: type: array - items: *166 + items: *176 examples: - default: *398 + default: *410 '404': *6 '500': *40 x-github: @@ -52150,7 +53158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *78 + - *83 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52168,7 +53176,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *411 examples: default: value: @@ -52230,15 +53238,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: - - *78 - - *400 - - *401 - - *402 - - *403 - - *101 + - *83 + - *412 + - *413 + - *414 + - *415 + - *106 - *19 - *17 - - &713 + - &725 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 @@ -52248,7 +53256,7 @@ paths: required: false schema: type: string - - &714 + - &726 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 @@ -52258,10 +53266,10 @@ paths: required: false schema: type: string - - *404 - - *405 - - *406 - - *407 + - *416 + - *417 + - *418 + - *419 responses: '200': description: Response @@ -52269,13 +53277,13 @@ paths: application/json: schema: type: array - items: *408 + items: *420 examples: - default: *409 + default: *421 headers: Link: *43 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52300,15 +53308,15 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *410 + schema: *422 examples: - default: *411 + default: *423 '403': *29 '404': *6 patch: @@ -52329,7 +53337,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *78 + - *83 requestBody: required: true content: @@ -52337,7 +53345,7 @@ paths: schema: type: object properties: - pattern_config_version: *169 + pattern_config_version: *179 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -52363,7 +53371,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *169 + custom_pattern_version: *179 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -52399,7 +53407,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *15 "/orgs/{org}/security-advisories": get: @@ -52417,8 +53425,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: - - *78 - - *101 + - *83 + - *106 - name: sort description: The property to sort the results by. in: query @@ -52430,8 +53438,8 @@ paths: - updated - published default: created - - *99 - - *100 + - *104 + - *105 - 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)." @@ -52461,7 +53469,7 @@ paths: application/json: schema: type: array - items: &735 + items: &747 description: A repository security advisory. type: object properties: @@ -52648,7 +53656,7 @@ paths: required: - vector_string - score - cvss_severities: *115 + cvss_severities: *125 cwes: type: array nullable: true @@ -52681,7 +53689,7 @@ paths: login: type: string description: The username of the user credited. - type: *412 + type: *424 credits_detailed: type: array nullable: true @@ -52691,7 +53699,7 @@ paths: type: object properties: user: *4 - type: *412 + type: *424 state: type: string description: The state of the user's acceptance of the @@ -52715,14 +53723,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *282 + items: *296 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *110 + - *115 required: - ghsa_id - cve_id @@ -52752,7 +53760,7 @@ paths: - private_fork additionalProperties: false examples: - default: &736 + default: &748 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -53131,7 +54139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *78 + - *83 responses: '200': description: Response @@ -53139,9 +54147,9 @@ paths: application/json: schema: type: array - items: *413 + items: *425 examples: - default: *357 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53164,8 +54172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *78 - - *184 + - *83 + - *195 responses: '204': description: Response @@ -53190,8 +54198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *78 - - *184 + - *83 + - *195 responses: '204': description: Response @@ -53220,15 +54228,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *414 + schema: *426 examples: - default: *415 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53252,8 +54260,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: - - *78 - - *416 + - *83 + - *428 - *17 - *19 responses: @@ -53261,9 +54269,9 @@ paths: description: Success content: application/json: - schema: *417 + schema: *429 examples: - default: *418 + default: *430 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -53285,15 +54293,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53315,15 +54323,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *421 + schema: *433 examples: - default: *422 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53343,7 +54351,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: - - *78 + - *83 responses: '200': description: Immutable releases settings response @@ -53392,7 +54400,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: - - *78 + - *83 responses: '204': description: Response @@ -53449,7 +54457,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: - - *78 + - *83 - *19 - *17 responses: @@ -53467,9 +54475,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *269 examples: - default: *269 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53488,7 +54496,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: - - *78 + - *83 requestBody: required: true content: @@ -53537,8 +54545,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: - - *78 - - *249 + - *83 + - *263 responses: '204': description: Response @@ -53560,8 +54568,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: - - *78 - - *249 + - *83 + - *263 responses: '204': description: Response @@ -53584,7 +54592,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: - - *78 + - *83 - *17 - *19 responses: @@ -53602,9 +54610,9 @@ paths: type: integer network_configurations: type: array - items: *126 + items: *136 examples: - default: *423 + default: *435 headers: Link: *43 x-github: @@ -53625,7 +54633,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: - - *78 + - *83 requestBody: required: true content: @@ -53667,9 +54675,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *136 examples: - default: *127 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53689,16 +54697,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: - - *78 - - *128 + - *83 + - *138 responses: '200': description: Response content: application/json: - schema: *126 + schema: *136 examples: - default: *127 + default: *137 headers: Link: *43 x-github: @@ -53719,8 +54727,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: - - *78 - - *128 + - *83 + - *138 requestBody: required: true content: @@ -53759,9 +54767,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *136 examples: - default: *127 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53780,8 +54788,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: - - *78 - - *128 + - *83 + - *138 responses: '204': description: Response @@ -53804,16 +54812,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: - - *78 - - *424 + - *83 + - *436 responses: '200': description: Response content: application/json: - schema: *425 + schema: *437 examples: - default: *426 + default: *438 headers: Link: *43 x-github: @@ -53832,7 +54840,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: - - *78 + - *83 - *17 - name: page description: Page token @@ -53851,7 +54859,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &460 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -53897,7 +54905,7 @@ paths: type: string nullable: true examples: - default: &449 + default: &461 value: groups: - group_id: '123' @@ -53942,8 +54950,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: - - *78 - - *184 + - *83 + - *195 - 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`). @@ -53975,13 +54983,13 @@ paths: application/json: schema: type: array - items: *175 + items: *185 examples: - default: *176 + default: *186 '500': *40 '403': *29 '404': *6 - '422': *177 + '422': *187 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53999,7 +55007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *78 + - *83 - *17 - *19 responses: @@ -54009,9 +55017,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: *357 + default: *369 headers: Link: *43 '403': *29 @@ -54033,7 +55041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *78 + - *83 requestBody: required: true content: @@ -54105,7 +55113,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &439 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -54168,8 +55176,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *355 - required: *356 + properties: *367 + required: *368 nullable: true members_count: type: integer @@ -54432,7 +55440,7 @@ paths: - repos_count - organization examples: - default: &428 + default: &440 value: id: 1 node_id: MDQ6VGVhbTE= @@ -54502,16 +55510,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *78 - - *184 + - *83 + - *195 responses: '200': description: Response content: application/json: - schema: *427 + schema: *439 examples: - default: *428 + default: *440 '404': *6 x-github: githubCloudOnly: false @@ -54532,8 +55540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *78 - - *184 + - *83 + - *195 requestBody: required: false content: @@ -54595,16 +55603,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *427 + schema: *439 examples: - default: *428 + default: *440 '201': description: Response content: application/json: - schema: *427 + schema: *439 examples: - default: *428 + default: *440 '404': *6 '422': *15 '403': *29 @@ -54629,8 +55637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *78 - - *184 + - *83 + - *195 responses: '204': description: Response @@ -54656,9 +55664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *78 - - *184 - - *101 + - *83 + - *195 + - *106 - *17 - *19 - name: pinned @@ -54674,7 +55682,7 @@ paths: application/json: schema: type: array - items: &429 + items: &441 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -54753,7 +55761,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *191 + reactions: *202 required: - author - body @@ -54773,7 +55781,7 @@ paths: - updated_at - url examples: - default: &779 + default: &791 value: - author: login: octocat @@ -54847,8 +55855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *78 - - *184 + - *83 + - *195 requestBody: required: true content: @@ -54882,9 +55890,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *441 examples: - default: &430 + default: &442 value: author: login: octocat @@ -54956,9 +55964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *78 - - *184 - - &431 + - *83 + - *195 + - &443 name: discussion_number description: The number that identifies the discussion. in: path @@ -54970,9 +55978,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *441 examples: - default: *430 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54994,9 +56002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *78 - - *184 - - *431 + - *83 + - *195 + - *443 requestBody: required: false content: @@ -55019,9 +56027,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *441 examples: - default: &780 + default: &792 value: author: login: octocat @@ -55091,9 +56099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *78 - - *184 - - *431 + - *83 + - *195 + - *443 responses: '204': description: Response @@ -55119,10 +56127,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *78 - - *184 - - *431 - - *101 + - *83 + - *195 + - *443 + - *106 - *17 - *19 responses: @@ -55132,7 +56140,7 @@ paths: application/json: schema: type: array - items: &432 + items: &444 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -55189,7 +56197,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *191 + reactions: *202 required: - author - body @@ -55204,7 +56212,7 @@ paths: - updated_at - url examples: - default: &781 + default: &793 value: - author: login: octocat @@ -55272,9 +56280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *78 - - *184 - - *431 + - *83 + - *195 + - *443 requestBody: required: true content: @@ -55296,9 +56304,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: &433 + default: &445 value: author: login: octocat @@ -55364,10 +56372,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *78 - - *184 - - *431 - - &434 + - *83 + - *195 + - *443 + - &446 name: comment_number description: The number that identifies the comment. in: path @@ -55379,9 +56387,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: *433 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55403,10 +56411,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *78 - - *184 - - *431 - - *434 + - *83 + - *195 + - *443 + - *446 requestBody: required: true content: @@ -55428,9 +56436,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: &782 + default: &794 value: author: login: octocat @@ -55494,10 +56502,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *78 - - *184 - - *431 - - *434 + - *83 + - *195 + - *443 + - *446 responses: '204': description: Response @@ -55523,10 +56531,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: - - *78 - - *184 - - *431 - - *434 + - *83 + - *195 + - *443 + - *446 - 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. @@ -55552,7 +56560,7 @@ paths: application/json: schema: type: array - items: &435 + items: &447 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -55595,7 +56603,7 @@ paths: - content - created_at examples: - default: &437 + default: &449 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55645,10 +56653,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: - - *78 - - *184 - - *431 - - *434 + - *83 + - *195 + - *443 + - *446 requestBody: required: true content: @@ -55681,9 +56689,9 @@ paths: team discussion comment content: application/json: - schema: *435 + schema: *447 examples: - default: &436 + default: &448 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55712,9 +56720,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55737,11 +56745,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *78 - - *184 - - *431 - - *434 - - &438 + - *83 + - *195 + - *443 + - *446 + - &450 name: reaction_id description: The unique identifier of the reaction. in: path @@ -55773,9 +56781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *78 - - *184 - - *431 + - *83 + - *195 + - *443 - 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. @@ -55801,9 +56809,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 x-github: @@ -55829,9 +56837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *78 - - *184 - - *431 + - *83 + - *195 + - *443 requestBody: required: true content: @@ -55863,16 +56871,16 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '201': description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55895,10 +56903,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *78 - - *184 - - *431 - - *438 + - *83 + - *195 + - *443 + - *450 responses: '204': description: Response @@ -55921,16 +56929,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: - - *78 - - *184 + - *83 + - *195 responses: '200': description: Response content: application/json: - schema: *439 + schema: *451 examples: - default: *440 + default: *452 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55949,8 +56957,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: - - *78 - - *184 + - *83 + - *195 requestBody: required: true content: @@ -55973,9 +56981,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *453 examples: - default: *442 + default: *454 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -55994,8 +57002,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: - - *78 - - *184 + - *83 + - *195 responses: '204': description: Response @@ -56019,8 +57027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *78 - - *184 + - *83 + - *195 - *17 - *19 responses: @@ -56030,9 +57038,9 @@ paths: application/json: schema: type: array - items: *339 + items: *351 examples: - default: *340 + default: *352 headers: Link: *43 x-github: @@ -56054,8 +57062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *78 - - *184 + - *83 + - *195 - name: role description: Filters members returned by their role in the team. in: query @@ -56078,7 +57086,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 x-github: @@ -56108,15 +57116,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *78 - - *184 - - *182 + - *83 + - *195 + - *192 responses: '200': description: Response content: application/json: - schema: &443 + schema: &455 title: Team Membership description: Team Membership type: object @@ -56143,7 +57151,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &783 + response-if-user-is-a-team-maintainer: &795 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -56179,9 +57187,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: - - *78 - - *184 - - *182 + - *83 + - *195 + - *192 requestBody: required: false content: @@ -56206,9 +57214,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *455 examples: - response-if-users-membership-with-team-is-now-pending: &784 + response-if-users-membership-with-team-is-now-pending: &796 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -56243,9 +57251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *78 - - *184 - - *182 + - *83 + - *195 + - *192 responses: '204': description: Response @@ -56270,8 +57278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *78 - - *184 + - *83 + - *195 - *17 - *19 responses: @@ -56281,7 +57289,7 @@ paths: application/json: schema: type: array - items: &444 + items: &456 title: Team Project description: A team's access to a project. type: object @@ -56349,7 +57357,7 @@ paths: - updated_at - permissions examples: - default: &785 + default: &797 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -56412,9 +57420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *78 - - *184 - - &445 + - *83 + - *195 + - &457 name: project_id description: The unique identifier of the project. in: path @@ -56426,9 +57434,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *456 examples: - default: &786 + default: &798 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -56490,9 +57498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *78 - - *184 - - *445 + - *83 + - *195 + - *457 requestBody: required: false content: @@ -56558,9 +57566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *78 - - *184 - - *445 + - *83 + - *195 + - *457 responses: '204': description: Response @@ -56587,8 +57595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *78 - - *184 + - *83 + - *195 - *17 - *19 responses: @@ -56598,9 +57606,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 x-github: @@ -56629,16 +57637,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *78 - - *184 - - *446 - - *447 + - *83 + - *195 + - *458 + - *459 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &787 + schema: &799 title: Team Repository description: A team's access to a repository. type: object @@ -56661,8 +57669,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true forks: type: integer @@ -57207,10 +58215,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *78 - - *184 - - *446 - - *447 + - *83 + - *195 + - *458 + - *459 requestBody: required: false content: @@ -57255,10 +58263,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *78 - - *184 - - *446 - - *447 + - *83 + - *195 + - *458 + - *459 responses: '204': description: Response @@ -57284,16 +58292,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: - - *78 - - *184 + - *83 + - *195 responses: '200': description: Response content: application/json: - schema: *448 + schema: *460 examples: - default: *449 + default: *461 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57315,8 +58323,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: - - *78 - - *184 + - *83 + - *195 requestBody: required: true content: @@ -57359,7 +58367,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *460 examples: default: value: @@ -57391,8 +58399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *78 - - *184 + - *83 + - *195 - *17 - *19 responses: @@ -57402,9 +58410,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - response-if-child-teams-exist: &788 + response-if-child-teams-exist: &800 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -57457,7 +58465,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: - - *78 + - *83 - name: security_product in: path description: The security feature to enable or disable. @@ -57531,7 +58539,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &450 + - &462 name: card_id description: The unique identifier of the card. in: path @@ -57543,7 +58551,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &463 title: Project Card description: Project cards represent a scope of work. type: object @@ -57610,7 +58618,7 @@ paths: - created_at - updated_at examples: - default: &452 + default: &464 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -57666,7 +58674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *450 + - *462 requestBody: required: false content: @@ -57693,9 +58701,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *463 examples: - default: *452 + default: *464 '304': *37 '403': *29 '401': *25 @@ -57722,7 +58730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *450 + - *462 responses: '204': description: Response @@ -57766,7 +58774,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *450 + - *462 requestBody: required: true content: @@ -57877,7 +58885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &453 + - &465 name: column_id description: The unique identifier of the column. in: path @@ -57889,7 +58897,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &466 title: Project Column description: Project columns contain cards of work. type: object @@ -57935,7 +58943,7 @@ paths: - created_at - updated_at examples: - default: &455 + default: &467 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -57970,7 +58978,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *453 + - *465 requestBody: required: true content: @@ -57994,9 +59002,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *466 examples: - default: *455 + default: *467 '304': *37 '403': *29 '401': *25 @@ -58021,7 +59029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *453 + - *465 responses: '204': description: Response @@ -58050,7 +59058,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *453 + - *465 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -58071,7 +59079,7 @@ paths: application/json: schema: type: array - items: *451 + items: *463 examples: default: value: @@ -58130,7 +59138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *453 + - *465 requestBody: required: true content: @@ -58170,9 +59178,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *463 examples: - default: *452 + default: *464 '304': *37 '403': *29 '401': *25 @@ -58182,8 +59190,8 @@ paths: application/json: schema: oneOf: - - *232 - - *233 + - *244 + - *245 '503': description: Response content: @@ -58228,7 +59236,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *453 + - *465 requestBody: required: true content: @@ -58288,15 +59296,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *445 + - *457 responses: '200': description: Response content: application/json: - schema: *374 + schema: *386 examples: - default: &456 + default: &468 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -58353,7 +59361,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *445 + - *457 requestBody: required: false content: @@ -58399,9 +59407,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *386 examples: - default: *456 + default: *468 '404': description: Not Found if the authenticated user does not have access to the project @@ -58422,7 +59430,7 @@ paths: items: type: string '401': *25 - '410': *457 + '410': *469 '422': *7 x-github: githubCloudOnly: false @@ -58445,7 +59453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *445 + - *457 responses: '204': description: Delete Success @@ -58466,7 +59474,7 @@ paths: items: type: string '401': *25 - '410': *457 + '410': *469 '404': *6 x-github: githubCloudOnly: false @@ -58490,7 +59498,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *445 + - *457 - 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 @@ -58517,7 +59525,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 '404': *6 @@ -58547,8 +59555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *445 - - *182 + - *457 + - *192 requestBody: required: false content: @@ -58600,8 +59608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *445 - - *182 + - *457 + - *192 responses: '204': description: Response @@ -58632,8 +59640,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: - - *445 - - *182 + - *457 + - *192 responses: '200': description: Response @@ -58706,7 +59714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *445 + - *457 - *17 - *19 responses: @@ -58716,7 +59724,7 @@ paths: application/json: schema: type: array - items: *454 + items: *466 examples: default: value: @@ -58754,7 +59762,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *445 + - *457 requestBody: required: true content: @@ -58777,7 +59785,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *466 examples: default: value: @@ -58842,7 +59850,7 @@ paths: resources: type: object properties: - core: &458 + core: &470 title: Rate Limit type: object properties: @@ -58859,21 +59867,21 @@ paths: - remaining - reset - used - graphql: *458 - search: *458 - code_search: *458 - source_import: *458 - integration_manifest: *458 - code_scanning_upload: *458 - actions_runner_registration: *458 - scim: *458 - dependency_snapshots: *458 - dependency_sbom: *458 - code_scanning_autofix: *458 + graphql: *470 + search: *470 + code_search: *470 + source_import: *470 + integration_manifest: *470 + code_scanning_upload: *470 + actions_runner_registration: *470 + scim: *470 + dependency_snapshots: *470 + dependency_sbom: *470 + code_scanning_autofix: *470 required: - core - search - rate: *458 + rate: *470 required: - rate - resources @@ -58978,14 +59986,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *459 + schema: *471 examples: default-response: summary: Default response @@ -59490,7 +60498,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *460 + '301': *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59508,8 +60516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: false content: @@ -59766,10 +60774,10 @@ paths: description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: *461 - '307': &462 + default: *473 + '307': &474 description: Temporary Redirect content: application/json: @@ -59798,8 +60806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -59821,9 +60829,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': *462 + '307': *474 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59845,11 +60853,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 - - &477 + - &489 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59872,7 +60880,7 @@ paths: type: integer artifacts: type: array - items: &463 + items: &475 title: Artifact description: An artifact type: object @@ -59950,7 +60958,7 @@ paths: - expires_at - updated_at examples: - default: &478 + default: &490 value: total_count: 2 artifacts: @@ -60011,9 +61019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *446 - - *447 - - &464 + - *458 + - *459 + - &476 name: artifact_id description: The unique identifier of the artifact. in: path @@ -60025,7 +61033,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *475 examples: default: value: @@ -60063,9 +61071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *446 - - *447 - - *464 + - *458 + - *459 + - *476 responses: '204': description: Response @@ -60089,9 +61097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *446 - - *447 - - *464 + - *458 + - *459 + - *476 - name: archive_format in: path required: true @@ -60105,7 +61113,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': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60128,14 +61136,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *465 + schema: *477 examples: default: value: @@ -60161,11 +61169,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: - - *446 - - *447 + - *458 + - *459 - *17 - *19 - - &466 + - &478 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 @@ -60193,13 +61201,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *101 + - *106 responses: '200': description: Response content: application/json: - schema: &467 + schema: &479 title: Repository actions caches description: Repository actions caches type: object @@ -60241,7 +61249,7 @@ paths: - total_count - actions_caches examples: - default: &468 + default: &480 value: total_count: 1 actions_caches: @@ -60273,23 +61281,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: - - *446 - - *447 + - *458 + - *459 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *466 + - *478 responses: '200': description: Response content: application/json: - schema: *467 + schema: *479 examples: - default: *468 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60309,8 +61317,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: - - *446 - - *447 + - *458 + - *459 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -60341,9 +61349,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: - - *446 - - *447 - - &469 + - *458 + - *459 + - &481 name: job_id description: The unique identifier of the job. in: path @@ -60355,7 +61363,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &493 title: Job description: Information of a job execution in a workflow run type: object @@ -60662,9 +61670,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: - - *446 - - *447 - - *469 + - *458 + - *459 + - *481 responses: '302': description: Response @@ -60692,9 +61700,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: - - *446 - - *447 - - *469 + - *458 + - *459 + - *481 requestBody: required: false content: @@ -60715,7 +61723,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -60739,8 +61747,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Status response @@ -60790,8 +61798,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -60825,7 +61833,7 @@ paths: description: Empty response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -60854,8 +61862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -60873,7 +61881,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &495 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -60893,7 +61901,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &496 value: total_count: 2 secrets: @@ -60926,9 +61934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *446 - - *447 - - *470 + - *458 + - *459 + - *482 - *19 responses: '200': @@ -60945,7 +61953,7 @@ paths: type: integer variables: type: array - items: &487 + items: &499 title: Actions Variable type: object properties: @@ -60975,7 +61983,7 @@ paths: - created_at - updated_at examples: - default: &488 + default: &500 value: total_count: 2 variables: @@ -61008,8 +62016,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -61018,12 +62026,12 @@ paths: schema: type: object properties: - enabled: &471 + enabled: &483 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *51 - selected_actions_url: *242 - sha_pinning_required: *52 + allowed_actions: *56 + selected_actions_url: *256 + sha_pinning_required: *57 required: - enabled examples: @@ -61053,8 +62061,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -61065,9 +62073,9 @@ paths: schema: type: object properties: - enabled: *471 - allowed_actions: *51 - sha_pinning_required: *52 + enabled: *483 + allowed_actions: *56 + sha_pinning_required: *57 required: - enabled examples: @@ -61098,14 +62106,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: &472 + schema: &484 type: object properties: access_level: @@ -61123,7 +62131,7 @@ paths: required: - access_level examples: - default: &473 + default: &485 value: access_level: organization x-github: @@ -61148,15 +62156,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: application/json: - schema: *472 + schema: *484 examples: - default: *473 + default: *485 responses: '204': description: Response @@ -61180,14 +62188,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *244 + schema: *258 examples: default: value: @@ -61211,8 +62219,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Empty response for successful settings update @@ -61222,7 +62230,7 @@ paths: required: true content: application/json: - schema: *245 + schema: *259 examples: default: summary: Set retention days @@ -61246,16 +62254,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *53 + schema: *58 examples: - default: *246 + default: *260 '404': *6 x-github: enabledForGitHubApps: true @@ -61274,8 +62282,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -61285,7 +62293,7 @@ paths: required: true content: application/json: - schema: *53 + schema: *58 examples: default: summary: Set approval policy to first time contributors @@ -61309,16 +62317,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *247 + schema: *261 examples: - default: *54 + default: *59 '403': *29 '404': *6 x-github: @@ -61338,15 +62346,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: application/json: - schema: *248 + schema: *262 examples: - default: *54 + default: *59 responses: '204': description: Empty response for successful settings update @@ -61370,16 +62378,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *56 + schema: *61 examples: - default: *57 + default: *62 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61402,8 +62410,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -61411,9 +62419,9 @@ paths: required: false content: application/json: - schema: *56 + schema: *61 examples: - selected_actions: *57 + selected_actions: *62 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61435,16 +62443,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *251 + schema: *265 examples: - default: *60 + default: *65 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61465,8 +62473,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Success response @@ -61477,9 +62485,9 @@ paths: required: true content: application/json: - schema: *252 + schema: *266 examples: - default: *60 + default: *65 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61506,8 +62514,8 @@ paths: in: query schema: type: string - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -61525,9 +62533,9 @@ paths: type: integer runners: type: array - items: *67 + items: *72 examples: - default: *68 + default: *73 headers: Link: *43 x-github: @@ -61551,8 +62559,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -61560,9 +62568,9 @@ paths: application/json: schema: type: array - items: *256 + items: *270 examples: - default: *257 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61584,8 +62592,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -61628,10 +62636,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *258 + '201': *272 '404': *6 '422': *7 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61659,16 +62667,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: - - *446 - - *447 + - *458 + - *459 responses: '201': description: Response content: application/json: - schema: *70 + schema: *75 examples: - default: *259 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61696,16 +62704,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: - - *446 - - *447 + - *458 + - *459 responses: '201': description: Response content: application/json: - schema: *70 + schema: *75 examples: - default: *260 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61727,17 +62735,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: - - *446 - - *447 - - *66 + - *458 + - *459 + - *71 responses: '200': description: Response content: application/json: - schema: *67 + schema: *72 examples: - default: *261 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61758,9 +62766,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: - - *446 - - *447 - - *66 + - *458 + - *459 + - *71 responses: '204': description: Response @@ -61786,11 +62794,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: - - *446 - - *447 - - *66 + - *458 + - *459 + - *71 responses: - '200': *72 + '200': *77 '404': *6 x-github: githubCloudOnly: false @@ -61812,9 +62820,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: - - *446 - - *447 - - *66 + - *458 + - *459 + - *71 requestBody: required: true content: @@ -61838,7 +62846,7 @@ paths: - gpu - accelerated responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -61862,9 +62870,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: - - *446 - - *447 - - *66 + - *458 + - *459 + - *71 requestBody: required: true content: @@ -61889,7 +62897,7 @@ paths: - gpu - accelerated responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -61913,11 +62921,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: - - *446 - - *447 - - *66 + - *458 + - *459 + - *71 responses: - '200': *262 + '200': *276 '404': *6 x-github: githubCloudOnly: false @@ -61944,12 +62952,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: - - *446 - - *447 - - *66 - - *263 + - *458 + - *459 + - *71 + - *277 responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -61975,9 +62983,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: - - *446 - - *447 - - &491 + - *458 + - *459 + - &503 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. @@ -61985,7 +62993,7 @@ paths: required: false schema: type: string - - &492 + - &504 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -61993,7 +63001,7 @@ paths: required: false schema: type: string - - &493 + - &505 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -62002,7 +63010,7 @@ paths: required: false schema: type: string - - &494 + - &506 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 @@ -62029,7 +63037,7 @@ paths: - pending - *17 - *19 - - &495 + - &507 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)." @@ -62038,7 +63046,7 @@ paths: schema: type: string format: date-time - - &474 + - &486 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -62047,13 +63055,13 @@ paths: schema: type: boolean default: false - - &496 + - &508 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &497 + - &509 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -62076,7 +63084,7 @@ paths: type: integer workflow_runs: type: array - items: &475 + items: &487 title: Workflow Run description: An invocation of a workflow type: object @@ -62171,7 +63179,7 @@ paths: that triggered the run. type: array nullable: true - items: *194 + items: *205 created_at: type: string format: date-time @@ -62224,7 +63232,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &519 + properties: &531 id: type: string description: SHA for the commit @@ -62275,7 +63283,7 @@ paths: - name - email nullable: true - required: &520 + required: &532 - id - tree_id - message @@ -62283,8 +63291,8 @@ paths: - author - committer nullable: true - repository: *255 - head_repository: *255 + repository: *269 + head_repository: *269 head_repository_id: type: integer example: 5 @@ -62322,7 +63330,7 @@ paths: - workflow_url - pull_requests examples: - default: &498 + default: &510 value: total_count: 1 workflow_runs: @@ -62558,24 +63566,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *446 - - *447 - - &476 + - *458 + - *459 + - &488 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *474 + - *486 responses: '200': description: Response content: application/json: - schema: *475 + schema: *487 examples: - default: &479 + default: &491 value: id: 30433642 name: Build @@ -62816,9 +63824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '204': description: Response @@ -62841,9 +63849,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '200': description: Response @@ -62962,15 +63970,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '201': description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -62997,12 +64005,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 - *17 - *19 - - *477 + - *489 responses: '200': description: Response @@ -63018,9 +64026,9 @@ paths: type: integer artifacts: type: array - items: *463 + items: *475 examples: - default: *478 + default: *490 headers: Link: *43 x-github: @@ -63044,25 +64052,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *446 - - *447 - - *476 - - &480 + - *458 + - *459 + - *488 + - &492 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *474 + - *486 responses: '200': description: Response content: application/json: - schema: *475 + schema: *487 examples: - default: *479 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63085,10 +64093,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: - - *446 - - *447 - - *476 - - *480 + - *458 + - *459 + - *488 + - *492 - *17 - *19 responses: @@ -63106,9 +64114,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *493 examples: - default: &482 + default: &494 value: total_count: 1 jobs: @@ -63221,10 +64229,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *446 - - *447 - - *476 - - *480 + - *458 + - *459 + - *488 + - *492 responses: '302': description: Response @@ -63252,19 +64260,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '202': description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63287,9 +64295,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 requestBody: required: true content: @@ -63356,19 +64364,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '202': description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63391,9 +64399,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 - 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 @@ -63423,9 +64431,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *493 examples: - default: *482 + default: *494 headers: Link: *43 x-github: @@ -63450,9 +64458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '302': description: Response @@ -63479,9 +64487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '204': description: Response @@ -63508,9 +64516,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '200': description: Response @@ -63570,7 +64578,7 @@ paths: items: type: object properties: - type: &604 + type: &616 type: string description: The type of reviewer. enum: @@ -63580,7 +64588,7 @@ paths: reviewer: anyOf: - *4 - - *282 + - *296 required: - environment - wait_timer @@ -63655,9 +64663,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 requestBody: required: true content: @@ -63704,7 +64712,7 @@ paths: application/json: schema: type: array - items: &590 + items: &602 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -63792,8 +64800,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 required: - id - node_id @@ -63810,7 +64818,7 @@ paths: - created_at - updated_at examples: - default: &591 + default: &603 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -63866,9 +64874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 requestBody: required: false content: @@ -63889,7 +64897,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -63912,9 +64920,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 requestBody: required: false content: @@ -63935,7 +64943,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -63968,9 +64976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '200': description: Response @@ -64107,8 +65115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -64126,9 +65134,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *495 examples: - default: *484 + default: *496 headers: Link: *43 x-github: @@ -64153,16 +65161,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *485 + schema: *497 examples: - default: *486 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64184,17 +65192,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 responses: '200': description: Response content: application/json: - schema: *483 + schema: *495 examples: - default: &617 + default: &629 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -64220,9 +65228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 requestBody: required: true content: @@ -64253,7 +65261,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -64279,9 +65287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 responses: '204': description: Response @@ -64306,9 +65314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *446 - - *447 - - *470 + - *458 + - *459 + - *482 - *19 responses: '200': @@ -64325,9 +65333,9 @@ paths: type: integer variables: type: array - items: *487 + items: *499 examples: - default: *488 + default: *500 headers: Link: *43 x-github: @@ -64350,8 +65358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -64378,7 +65386,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -64403,17 +65411,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *446 - - *447 - - *268 + - *458 + - *459 + - *282 responses: '200': description: Response content: application/json: - schema: *487 + schema: *499 examples: - default: &618 + default: &630 value: name: USERNAME value: octocat @@ -64439,9 +65447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *446 - - *447 - - *268 + - *458 + - *459 + - *282 requestBody: required: true content: @@ -64483,9 +65491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *446 - - *447 - - *268 + - *458 + - *459 + - *282 responses: '204': description: Response @@ -64510,8 +65518,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -64529,7 +65537,7 @@ paths: type: integer workflows: type: array - items: &489 + items: &501 title: Workflow description: A GitHub Actions workflow type: object @@ -64636,9 +65644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *446 - - *447 - - &490 + - *458 + - *459 + - &502 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -64653,7 +65661,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *501 examples: default: value: @@ -64686,9 +65694,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *446 - - *447 - - *490 + - *458 + - *459 + - *502 responses: '204': description: Response @@ -64713,9 +65721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *446 - - *447 - - *490 + - *458 + - *459 + - *502 responses: '204': description: Response @@ -64766,9 +65774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *446 - - *447 - - *490 + - *458 + - *459 + - *502 responses: '204': description: Response @@ -64795,19 +65803,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: - - *446 - - *447 - - *490 - - *491 - - *492 - - *493 - - *494 + - *458 + - *459 + - *502 + - *503 + - *504 + - *505 + - *506 - *17 - *19 - - *495 - - *474 - - *496 - - *497 + - *507 + - *486 + - *508 + - *509 responses: '200': description: Response @@ -64823,9 +65831,9 @@ paths: type: integer workflow_runs: type: array - items: *475 + items: *487 examples: - default: *498 + default: *510 headers: Link: *43 x-github: @@ -64858,9 +65866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *446 - - *447 - - *490 + - *458 + - *459 + - *502 responses: '200': description: Response @@ -64921,12 +65929,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *446 - - *447 - - *101 + - *458 + - *459 + - *106 - *17 - - *99 - - *100 + - *104 + - *105 - name: ref description: |- The Git reference for the activities you want to list. @@ -65086,8 +66094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -65099,7 +66107,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 '404': *6 @@ -65124,8 +66132,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: - - *446 - - *447 + - *458 + - *459 - name: assignee in: path required: true @@ -65161,8 +66169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -65274,11 +66282,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *446 - - *447 + - *458 + - *459 - *17 - - *99 - - *100 + - *104 + - *105 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -65331,7 +66339,7 @@ paths: initiator: type: string examples: - default: *499 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65351,8 +66359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -65360,7 +66368,7 @@ paths: application/json: schema: type: array - items: &500 + items: &512 title: Autolink reference description: An autolink reference. type: object @@ -65414,8 +66422,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -65454,9 +66462,9 @@ paths: description: response content: application/json: - schema: *500 + schema: *512 examples: - default: &501 + default: &513 value: id: 1 key_prefix: TICKET- @@ -65487,9 +66495,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: - - *446 - - *447 - - &502 + - *458 + - *459 + - &514 name: autolink_id description: The unique identifier of the autolink. in: path @@ -65501,9 +66509,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *512 examples: - default: *501 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -65523,9 +66531,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: - - *446 - - *447 - - *502 + - *458 + - *459 + - *514 responses: '204': description: Response @@ -65549,8 +66557,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response if Dependabot is enabled @@ -65598,8 +66606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -65620,8 +66628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -65641,8 +66649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *446 - - *447 + - *458 + - *459 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -65680,7 +66688,7 @@ paths: - url protected: type: boolean - protection: &504 + protection: &516 title: Branch Protection description: Branch Protection type: object @@ -65722,7 +66730,7 @@ paths: required: - contexts - checks - enforce_admins: &507 + enforce_admins: &519 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -65737,7 +66745,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &509 + required_pull_request_reviews: &521 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -65758,7 +66766,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *282 + items: *296 apps: description: The list of apps with review dismissal access. @@ -65787,7 +66795,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *282 + items: *296 apps: description: The list of apps allowed to bypass pull request requirements. @@ -65813,7 +66821,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &506 + restrictions: &518 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -65876,7 +66884,7 @@ paths: type: string teams: type: array - items: *282 + items: *296 apps: type: array items: @@ -66090,9 +67098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *446 - - *447 - - &505 + - *458 + - *459 + - &517 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). @@ -66106,14 +67114,14 @@ paths: description: Response content: application/json: - schema: &515 + schema: &527 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &564 + commit: &576 title: Commit description: Commit type: object @@ -66147,7 +67155,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &503 + properties: &515 name: type: string example: '"Chris Wanstrath"' @@ -66162,7 +67170,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *503 + properties: *515 nullable: true message: type: string @@ -66183,7 +67191,7 @@ paths: required: - sha - url - verification: &624 + verification: &636 title: Verification type: object properties: @@ -66217,12 +67225,12 @@ paths: nullable: true oneOf: - *4 - - *266 + - *280 committer: nullable: true oneOf: - *4 - - *266 + - *280 parents: type: array items: @@ -66253,7 +67261,7 @@ paths: type: integer files: type: array - items: &577 + items: &589 title: Diff Entry description: Diff Entry type: object @@ -66337,7 +67345,7 @@ paths: - self protected: type: boolean - protection: *504 + protection: *516 protection_url: type: string format: uri @@ -66444,7 +67452,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *460 + '301': *472 '404': *6 x-github: githubCloudOnly: false @@ -66466,15 +67474,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *504 + schema: *516 examples: default: value: @@ -66668,9 +67676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -66925,7 +67933,7 @@ paths: url: type: string format: uri - required_status_checks: &512 + required_status_checks: &524 title: Status Check Policy description: Status Check Policy type: object @@ -67001,7 +68009,7 @@ paths: items: *4 teams: type: array - items: *282 + items: *296 apps: type: array items: *5 @@ -67019,7 +68027,7 @@ paths: items: *4 teams: type: array - items: *282 + items: *296 apps: type: array items: *5 @@ -67077,7 +68085,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *506 + restrictions: *518 required_conversation_resolution: type: object properties: @@ -67189,9 +68197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '204': description: Response @@ -67216,17 +68224,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *507 + schema: *519 examples: - default: &508 + default: &520 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -67248,17 +68256,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *507 + schema: *519 examples: - default: *508 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67277,9 +68285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '204': description: Response @@ -67304,17 +68312,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *509 + schema: *521 examples: - default: &510 + default: &522 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -67410,9 +68418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: false content: @@ -67510,9 +68518,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *521 examples: - default: *510 + default: *522 '422': *15 x-github: githubCloudOnly: false @@ -67533,9 +68541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '204': description: Response @@ -67562,17 +68570,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *507 + schema: *519 examples: - default: &511 + default: &523 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -67595,17 +68603,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *507 + schema: *519 examples: - default: *511 + default: *523 '404': *6 x-github: githubCloudOnly: false @@ -67625,9 +68633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '204': description: Response @@ -67652,17 +68660,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *512 + schema: *524 examples: - default: &513 + default: &525 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -67688,9 +68696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: false content: @@ -67742,9 +68750,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *524 examples: - default: *513 + default: *525 '404': *6 '422': *15 x-github: @@ -67766,9 +68774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '204': description: Response @@ -67792,9 +68800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response @@ -67828,9 +68836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: false content: @@ -67897,9 +68905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: false content: @@ -67963,9 +68971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: content: application/json: @@ -68031,15 +69039,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *506 + schema: *518 examples: default: value: @@ -68130,9 +69138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '204': description: Response @@ -68155,9 +69163,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: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response @@ -68167,7 +69175,7 @@ paths: type: array items: *5 examples: - default: &514 + default: &526 value: - id: 1 slug: octoapp @@ -68224,9 +69232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68260,7 +69268,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *526 '422': *15 x-github: githubCloudOnly: false @@ -68281,9 +69289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68317,7 +69325,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *526 '422': *15 x-github: githubCloudOnly: false @@ -68338,9 +69346,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68374,7 +69382,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *526 '422': *15 x-github: githubCloudOnly: false @@ -68396,9 +69404,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: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response @@ -68406,9 +69414,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: *357 + default: *369 '404': *6 x-github: githubCloudOnly: false @@ -68428,9 +69436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: false content: @@ -68466,9 +69474,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: *357 + default: *369 '422': *15 x-github: githubCloudOnly: false @@ -68489,9 +69497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: false content: @@ -68527,9 +69535,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: *357 + default: *369 '422': *15 x-github: githubCloudOnly: false @@ -68550,9 +69558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: content: application/json: @@ -68587,9 +69595,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: *357 + default: *369 '422': *15 x-github: githubCloudOnly: false @@ -68611,9 +69619,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: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response @@ -68623,7 +69631,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 '404': *6 x-github: githubCloudOnly: false @@ -68647,9 +69655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68682,7 +69690,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 '422': *15 x-github: githubCloudOnly: false @@ -68707,9 +69715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68742,7 +69750,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 '422': *15 x-github: githubCloudOnly: false @@ -68767,9 +69775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68802,7 +69810,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 '422': *15 x-github: githubCloudOnly: false @@ -68829,9 +69837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68853,7 +69861,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *527 examples: default: value: @@ -68967,12 +69975,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *446 - - *447 - - *94 - - *95 - - *96 - - *97 + - *458 + - *459 + - *99 + - *100 + - *101 + - *102 - *17 - *19 responses: @@ -68982,9 +69990,9 @@ paths: application/json: schema: type: array - items: *277 + items: *291 examples: - default: *278 + default: *292 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -69004,8 +70012,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *446 - - *447 + - *458 + - *459 - name: bypass_request_number in: path required: true @@ -69019,7 +70027,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *291 examples: default: value: @@ -69078,12 +70086,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 - - *94 - - *95 - - *96 - - *97 + - *458 + - *459 + - *99 + - *100 + - *101 + - *102 - *17 - *19 responses: @@ -69093,9 +70101,9 @@ paths: application/json: schema: type: array - items: *280 + items: *294 examples: - default: *281 + default: *295 '404': *6 '403': *29 '500': *40 @@ -69119,8 +70127,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *458 + - *459 - name: bypass_request_number in: path required: true @@ -69132,7 +70140,7 @@ paths: description: A single bypass request. content: application/json: - schema: *280 + schema: *294 examples: default: value: @@ -69190,8 +70198,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *458 + - *459 - name: bypass_request_number in: path required: true @@ -69262,8 +70270,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *458 + - *459 - name: bypass_response_id in: path required: true @@ -69296,8 +70304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -69576,7 +70584,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &528 title: CheckRun description: A check performed on the code of a given code change type: object @@ -69687,16 +70695,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *194 - deployment: &843 + items: *205 + deployment: &854 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69763,8 +70771,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 required: - id - node_id @@ -69976,9 +70984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *446 - - *447 - - &517 + - *458 + - *459 + - &529 name: check_run_id description: The unique identifier of the check run. in: path @@ -69990,9 +70998,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *528 examples: - default: &518 + default: &530 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -70092,9 +71100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *446 - - *447 - - *517 + - *458 + - *459 + - *529 requestBody: required: true content: @@ -70334,9 +71342,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *528 examples: - default: *518 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70356,9 +71364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *446 - - *447 - - *517 + - *458 + - *459 + - *529 - *17 - *19 responses: @@ -70453,15 +71461,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *446 - - *447 - - *517 + - *458 + - *459 + - *529 responses: '201': description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -70499,8 +71507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -70522,7 +71530,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &521 + schema: &533 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -70586,7 +71594,7 @@ paths: nullable: true pull_requests: type: array - items: *194 + items: *205 nullable: true app: title: GitHub app @@ -70597,9 +71605,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - repository: *255 + properties: *197 + required: *198 + repository: *269 created_at: type: string format: date-time @@ -70608,12 +71616,12 @@ paths: type: string format: date-time nullable: true - head_commit: &869 + head_commit: &880 title: Simple Commit description: A commit. type: object - properties: *519 - required: *520 + properties: *531 + required: *532 latest_check_runs_count: type: integer check_runs_url: @@ -70641,7 +71649,7 @@ paths: - check_runs_url - pull_requests examples: - default: &522 + default: &534 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -70932,9 +71940,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *521 + schema: *533 examples: - default: *522 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70953,8 +71961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -71015,7 +72023,7 @@ paths: required: - app_id - setting - repository: *255 + repository: *269 examples: default: value: @@ -71263,9 +72271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *446 - - *447 - - &523 + - *458 + - *459 + - &535 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -71277,9 +72285,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *533 examples: - default: *522 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71302,17 +72310,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: - - *446 - - *447 - - *523 - - &570 + - *458 + - *459 + - *535 + - &582 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &571 + - &583 name: status description: Returns check runs with the specified `status`. in: query @@ -71351,9 +72359,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *528 examples: - default: &572 + default: &584 value: total_count: 1 check_runs: @@ -71455,15 +72463,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *446 - - *447 - - *523 + - *458 + - *459 + - *535 responses: '201': description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -71490,30 +72498,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: - - *446 - - *447 - - *286 - - *287 + - *458 + - *459 + - *300 + - *301 - *19 - *17 - - &539 + - &551 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: *524 - - &540 + schema: *536 + - &552 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *101 - - *99 - - *100 + - *106 + - *104 + - *105 - name: sort description: The property by which to sort the results. in: query @@ -71529,13 +72537,13 @@ paths: be returned. in: query required: false - schema: *288 + schema: *302 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *525 + schema: *537 responses: '200': description: Response @@ -71546,14 +72554,14 @@ paths: items: type: object properties: - number: *113 - created_at: *120 - updated_at: *121 - url: *118 - html_url: *119 - instances_url: *526 - state: *104 - fixed_at: *123 + number: *123 + created_at: *130 + updated_at: *131 + url: *128 + html_url: *129 + instances_url: *538 + state: *109 + fixed_at: *133 dismissed_by: title: Simple User description: A GitHub user. @@ -71561,12 +72569,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *122 - dismissed_reason: *527 - dismissed_comment: *528 - rule: *529 - tool: *530 - most_recent_instance: *531 + dismissed_at: *132 + dismissed_reason: *539 + dismissed_comment: *540 + rule: *541 + tool: *542 + most_recent_instance: *543 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71692,14 +72700,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &532 + '403': &544 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71719,9 +72727,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: - - *446 - - *447 - - &533 + - *458 + - *459 + - &545 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71729,23 +72737,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *113 + schema: *123 responses: '200': description: Response content: application/json: - schema: &534 + schema: &546 type: object properties: - number: *113 - created_at: *120 - updated_at: *121 - url: *118 - html_url: *119 - instances_url: *526 - state: *104 - fixed_at: *123 + number: *123 + created_at: *130 + updated_at: *131 + url: *128 + html_url: *129 + instances_url: *538 + state: *109 + fixed_at: *133 dismissed_by: title: Simple User description: A GitHub user. @@ -71753,9 +72761,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *122 - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_at: *132 + dismissed_reason: *539 + dismissed_comment: *540 rule: type: object properties: @@ -71809,8 +72817,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *530 - most_recent_instance: *531 + tool: *542 + most_recent_instance: *543 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71909,9 +72917,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71929,9 +72937,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 requestBody: required: true content: @@ -71946,8 +72954,8 @@ paths: enum: - open - dismissed - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_reason: *539 + dismissed_comment: *540 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -71966,7 +72974,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *546 examples: default: value: @@ -72042,14 +73050,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &538 + '403': &550 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': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72069,15 +73077,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 responses: '200': description: Response content: application/json: - schema: &535 + schema: &547 type: object properties: status: @@ -72103,13 +73111,13 @@ paths: - description - started_at examples: - default: &536 + default: &548 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &537 + '400': &549 description: Bad Request content: application/json: @@ -72120,9 +73128,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': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72145,29 +73153,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 responses: '200': description: OK content: application/json: - schema: *535 + schema: *547 examples: - default: *536 + default: *548 '202': description: Accepted content: application/json: - schema: *535 + schema: *547 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *537 + '400': *549 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72177,7 +73185,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72199,9 +73207,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 requestBody: required: false content: @@ -72246,12 +73254,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *537 - '403': *538 + '400': *549 + '403': *550 '404': *6 '422': description: Unprocessable Entity - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72271,13 +73279,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 - *19 - *17 - - *539 - - *540 + - *551 + - *552 responses: '200': description: Response @@ -72285,7 +73293,7 @@ paths: application/json: schema: type: array - items: *531 + items: *543 examples: default: value: @@ -72324,9 +73332,9 @@ paths: end_column: 50 classifications: - source - '403': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72358,29 +73366,29 @@ 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: - - *446 - - *447 - - *286 - - *287 + - *458 + - *459 + - *300 + - *301 - *19 - *17 - - *540 + - *552 - 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: *524 + schema: *536 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &543 + schema: &555 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *101 + - *106 - name: sort description: The property by which to sort the results. in: query @@ -72397,23 +73405,23 @@ paths: application/json: schema: type: array - items: &544 + items: &556 type: object properties: - ref: *524 - commit_sha: &552 + ref: *536 + commit_sha: &564 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: *541 + analysis_key: *553 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *542 + category: *554 error: type: string example: error reading field xyz @@ -72437,8 +73445,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *543 - tool: *530 + sarif_id: *555 + tool: *542 deletable: type: boolean warning: @@ -72499,9 +73507,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72535,8 +73543,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: - - *446 - - *447 + - *458 + - *459 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72549,7 +73557,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *556 examples: response: summary: application/json response @@ -72603,14 +73611,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *532 + '403': *544 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72690,8 +73698,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: - - *446 - - *447 + - *458 + - *459 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72744,9 +73752,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': *538 + '403': *550 '404': *6 - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72766,8 +73774,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -72775,7 +73783,7 @@ paths: application/json: schema: type: array - items: &545 + items: &557 title: CodeQL Database description: A CodeQL database. type: object @@ -72886,9 +73894,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': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72915,8 +73923,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: - - *446 - - *447 + - *458 + - *459 - name: language in: path description: The language of the CodeQL database. @@ -72928,7 +73936,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *557 examples: default: value: @@ -72960,11 +73968,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': &579 + '302': &591 description: Found - '403': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72984,8 +73992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *446 - - *447 + - *458 + - *459 - name: language in: path description: The language of the CodeQL database. @@ -72995,9 +74003,9 @@ paths: responses: '204': description: Response - '403': *538 + '403': *550 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73023,8 +74031,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -73033,7 +74041,7 @@ paths: type: object additionalProperties: false properties: - language: &546 + language: &558 type: string description: The language targeted by the CodeQL query enum: @@ -73112,7 +74120,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &550 + schema: &562 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73120,9 +74128,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *110 + controller_repo: *115 actor: *4 - query_language: *546 + query_language: *558 query_pack_url: type: string description: The download url for the query pack. @@ -73169,7 +74177,7 @@ paths: items: type: object properties: - repository: &547 + repository: &559 title: Repository Identifier description: Repository Identifier type: object @@ -73205,7 +74213,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &551 + analysis_status: &563 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73237,7 +74245,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &548 + access_mismatch_repos: &560 type: object properties: repository_count: @@ -73251,7 +74259,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: *547 + items: *559 required: - repository_count - repositories @@ -73273,8 +74281,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *548 - over_limit_repos: *548 + no_codeql_db_repos: *560 + over_limit_repos: *560 required: - access_mismatch_repos - not_found_repos @@ -73290,7 +74298,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &549 + value: &561 summary: Default response value: id: 1 @@ -73442,17 +74450,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *549 + value: *561 repository_lists: summary: Response for a successful variant analysis submission - value: *549 + value: *561 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73473,8 +74481,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: - - *446 - - *447 + - *458 + - *459 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -73486,11 +74494,11 @@ paths: description: Response content: application/json: - schema: *550 + schema: *562 examples: - default: *549 + default: *561 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73511,7 +74519,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: - - *446 + - *458 - name: repo in: path description: The name of the controller repository. @@ -73545,8 +74553,8 @@ paths: schema: type: object properties: - repository: *110 - analysis_status: *551 + repository: *115 + analysis_status: *563 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -73650,7 +74658,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73671,8 +74679,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -73757,9 +74765,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73778,8 +74786,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -73846,7 +74854,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -73871,7 +74879,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *538 + '403': *550 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -73885,7 +74893,7 @@ paths: content: application/json: schema: *3 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73942,8 +74950,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -73951,7 +74959,7 @@ paths: schema: type: object properties: - commit_sha: *552 + commit_sha: *564 ref: type: string description: |- @@ -74009,7 +75017,7 @@ paths: schema: type: object properties: - id: *543 + id: *555 url: type: string description: The REST API URL for checking the status of the upload. @@ -74023,11 +75031,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': *538 + '403': *550 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74046,8 +75054,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: - - *446 - - *447 + - *458 + - *459 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -74093,10 +75101,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': *532 + '403': *544 '404': description: Not Found if the sarif id does not match any upload - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74118,8 +75126,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -74143,7 +75151,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *105 + configuration: *110 examples: default: value: @@ -74175,7 +75183,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': *133 + '204': *143 '304': *37 '403': *29 '404': *6 @@ -74200,8 +75208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *446 - - *447 + - *458 + - *459 - 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 @@ -74321,8 +75329,8 @@ paths: parameters: - *17 - *19 - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -74338,7 +75346,7 @@ paths: type: integer codespaces: type: array - items: *347 + items: *359 examples: default: value: @@ -74636,8 +75644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -74700,22 +75708,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74739,8 +75747,8 @@ paths: parameters: - *17 - *19 - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -74804,8 +75812,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: - - *446 - - *447 + - *458 + - *459 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -74840,14 +75848,14 @@ paths: type: integer machines: type: array - items: &795 + items: &807 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *554 - required: *555 + properties: *566 + required: *567 examples: - default: &796 + default: &808 value: total_count: 2 machines: @@ -74887,8 +75895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *446 - - *447 + - *458 + - *459 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -74972,8 +75980,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: - - *446 - - *447 + - *458 + - *459 - 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 @@ -75018,7 +76026,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75039,8 +76047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -75058,7 +76066,7 @@ paths: type: integer secrets: type: array - items: &559 + items: &571 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75078,7 +76086,7 @@ paths: - created_at - updated_at examples: - default: *556 + default: *568 headers: Link: *43 x-github: @@ -75101,16 +76109,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *557 + schema: *569 examples: - default: *558 + default: *570 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75130,17 +76138,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 responses: '200': description: Response content: application/json: - schema: *559 + schema: *571 examples: - default: *560 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75160,9 +76168,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: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 requestBody: required: true content: @@ -75190,7 +76198,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -75214,9 +76222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 responses: '204': description: Response @@ -75244,8 +76252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *446 - - *447 + - *458 + - *459 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -75287,7 +76295,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &561 + properties: &573 login: type: string example: octocat @@ -75380,7 +76388,7 @@ paths: user_view_type: type: string example: public - required: &562 + required: &574 - avatar_url - events_url - followers_url @@ -75454,9 +76462,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: - - *446 - - *447 - - *182 + - *458 + - *459 + - *192 responses: '204': description: Response if user is a collaborator @@ -75502,9 +76510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *446 - - *447 - - *182 + - *458 + - *459 + - *192 requestBody: required: false content: @@ -75530,7 +76538,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &637 + schema: &649 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -75541,7 +76549,7 @@ paths: example: 42 type: integer format: int64 - repository: *255 + repository: *269 invitee: title: Simple User description: A GitHub user. @@ -75719,7 +76727,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *232 + schema: *244 '403': *29 x-github: triggersNotification: true @@ -75759,9 +76767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *446 - - *447 - - *182 + - *458 + - *459 + - *192 responses: '204': description: No Content when collaborator was removed from the repository. @@ -75792,9 +76800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *446 - - *447 - - *182 + - *458 + - *459 + - *192 responses: '200': description: if user has admin permissions @@ -75814,8 +76822,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *561 - required: *562 + properties: *573 + required: *574 nullable: true required: - permission @@ -75870,8 +76878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -75881,7 +76889,7 @@ paths: application/json: schema: type: array - items: &563 + items: &575 title: Commit Comment description: Commit Comment type: object @@ -75922,8 +76930,8 @@ paths: updated_at: type: string format: date-time - author_association: *190 - reactions: *191 + author_association: *201 + reactions: *202 required: - url - html_url @@ -75939,7 +76947,7 @@ paths: - created_at - updated_at examples: - default: &566 + default: &578 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75998,17 +77006,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 responses: '200': description: Response content: application/json: - schema: *563 + schema: *575 examples: - default: &567 + default: &579 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76065,9 +77073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 requestBody: required: true content: @@ -76089,7 +77097,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *575 examples: default: value: @@ -76140,9 +77148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 responses: '204': description: Response @@ -76163,9 +77171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 - 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. @@ -76191,9 +77199,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 '404': *6 @@ -76214,9 +77222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 requestBody: required: true content: @@ -76248,16 +77256,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '201': description: Reaction created content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '422': *15 x-github: githubCloudOnly: false @@ -76279,10 +77287,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *446 - - *447 - - *205 - - *438 + - *458 + - *459 + - *216 + - *450 responses: '204': description: Response @@ -76331,8 +77339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *446 - - *447 + - *458 + - *459 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -76388,9 +77396,9 @@ paths: application/json: schema: type: array - items: *564 + items: *576 examples: - default: &686 + default: &698 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76464,7 +77472,7 @@ paths: '500': *40 '400': *14 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76484,9 +77492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *446 - - *447 - - &565 + - *458 + - *459 + - &577 name: commit_sha description: The SHA of the commit. in: path @@ -76533,7 +77541,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76558,9 +77566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *446 - - *447 - - *565 + - *458 + - *459 + - *577 - *17 - *19 responses: @@ -76570,9 +77578,9 @@ paths: application/json: schema: type: array - items: *563 + items: *575 examples: - default: *566 + default: *578 headers: Link: *43 x-github: @@ -76600,9 +77608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *446 - - *447 - - *565 + - *458 + - *459 + - *577 requestBody: required: true content: @@ -76637,9 +77645,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *575 examples: - default: *567 + default: *579 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76667,9 +77675,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: - - *446 - - *447 - - *565 + - *458 + - *459 + - *577 - *17 - *19 responses: @@ -76679,9 +77687,9 @@ paths: application/json: schema: type: array - items: *568 + items: *580 examples: - default: &678 + default: &690 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77161,7 +78169,7 @@ paths: draft: false headers: Link: *43 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77218,11 +78226,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *446 - - *447 + - *458 + - *459 - *19 - *17 - - &569 + - &581 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)" @@ -77237,9 +78245,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *576 examples: - default: &665 + default: &677 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77326,8 +78334,8 @@ paths: '422': *15 '404': *6 '500': *40 - '503': *167 - '409': *109 + '503': *177 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77352,11 +78360,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: - - *446 - - *447 - - *569 - - *570 - - *571 + - *458 + - *459 + - *581 + - *582 + - *583 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -77390,9 +78398,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *528 examples: - default: *572 + default: *584 headers: Link: *43 x-github: @@ -77417,9 +78425,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: - - *446 - - *447 - - *569 + - *458 + - *459 + - *581 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -77427,7 +78435,7 @@ paths: schema: type: integer example: 1 - - *570 + - *582 - *17 - *19 responses: @@ -77445,7 +78453,7 @@ paths: type: integer check_suites: type: array - items: *521 + items: *533 examples: default: value: @@ -77645,9 +78653,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: - - *446 - - *447 - - *569 + - *458 + - *459 + - *581 - *17 - *19 responses: @@ -77714,7 +78722,7 @@ paths: type: string total_count: type: integer - repository: *255 + repository: *269 commit_url: type: string format: uri @@ -77845,9 +78853,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *446 - - *447 - - *569 + - *458 + - *459 + - *581 - *17 - *19 responses: @@ -77857,7 +78865,7 @@ paths: application/json: schema: type: array - items: &740 + items: &752 title: Status description: The status of a commit. type: object @@ -77938,7 +78946,7 @@ paths: site_admin: false headers: Link: *43 - '301': *460 + '301': *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77966,8 +78974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -77996,20 +79004,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *573 - required: *574 + properties: *585 + required: *586 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &575 + properties: &587 url: type: string format: uri html_url: type: string format: uri - required: &576 + required: &588 - url - html_url nullable: true @@ -78017,32 +79025,32 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true contributing: title: Community Health File type: object - properties: *575 - required: *576 + properties: *587 + required: *588 nullable: true readme: title: Community Health File type: object - properties: *575 - required: *576 + properties: *587 + required: *588 nullable: true issue_template: title: Community Health File type: object - properties: *575 - required: *576 + properties: *587 + required: *588 nullable: true pull_request_template: title: Community Health File type: object - properties: *575 - required: *576 + properties: *587 + required: *588 nullable: true required: - code_of_conduct @@ -78169,8 +79177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *446 - - *447 + - *458 + - *459 - *19 - *17 - name: basehead @@ -78213,8 +79221,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *564 - merge_base_commit: *564 + base_commit: *576 + merge_base_commit: *576 status: type: string enum: @@ -78234,10 +79242,10 @@ paths: example: 6 commits: type: array - items: *564 + items: *576 files: type: array - items: *577 + items: *589 required: - url - html_url @@ -78481,7 +79489,7 @@ paths: module Test" '404': *6 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78523,8 +79531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *446 - - *447 + - *458 + - *459 - name: path description: path parameter in: path @@ -78667,7 +79675,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &578 + response-if-content-is-a-file: &590 summary: Response if content is a file value: type: file @@ -78799,7 +79807,7 @@ paths: - size - type - url - - &691 + - &703 title: Content File description: Content File type: object @@ -79000,7 +80008,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *578 + response-if-content-is-a-file: *590 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -79069,7 +80077,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *579 + '302': *591 '304': *37 x-github: githubCloudOnly: false @@ -79092,8 +80100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *446 - - *447 + - *458 + - *459 - name: path description: path parameter in: path @@ -79186,7 +80194,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &592 title: File Commit description: File Commit type: object @@ -79338,7 +80346,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *592 examples: example-for-creating-a-file: value: @@ -79392,7 +80400,7 @@ paths: schema: oneOf: - *3 - - &619 + - &631 description: Repository rule violation was detected type: object properties: @@ -79413,7 +80421,7 @@ paths: items: type: object properties: - placeholder_id: &732 + placeholder_id: &744 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79445,8 +80453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *446 - - *447 + - *458 + - *459 - name: path description: path parameter in: path @@ -79507,7 +80515,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *592 examples: default: value: @@ -79541,8 +80549,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *109 - '503': *167 + '409': *114 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79562,8 +80570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *446 - - *447 + - *458 + - *459 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -79686,31 +80694,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *446 - - *447 - - *303 - - *304 - - *305 - - *306 + - *458 + - *459 + - *317 + - *318 + - *319 + - *320 - 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 - - *307 - - *581 - - *308 - - *309 - - *101 - - 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 + - *321 + - *593 + - *322 + - *323 + - *106 - 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)." @@ -79719,10 +80719,8 @@ paths: schema: type: integer default: 30 - - *99 - - *100 - - *310 - - *311 + - *104 + - *105 responses: '200': description: Response @@ -79730,11 +80728,11 @@ paths: application/json: schema: type: array - items: &584 + items: &596 type: object description: A Dependabot alert. properties: - number: *113 + number: *123 state: type: string description: The state of the Dependabot alert. @@ -79749,7 +80747,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *114 + package: *124 manifest_path: type: string description: The full path to the dependency manifest file, @@ -79776,13 +80774,13 @@ paths: - unknown - direct - transitive - security_advisory: *582 - security_vulnerability: *117 - url: *118 - html_url: *119 - created_at: *120 - updated_at: *121 - dismissed_at: *122 + security_advisory: *594 + security_vulnerability: *127 + url: *128 + html_url: *129 + created_at: *130 + updated_at: *131 + dismissed_at: *132 dismissed_by: title: Simple User description: A GitHub user. @@ -79806,8 +80804,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *123 - auto_dismissed_at: *583 + fixed_at: *133 + auto_dismissed_at: *595 required: - number - state @@ -80037,9 +81035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *446 - - *447 - - &585 + - *458 + - *459 + - &597 name: alert_number in: path description: |- @@ -80048,13 +81046,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *113 + schema: *123 responses: '200': description: Response content: application/json: - schema: *584 + schema: *596 examples: default: value: @@ -80167,9 +81165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *446 - - *447 - - *585 + - *458 + - *459 + - *597 requestBody: required: true content: @@ -80214,7 +81212,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *596 examples: default: value: @@ -80320,7 +81318,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *7 x-github: githubCloudOnly: false @@ -80343,8 +81341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -80362,7 +81360,7 @@ paths: type: integer secrets: type: array - items: &588 + items: &600 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -80415,16 +81413,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *586 + schema: *598 examples: - default: *587 + default: *599 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80444,15 +81442,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 responses: '200': description: Response content: application/json: - schema: *588 + schema: *600 examples: default: value: @@ -80478,9 +81476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 requestBody: required: true content: @@ -80508,7 +81506,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -80532,9 +81530,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 responses: '204': description: Response @@ -80556,8 +81554,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: - - *446 - - *447 + - *458 + - *459 - 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 @@ -80717,8 +81715,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -80957,8 +81955,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -81033,7 +82031,7 @@ paths: - version - url additionalProperties: false - metadata: &589 + metadata: &601 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81066,7 +82064,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *589 + metadata: *601 resolved: type: object description: A collection of resolved package dependencies. @@ -81079,7 +82077,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *589 + metadata: *601 relationship: type: string description: A notation of whether a dependency is requested @@ -81208,8 +82206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *446 - - *447 + - *458 + - *459 - name: sha description: The SHA recorded at creation time. in: query @@ -81249,9 +82247,9 @@ paths: application/json: schema: type: array - items: *590 + items: *602 examples: - default: *591 + default: *603 headers: Link: *43 x-github: @@ -81317,8 +82315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -81399,7 +82397,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *602 examples: simple-example: summary: Simple example @@ -81472,9 +82470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *446 - - *447 - - &592 + - *458 + - *459 + - &604 name: deployment_id description: deployment_id parameter in: path @@ -81486,7 +82484,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *602 examples: default: value: @@ -81551,9 +82549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *446 - - *447 - - *592 + - *458 + - *459 + - *604 responses: '204': description: Response @@ -81575,9 +82573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *446 - - *447 - - *592 + - *458 + - *459 + - *604 - *17 - *19 responses: @@ -81587,7 +82585,7 @@ paths: application/json: schema: type: array - items: &593 + items: &605 title: Deployment Status description: The status of a deployment. type: object @@ -81678,8 +82676,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 required: - id - node_id @@ -81748,9 +82746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *446 - - *447 - - *592 + - *458 + - *459 + - *604 requestBody: required: true content: @@ -81825,9 +82823,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *605 examples: - default: &594 + default: &606 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -81883,9 +82881,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *446 - - *447 - - *592 + - *458 + - *459 + - *604 - name: status_id in: path required: true @@ -81896,9 +82894,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *605 examples: - default: *594 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -81925,12 +82923,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 - - *595 - - *596 - - *597 - - *598 + - *458 + - *459 + - *607 + - *608 + - *609 + - *610 - *17 - *19 responses: @@ -81940,9 +82938,9 @@ paths: application/json: schema: type: array - items: *599 + items: *611 examples: - default: *600 + default: *612 '404': *6 '403': *29 '500': *40 @@ -81966,8 +82964,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *458 + - *459 - name: alert_number in: path required: true @@ -81979,7 +82977,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *599 + schema: *611 examples: default: value: @@ -82035,8 +83033,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *458 + - *459 - name: alert_number in: path required: true @@ -82095,12 +83093,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 - - *94 - - *95 - - *96 - - *601 + - *458 + - *459 + - *99 + - *100 + - *101 + - *613 - *17 - *19 responses: @@ -82110,9 +83108,9 @@ paths: application/json: schema: type: array - items: *602 + items: *614 examples: - default: *603 + default: *615 '404': *6 '403': *29 '500': *40 @@ -82137,8 +83135,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *458 + - *459 - name: alert_number in: path required: true @@ -82150,7 +83148,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *602 + schema: *614 examples: default: value: @@ -82208,8 +83206,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *458 + - *459 - name: alert_number in: path required: true @@ -82278,8 +83276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -82336,8 +83334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -82354,7 +83352,7 @@ paths: type: integer environments: type: array - items: &605 + items: &617 title: Environment description: Details of a deployment environment type: object @@ -82406,7 +83404,7 @@ paths: type: type: string example: wait_timer - wait_timer: &607 + wait_timer: &619 type: integer example: 30 description: The amount of time to delay a job after @@ -82443,11 +83441,11 @@ paths: items: type: object properties: - type: *604 + type: *616 reviewer: anyOf: - *4 - - *282 + - *296 required: - id - node_id @@ -82467,7 +83465,7 @@ paths: - id - node_id - type - deployment_branch_policy: &608 + deployment_branch_policy: &620 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -82583,9 +83581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *446 - - *447 - - &606 + - *458 + - *459 + - &618 name: environment_name in: path required: true @@ -82598,9 +83596,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *617 examples: - default: &609 + default: &621 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -82684,9 +83682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 requestBody: required: false content: @@ -82695,7 +83693,7 @@ paths: type: object nullable: true properties: - wait_timer: *607 + wait_timer: *619 prevent_self_review: type: boolean example: false @@ -82712,13 +83710,13 @@ paths: items: type: object properties: - type: *604 + type: *616 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *608 + deployment_branch_policy: *620 additionalProperties: false examples: default: @@ -82738,9 +83736,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *617 examples: - default: *609 + default: *621 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -82764,9 +83762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 responses: '204': description: Default response @@ -82791,9 +83789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 - *17 - *19 responses: @@ -82811,7 +83809,7 @@ paths: example: 2 branch_policies: type: array - items: &610 + items: &622 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -82868,9 +83866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 requestBody: required: true content: @@ -82916,9 +83914,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *622 examples: - example-wildcard: &611 + example-wildcard: &623 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -82960,10 +83958,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *446 - - *447 - - *606 - - &612 + - *458 + - *459 + - *618 + - &624 name: branch_policy_id in: path required: true @@ -82975,9 +83973,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *622 examples: - default: *611 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82996,10 +83994,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *446 - - *447 - - *606 - - *612 + - *458 + - *459 + - *618 + - *624 requestBody: required: true content: @@ -83027,9 +84025,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *622 examples: - default: *611 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83048,10 +84046,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *446 - - *447 - - *606 - - *612 + - *458 + - *459 + - *618 + - *624 responses: '204': description: Response @@ -83076,9 +84074,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: - - *606 - - *447 - - *446 + - *618 + - *459 + - *458 responses: '200': description: List of deployment protection rules @@ -83094,7 +84092,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &613 + items: &625 title: Deployment protection rule description: Deployment protection rule type: object @@ -83113,7 +84111,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &614 + app: &626 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -83212,9 +84210,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: - - *606 - - *447 - - *446 + - *618 + - *459 + - *458 requestBody: content: application/json: @@ -83235,9 +84233,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *613 + schema: *625 examples: - default: &615 + default: &627 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -83272,9 +84270,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: - - *606 - - *447 - - *446 + - *618 + - *459 + - *458 - *19 - *17 responses: @@ -83293,7 +84291,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *614 + items: *626 examples: default: value: @@ -83328,10 +84326,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: - - *446 - - *447 - - *606 - - &616 + - *458 + - *459 + - *618 + - &628 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -83343,9 +84341,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *625 examples: - default: *615 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83366,10 +84364,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: - - *606 - - *447 - - *446 - - *616 + - *618 + - *459 + - *458 + - *628 responses: '204': description: Response @@ -83395,9 +84393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 - *17 - *19 responses: @@ -83415,9 +84413,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *495 examples: - default: *484 + default: *496 headers: Link: *43 x-github: @@ -83442,17 +84440,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 responses: '200': description: Response content: application/json: - schema: *485 + schema: *497 examples: - default: *486 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83474,18 +84472,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *446 - - *447 - - *606 - - *265 + - *458 + - *459 + - *618 + - *279 responses: '200': description: Response content: application/json: - schema: *483 + schema: *495 examples: - default: *617 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83507,10 +84505,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *446 - - *447 - - *606 - - *265 + - *458 + - *459 + - *618 + - *279 requestBody: required: true content: @@ -83541,7 +84539,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -83567,10 +84565,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *446 - - *447 - - *606 - - *265 + - *458 + - *459 + - *618 + - *279 responses: '204': description: Default response @@ -83595,10 +84593,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *446 - - *447 - - *606 - - *470 + - *458 + - *459 + - *618 + - *482 - *19 responses: '200': @@ -83615,9 +84613,9 @@ paths: type: integer variables: type: array - items: *487 + items: *499 examples: - default: *488 + default: *500 headers: Link: *43 x-github: @@ -83640,9 +84638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 requestBody: required: true content: @@ -83669,7 +84667,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -83694,18 +84692,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *446 - - *447 - - *606 - - *268 + - *458 + - *459 + - *618 + - *282 responses: '200': description: Response content: application/json: - schema: *487 + schema: *499 examples: - default: *618 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83726,10 +84724,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *446 - - *447 - - *268 - - *606 + - *458 + - *459 + - *282 + - *618 requestBody: required: true content: @@ -83771,10 +84769,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *446 - - *447 - - *268 - - *606 + - *458 + - *459 + - *282 + - *618 responses: '204': description: Response @@ -83796,8 +84794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -83807,7 +84805,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: 200-response: value: @@ -83865,8 +84863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *446 - - *447 + - *458 + - *459 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -83888,7 +84886,7 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: default: value: @@ -84025,8 +85023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: false content: @@ -84058,9 +85056,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: *461 + default: *473 '400': *14 '422': *15 '403': *29 @@ -84081,8 +85079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -84133,7 +85131,7 @@ paths: schema: type: string '404': *6 - '409': *109 + '409': *114 '403': *29 '422': description: Validation failed @@ -84141,8 +85139,8 @@ paths: application/json: schema: oneOf: - - *232 - - *619 + - *244 + - *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84167,8 +85165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *446 - - *447 + - *458 + - *459 - name: file_sha in: path required: true @@ -84219,7 +85217,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84267,8 +85265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -84377,7 +85375,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &632 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -84541,7 +85539,7 @@ paths: type: string '422': *15 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84591,15 +85589,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *446 - - *447 - - *565 + - *458 + - *459 + - *577 responses: '200': description: Response content: application/json: - schema: *620 + schema: *632 examples: default: value: @@ -84630,7 +85628,7 @@ paths: payload: verified_at: '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84655,9 +85653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *446 - - *447 - - &621 + - *458 + - *459 + - &633 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. @@ -84674,7 +85672,7 @@ paths: application/json: schema: type: array - items: &622 + items: &634 title: Git Reference description: Git references within a repository type: object @@ -84728,7 +85726,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *43 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84749,17 +85747,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *446 - - *447 - - *621 + - *458 + - *459 + - *633 responses: '200': description: Response content: application/json: - schema: *622 + schema: *634 examples: - default: &623 + default: &635 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -84769,7 +85767,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84788,8 +85786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -84818,16 +85816,16 @@ paths: description: Response content: application/json: - schema: *622 + schema: *634 examples: - default: *623 + default: *635 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84846,9 +85844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *446 - - *447 - - *621 + - *458 + - *459 + - *633 requestBody: required: true content: @@ -84877,11 +85875,11 @@ paths: description: Response content: application/json: - schema: *622 + schema: *634 examples: - default: *623 + default: *635 '422': *15 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84897,16 +85895,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *446 - - *447 - - *621 + - *458 + - *459 + - *633 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84954,8 +85952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -85022,7 +86020,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &637 title: Git Tag description: Metadata for a Git tag type: object @@ -85073,7 +86071,7 @@ paths: - sha - type - url - verification: *624 + verification: *636 required: - sha - url @@ -85083,7 +86081,7 @@ paths: - tag - message examples: - default: &626 + default: &638 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -85110,7 +86108,7 @@ paths: schema: type: string '422': *15 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85156,8 +86154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *446 - - *447 + - *458 + - *459 - name: tag_sha in: path required: true @@ -85168,11 +86166,11 @@ paths: description: Response content: application/json: - schema: *625 + schema: *637 examples: - default: *626 + default: *638 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85194,8 +86192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -85268,7 +86266,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &639 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -85341,7 +86339,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85364,8 +86362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *446 - - *447 + - *458 + - *459 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -85388,7 +86386,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *639 examples: default-response: summary: Default response @@ -85429,7 +86427,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85447,8 +86445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -85458,7 +86456,7 @@ paths: application/json: schema: type: array - items: &628 + items: &640 title: Webhook description: Webhooks for repositories. type: object @@ -85512,7 +86510,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &877 + last_response: &888 title: Hook Response type: object properties: @@ -85586,8 +86584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: false content: @@ -85639,9 +86637,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *640 examples: - default: &629 + default: &641 value: type: Repository id: 12345678 @@ -85689,17 +86687,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 responses: '200': description: Response content: application/json: - schema: *628 + schema: *640 examples: - default: *629 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -85719,9 +86717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 requestBody: required: true content: @@ -85766,9 +86764,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *640 examples: - default: *629 + default: *641 '422': *15 '404': *6 x-github: @@ -85789,9 +86787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 responses: '204': description: Response @@ -85815,9 +86813,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: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 responses: '200': description: Response @@ -85844,9 +86842,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: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 requestBody: required: false content: @@ -85890,11 +86888,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 - *17 - - *320 + - *332 responses: '200': description: Response @@ -85902,9 +86900,9 @@ paths: application/json: schema: type: array - items: *321 + items: *333 examples: - default: *322 + default: *334 '400': *14 '422': *15 x-github: @@ -85923,18 +86921,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: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 - *16 responses: '200': description: Response content: application/json: - schema: *323 + schema: *335 examples: - default: *324 + default: *336 '400': *14 '422': *15 x-github: @@ -85953,9 +86951,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: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 - *16 responses: '202': *39 @@ -85978,9 +86976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 responses: '204': description: Response @@ -86005,9 +87003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 responses: '204': description: Response @@ -86030,8 +87028,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response if immutable releases are enabled @@ -86077,11 +87075,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *446 - - *447 + - *458 + - *459 responses: - '204': *133 - '409': *109 + '204': *143 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86098,11 +87096,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *446 - - *447 + - *458 + - *459 responses: - '204': *133 - '409': *109 + '204': *143 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86156,14 +87154,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: &630 + schema: &642 title: Import description: A repository import from an external source. type: object @@ -86262,7 +87260,7 @@ paths: - html_url - authors_url examples: - default: &633 + default: &645 value: vcs: subversion use_lfs: true @@ -86278,7 +87276,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': &631 + '503': &643 description: Unavailable due to service under maintenance. content: application/json: @@ -86307,8 +87305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -86356,7 +87354,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *642 examples: default: value: @@ -86381,7 +87379,7 @@ paths: type: string '422': *15 '404': *6 - '503': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86409,8 +87407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: false content: @@ -86459,7 +87457,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *642 examples: example-1: summary: Example 1 @@ -86507,7 +87505,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': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86530,12 +87528,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response - '503': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86561,9 +87559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *446 - - *447 - - &818 + - *458 + - *459 + - &829 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86577,7 +87575,7 @@ paths: application/json: schema: type: array - items: &632 + items: &644 title: Porter Author description: Porter Author type: object @@ -86631,7 +87629,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': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86656,8 +87654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *446 - - *447 + - *458 + - *459 - name: author_id in: path required: true @@ -86687,7 +87685,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *644 examples: default: value: @@ -86700,7 +87698,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86724,8 +87722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -86766,7 +87764,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86794,8 +87792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -86822,11 +87820,11 @@ paths: description: Response content: application/json: - schema: *630 + schema: *642 examples: - default: *633 + default: *645 '422': *15 - '503': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86849,8 +87847,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -86858,8 +87856,8 @@ paths: application/json: schema: *22 examples: - default: *634 - '301': *460 + default: *646 + '301': *472 '404': *6 x-github: githubCloudOnly: false @@ -86879,8 +87877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -86888,12 +87886,12 @@ paths: application/json: schema: anyOf: - - *337 + - *349 - type: object properties: {} additionalProperties: false examples: - default: &636 + default: &648 value: limit: collaborators_only origin: repository @@ -86918,13 +87916,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: application/json: - schema: *635 + schema: *647 examples: default: summary: Example request body @@ -86936,9 +87934,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *349 examples: - default: *636 + default: *648 '409': description: Response x-github: @@ -86960,8 +87958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -86984,8 +87982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -86995,9 +87993,9 @@ paths: application/json: schema: type: array - items: *637 + items: *649 examples: - default: &811 + default: &822 value: - id: 1 repository: @@ -87128,9 +88126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *446 - - *447 - - *341 + - *458 + - *459 + - *353 requestBody: required: false content: @@ -87159,7 +88157,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *649 examples: default: value: @@ -87290,9 +88288,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *446 - - *447 - - *341 + - *458 + - *459 + - *353 responses: '204': description: Response @@ -87323,8 +88321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *446 - - *447 + - *458 + - *459 - 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 @@ -87372,7 +88370,7 @@ paths: required: false schema: type: string - - *345 + - *357 - name: sort description: What to sort results by. in: query @@ -87384,8 +88382,8 @@ paths: - updated - comments default: created - - *101 - - *196 + - *106 + - *207 - *17 - *19 responses: @@ -87395,9 +88393,9 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: &646 + default: &658 value: - id: 1 node_id: MDU6SXNzdWUx @@ -87545,7 +88543,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *460 + '301': *472 '422': *15 '404': *6 x-github: @@ -87574,8 +88572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -87657,9 +88655,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: &643 + default: &655 value: id: 1 node_id: MDU6SXNzdWUx @@ -87813,9 +88811,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *167 + '503': *177 '404': *6 - '410': *457 + '410': *469 x-github: triggersNotification: true githubCloudOnly: false @@ -87843,9 +88841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *446 - - *447 - - *213 + - *458 + - *459 + - *224 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -87855,7 +88853,7 @@ paths: enum: - asc - desc - - *196 + - *207 - *17 - *19 responses: @@ -87865,9 +88863,9 @@ paths: application/json: schema: type: array - items: *638 + items: *650 examples: - default: &645 + default: &657 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87925,17 +88923,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 responses: '200': description: Response content: application/json: - schema: *638 + schema: *650 examples: - default: &639 + default: &651 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87989,9 +88987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 requestBody: required: true content: @@ -88013,9 +89011,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *650 examples: - default: *639 + default: *651 '422': *15 x-github: githubCloudOnly: false @@ -88033,9 +89031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 responses: '204': description: Response @@ -88055,9 +89053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 - 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. @@ -88083,9 +89081,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 '404': *6 @@ -88106,9 +89104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 requestBody: required: true content: @@ -88140,16 +89138,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '201': description: Reaction created content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '422': *15 x-github: githubCloudOnly: false @@ -88171,10 +89169,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *446 - - *447 - - *205 - - *438 + - *458 + - *459 + - *216 + - *450 responses: '204': description: Response @@ -88194,8 +89192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -88205,7 +89203,7 @@ paths: application/json: schema: type: array - items: &642 + items: &654 title: Issue Event description: Issue Event type: object @@ -88248,8 +89246,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *640 - required: *641 + properties: *652 + required: *653 nullable: true label: title: Issue Event Label @@ -88293,7 +89291,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *282 + requested_team: *296 dismissed_review: title: Issue Event Dismissed Review type: object @@ -88358,7 +89356,7 @@ paths: required: - from - to - author_association: *190 + author_association: *201 lock_reason: type: string nullable: true @@ -88371,8 +89369,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 required: - id - node_id @@ -88556,8 +89554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *446 - - *447 + - *458 + - *459 - name: event_id in: path required: true @@ -88568,7 +89566,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *654 examples: default: value: @@ -88761,7 +89759,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *457 + '410': *469 '403': *29 x-github: githubCloudOnly: false @@ -88795,9 +89793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *446 - - *447 - - &644 + - *458 + - *459 + - &656 name: issue_number description: The number that identifies the issue. in: path @@ -88809,12 +89807,12 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 - '301': *460 + default: *655 + '301': *472 '404': *6 - '410': *457 + '410': *469 '304': *37 x-github: githubCloudOnly: false @@ -88839,9 +89837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: false content: @@ -88945,15 +89943,15 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 '422': *15 - '503': *167 + '503': *177 '403': *29 - '301': *460 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88971,9 +89969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: false content: @@ -88999,9 +89997,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89017,9 +90015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: content: application/json: @@ -89044,9 +90042,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89068,9 +90066,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: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - name: assignee in: path required: true @@ -89110,10 +90108,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *446 - - *447 - - *644 - - *196 + - *458 + - *459 + - *656 + - *207 - *17 - *19 responses: @@ -89123,13 +90121,13 @@ paths: application/json: schema: type: array - items: *638 + items: *650 examples: - default: *645 + default: *657 headers: Link: *43 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89158,9 +90156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: true content: @@ -89182,16 +90180,16 @@ paths: description: Response content: application/json: - schema: *638 + schema: *650 examples: - default: *639 + default: *651 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *457 + '410': *469 '422': *15 '404': *6 x-github: @@ -89219,9 +90217,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: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - *17 - *19 responses: @@ -89231,14 +90229,14 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: *646 + default: *658 headers: Link: *43 - '301': *460 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89266,9 +90264,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: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: true content: @@ -89290,17 +90288,17 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *460 + '301': *472 '403': *29 - '410': *457 + '410': *469 '422': *15 '404': *6 x-github: @@ -89331,9 +90329,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: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -89345,15 +90343,15 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 - '301': *460 + default: *655 + '301': *472 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *457 + '410': *469 x-github: triggersNotification: true githubCloudOnly: false @@ -89379,9 +90377,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: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - *17 - *19 responses: @@ -89391,14 +90389,14 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: *646 + default: *658 headers: Link: *43 - '301': *460 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89415,9 +90413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - *17 - *19 responses: @@ -89431,7 +90429,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &648 + - &660 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -89462,8 +90460,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 label: type: object properties: @@ -89485,7 +90483,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &661 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -89516,8 +90514,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 label: type: object properties: @@ -89605,8 +90603,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 assignee: *4 assigner: *4 required: @@ -89621,7 +90619,7 @@ paths: - performed_via_github_app - assignee - assigner - - &650 + - &662 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -89652,8 +90650,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 milestone: type: object properties: @@ -89672,7 +90670,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &663 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -89703,8 +90701,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 milestone: type: object properties: @@ -89723,7 +90721,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &664 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -89754,8 +90752,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 rename: type: object properties: @@ -89777,7 +90775,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &665 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -89808,10 +90806,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 review_requester: *4 - requested_team: *282 + requested_team: *296 requested_reviewer: *4 required: - review_requester @@ -89824,7 +90822,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &666 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -89855,10 +90853,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 review_requester: *4 - requested_team: *282 + requested_team: *296 requested_reviewer: *4 required: - review_requester @@ -89871,7 +90869,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &667 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -89902,8 +90900,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 dismissed_review: type: object properties: @@ -89931,7 +90929,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &656 + - &668 title: Locked Issue Event description: Locked Issue Event type: object @@ -89962,8 +90960,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 lock_reason: type: string example: '"off-topic"' @@ -89979,7 +90977,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &657 + - &669 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -90010,8 +91008,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 project_card: type: object properties: @@ -90045,7 +91043,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &658 + - &670 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -90076,8 +91074,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 project_card: type: object properties: @@ -90111,7 +91109,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &659 + - &671 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -90142,8 +91140,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 project_card: type: object properties: @@ -90177,7 +91175,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &660 + - &672 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -90268,7 +91266,7 @@ paths: color: red headers: Link: *43 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90285,9 +91283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - *17 - *19 responses: @@ -90297,9 +91295,9 @@ paths: application/json: schema: type: array - items: *188 + items: *199 examples: - default: &647 + default: &659 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -90317,9 +91315,9 @@ paths: default: false headers: Link: *43 - '301': *460 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90336,9 +91334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: false content: @@ -90397,12 +91395,12 @@ paths: application/json: schema: type: array - items: *188 + items: *199 examples: - default: *647 - '301': *460 + default: *659 + '301': *472 '404': *6 - '410': *457 + '410': *469 '422': *15 x-github: githubCloudOnly: false @@ -90419,9 +91417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: false content: @@ -90481,12 +91479,12 @@ paths: application/json: schema: type: array - items: *188 + items: *199 examples: - default: *647 - '301': *460 + default: *659 + '301': *472 '404': *6 - '410': *457 + '410': *469 '422': *15 x-github: githubCloudOnly: false @@ -90503,15 +91501,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 responses: '204': description: Response - '301': *460 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90530,9 +91528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - name: name in: path required: true @@ -90545,7 +91543,7 @@ paths: application/json: schema: type: array - items: *188 + items: *199 examples: default: value: @@ -90556,9 +91554,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *460 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90578,9 +91576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: false content: @@ -90608,7 +91606,7 @@ paths: '204': description: Response '403': *29 - '410': *457 + '410': *469 '404': *6 '422': *15 x-github: @@ -90626,9 +91624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 responses: '204': description: Response @@ -90658,20 +91656,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 responses: '200': description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 - '301': *460 + default: *655 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90688,9 +91686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - 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. @@ -90716,13 +91714,13 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90740,9 +91738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: true content: @@ -90774,16 +91772,16 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '201': description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '422': *15 x-github: githubCloudOnly: false @@ -90805,10 +91803,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *446 - - *447 - - *644 - - *438 + - *458 + - *459 + - *656 + - *450 responses: '204': description: Response @@ -90837,9 +91835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: true content: @@ -90861,9 +91859,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -90896,9 +91894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - *17 - *19 responses: @@ -90908,13 +91906,13 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: *646 + default: *658 headers: Link: *43 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90942,9 +91940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: true content: @@ -90971,16 +91969,16 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *457 + '410': *469 '422': *15 '404': *6 x-github: @@ -91000,9 +91998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: true content: @@ -91033,13 +92031,13 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 '403': *29 '404': *6 '422': *7 - '503': *167 + '503': *177 x-github: triggersNotification: true githubCloudOnly: false @@ -91057,9 +92055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - *17 - *19 responses: @@ -91074,19 +92072,19 @@ paths: description: Timeline Event type: object anyOf: - - *648 - - *649 - - *650 - - *651 - - *652 - - *653 - - *654 - - *655 - - *656 - - *657 - - *658 - - *659 - *660 + - *661 + - *662 + - *663 + - *664 + - *665 + - *666 + - *667 + - *668 + - *669 + - *670 + - *671 + - *672 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -91129,7 +92127,7 @@ paths: issue_url: type: string format: uri - author_association: *190 + author_association: *201 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -91139,9 +92137,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - reactions: *191 + properties: *197 + required: *198 + reactions: *202 required: - event - actor @@ -91172,7 +92170,7 @@ paths: properties: type: type: string - issue: *189 + issue: *200 required: - event - created_at @@ -91372,7 +92370,7 @@ paths: type: string body_text: type: string - author_association: *190 + author_association: *201 required: - event - id @@ -91395,7 +92393,7 @@ paths: type: string comments: type: array - items: &680 + items: &692 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -91484,7 +92482,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *190 + author_association: *201 _links: type: object properties: @@ -91568,7 +92566,7 @@ paths: enum: - line - file - reactions: *191 + reactions: *202 body_html: type: string example: '"

comment body

"' @@ -91604,7 +92602,7 @@ paths: type: string comments: type: array - items: *563 + items: *575 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -91635,8 +92633,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 assignee: *4 required: - id @@ -91679,8 +92677,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 assignee: *4 required: - id @@ -91723,8 +92721,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 state_reason: type: string nullable: true @@ -91893,7 +92891,7 @@ paths: headers: Link: *43 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91910,8 +92908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -91921,7 +92919,7 @@ paths: application/json: schema: type: array - items: &661 + items: &673 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -91987,8 +92985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -92024,9 +93022,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *673 examples: - default: &662 + default: &674 value: id: 1 key: ssh-rsa AAA... @@ -92060,9 +93058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *446 - - *447 - - &663 + - *458 + - *459 + - &675 name: key_id description: The unique identifier of the key. in: path @@ -92074,9 +93072,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *673 examples: - default: *662 + default: *674 '404': *6 x-github: githubCloudOnly: false @@ -92094,9 +93092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *446 - - *447 - - *663 + - *458 + - *459 + - *675 responses: '204': description: Response @@ -92116,8 +93114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -92127,9 +93125,9 @@ paths: application/json: schema: type: array - items: *188 + items: *199 examples: - default: *647 + default: *659 headers: Link: *43 '404': *6 @@ -92150,8 +93148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -92187,9 +93185,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *199 examples: - default: &664 + default: &676 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92221,8 +93219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *446 - - *447 + - *458 + - *459 - name: name in: path required: true @@ -92233,9 +93231,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *199 examples: - default: *664 + default: *676 '404': *6 x-github: githubCloudOnly: false @@ -92252,8 +93250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *446 - - *447 + - *458 + - *459 - name: name in: path required: true @@ -92292,7 +93290,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *199 examples: default: value: @@ -92318,8 +93316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *446 - - *447 + - *458 + - *459 - name: name in: path required: true @@ -92345,8 +93343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -92382,8 +93380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '202': *39 '403': @@ -92411,8 +93409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -92438,9 +93436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *446 - - *447 - - *539 + - *458 + - *459 + - *551 responses: '200': description: Response @@ -92502,8 +93500,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true required: - _links @@ -92585,8 +93583,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -92651,8 +93649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -92686,9 +93684,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *564 + schema: *576 examples: - default: *665 + default: *677 '204': description: Response when already merged '404': @@ -92713,8 +93711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *446 - - *447 + - *458 + - *459 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -92755,12 +93753,12 @@ paths: application/json: schema: type: array - items: &666 + items: &678 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *392 + required: *393 examples: default: value: @@ -92816,8 +93814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -92857,9 +93855,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *678 examples: - default: &667 + default: &679 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -92918,9 +93916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *446 - - *447 - - &668 + - *458 + - *459 + - &680 name: milestone_number description: The number that identifies the milestone. in: path @@ -92932,9 +93930,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *678 examples: - default: *667 + default: *679 '404': *6 x-github: githubCloudOnly: false @@ -92951,9 +93949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *446 - - *447 - - *668 + - *458 + - *459 + - *680 requestBody: required: false content: @@ -92991,9 +93989,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *678 examples: - default: *667 + default: *679 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93009,9 +94007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *446 - - *447 - - *668 + - *458 + - *459 + - *680 responses: '204': description: Response @@ -93032,9 +94030,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: - - *446 - - *447 - - *668 + - *458 + - *459 + - *680 - *17 - *19 responses: @@ -93044,9 +94042,9 @@ paths: application/json: schema: type: array - items: *188 + items: *199 examples: - default: *647 + default: *659 headers: Link: *43 x-github: @@ -93065,12 +94063,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: - - *446 - - *447 - - *669 - - *670 - - *196 - - *671 + - *458 + - *459 + - *681 + - *682 + - *207 + - *683 - *17 - *19 responses: @@ -93080,9 +94078,9 @@ paths: application/json: schema: type: array - items: *216 + items: *227 examples: - default: *672 + default: *684 headers: Link: *43 x-github: @@ -93106,8 +94104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: false content: @@ -93165,14 +94163,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: &673 + schema: &685 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -93297,7 +94295,7 @@ paths: - custom_404 - public examples: - default: &674 + default: &686 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -93338,8 +94336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -93393,11 +94391,11 @@ paths: description: Response content: application/json: - schema: *673 + schema: *685 examples: - default: *674 + default: *686 '422': *15 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93418,8 +94416,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -93505,7 +94503,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93526,14 +94524,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response '422': *15 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93553,8 +94551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -93564,7 +94562,7 @@ paths: application/json: schema: type: array - items: &675 + items: &687 title: Page Build description: Page Build type: object @@ -93658,8 +94656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *446 - - *447 + - *458 + - *459 responses: '201': description: Response @@ -93704,16 +94702,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *675 + schema: *687 examples: - default: &676 + default: &688 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -93761,8 +94759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *446 - - *447 + - *458 + - *459 - name: build_id in: path required: true @@ -93773,9 +94771,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *687 examples: - default: *676 + default: *688 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93795,8 +94793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -93901,9 +94899,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: - - *446 - - *447 - - &677 + - *458 + - *459 + - &689 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -93961,11 +94959,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *446 - - *447 - - *677 + - *458 + - *459 + - *689 responses: - '204': *133 + '204': *143 '404': *6 x-github: githubCloudOnly: false @@ -93990,8 +94988,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -94222,7 +95220,7 @@ paths: description: Empty response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -94249,8 +95247,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Private vulnerability reporting status @@ -94287,10 +95285,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: - - *446 - - *447 + - *458 + - *459 responses: - '204': *133 + '204': *143 '422': *14 x-github: githubCloudOnly: false @@ -94309,10 +95307,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: - - *446 - - *447 + - *458 + - *459 responses: - '204': *133 + '204': *143 '422': *14 x-github: githubCloudOnly: false @@ -94333,8 +95331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *446 - - *447 + - *458 + - *459 - name: state description: Indicates the state of the projects to return. in: query @@ -94355,7 +95353,7 @@ paths: application/json: schema: type: array - items: *374 + items: *386 examples: default: value: @@ -94395,7 +95393,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *457 + '410': *469 '422': *7 x-github: githubCloudOnly: false @@ -94418,8 +95416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -94445,13 +95443,13 @@ paths: description: Response content: application/json: - schema: *374 + schema: *386 examples: - default: *456 + default: *468 '401': *25 '403': *29 '404': *6 - '410': *457 + '410': *469 '422': *7 x-github: githubCloudOnly: false @@ -94474,8 +95472,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -94483,7 +95481,7 @@ paths: application/json: schema: type: array - items: *389 + items: *401 examples: default: value: @@ -94514,8 +95512,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -94527,7 +95525,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *389 + items: *401 required: - properties examples: @@ -94577,8 +95575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *446 - - *447 + - *458 + - *459 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -94638,9 +95636,9 @@ paths: application/json: schema: type: array - items: *568 + items: *580 examples: - default: *678 + default: *690 headers: Link: *43 '304': *37 @@ -94672,8 +95670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -94738,7 +95736,7 @@ paths: description: Response content: application/json: - schema: &682 + schema: &694 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -94849,8 +95847,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *392 + required: *393 nullable: true active_lock_reason: type: string @@ -94895,7 +95893,7 @@ paths: nullable: true requested_teams: type: array - items: *413 + items: *425 nullable: true head: type: object @@ -94904,7 +95902,7 @@ paths: type: string ref: type: string - repo: *69 + repo: *74 sha: type: string user: *4 @@ -94921,7 +95919,7 @@ paths: type: string ref: type: string - repo: *69 + repo: *74 sha: type: string user: *4 @@ -94934,14 +95932,14 @@ paths: _links: type: object properties: - comments: *382 - commits: *382 - statuses: *382 - html: *382 - issue: *382 - review_comments: *382 - review_comment: *382 - self: *382 + comments: *394 + commits: *394 + statuses: *394 + html: *394 + issue: *394 + review_comments: *394 + review_comment: *394 + self: *394 required: - comments - commits @@ -94951,8 +95949,8 @@ paths: - review_comments - review_comment - self - author_association: *190 - auto_merge: *679 + author_association: *201 + auto_merge: *691 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -95044,7 +96042,7 @@ paths: - merged_by - review_comments examples: - default: &683 + default: &695 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -95571,8 +96569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *446 - - *447 + - *458 + - *459 - name: sort in: query required: false @@ -95591,7 +96589,7 @@ paths: enum: - asc - desc - - *196 + - *207 - *17 - *19 responses: @@ -95601,9 +96599,9 @@ paths: application/json: schema: type: array - items: *680 + items: *692 examples: - default: &685 + default: &697 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95680,17 +96678,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: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 responses: '200': description: Response content: application/json: - schema: *680 + schema: *692 examples: - default: &681 + default: &693 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95765,9 +96763,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: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 requestBody: required: true content: @@ -95789,9 +96787,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *692 examples: - default: *681 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95807,9 +96805,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: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 responses: '204': description: Response @@ -95830,9 +96828,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: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 - 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. @@ -95858,9 +96856,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 '404': *6 @@ -95881,9 +96879,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: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 requestBody: required: true content: @@ -95915,16 +96913,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '201': description: Reaction created content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '422': *15 x-github: githubCloudOnly: false @@ -95946,10 +96944,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *446 - - *447 - - *205 - - *438 + - *458 + - *459 + - *216 + - *450 responses: '204': description: Response @@ -95992,9 +96990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *446 - - *447 - - &684 + - *458 + - *459 + - &696 name: pull_number description: The number that identifies the pull request. in: path @@ -96007,9 +97005,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *682 + schema: *694 examples: - default: *683 + default: *695 '304': *37 '404': *6 '406': @@ -96018,7 +97016,7 @@ paths: application/json: schema: *3 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96044,9 +97042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: false content: @@ -96088,9 +97086,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *694 examples: - default: *683 + default: *695 '422': *15 '403': *29 x-github: @@ -96112,9 +97110,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: true content: @@ -96174,21 +97172,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '401': *25 '403': *29 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96214,10 +97212,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: - - *446 - - *447 - - *684 - - *213 + - *458 + - *459 + - *696 + - *224 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -96227,7 +97225,7 @@ paths: enum: - asc - desc - - *196 + - *207 - *17 - *19 responses: @@ -96237,9 +97235,9 @@ paths: application/json: schema: type: array - items: *680 + items: *692 examples: - default: *685 + default: *697 headers: Link: *43 x-github: @@ -96272,9 +97270,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: true content: @@ -96379,7 +97377,7 @@ paths: description: Response content: application/json: - schema: *680 + schema: *692 examples: example-for-a-multi-line-comment: value: @@ -96467,10 +97465,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: - - *446 - - *447 - - *684 - - *205 + - *458 + - *459 + - *696 + - *216 requestBody: required: true content: @@ -96492,7 +97490,7 @@ paths: description: Response content: application/json: - schema: *680 + schema: *692 examples: default: value: @@ -96578,9 +97576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 - *17 - *19 responses: @@ -96590,9 +97588,9 @@ paths: application/json: schema: type: array - items: *564 + items: *576 examples: - default: *686 + default: *698 headers: Link: *43 x-github: @@ -96622,9 +97620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 - *17 - *19 responses: @@ -96634,7 +97632,7 @@ paths: application/json: schema: type: array - items: *577 + items: *589 examples: default: value: @@ -96653,7 +97651,7 @@ paths: Link: *43 '422': *15 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96672,9 +97670,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 responses: '204': description: Response if pull request has been merged @@ -96697,9 +97695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: false content: @@ -96810,9 +97808,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 responses: '200': description: Response @@ -96828,7 +97826,7 @@ paths: items: *4 teams: type: array - items: *282 + items: *296 required: - users - teams @@ -96887,9 +97885,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: false content: @@ -96926,7 +97924,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *580 examples: default: value: @@ -97462,9 +98460,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: true content: @@ -97498,7 +98496,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *580 examples: default: value: @@ -98003,9 +99001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 - *17 - *19 responses: @@ -98015,7 +99013,7 @@ paths: application/json: schema: type: array - items: &687 + items: &699 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -98084,7 +99082,7 @@ paths: type: string body_text: type: string - author_association: *190 + author_association: *201 required: - id - node_id @@ -98166,9 +99164,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: false content: @@ -98254,9 +99252,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *699 examples: - default: &689 + default: &701 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98319,10 +99317,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: - - *446 - - *447 - - *684 - - &688 + - *458 + - *459 + - *696 + - &700 name: review_id description: The unique identifier of the review. in: path @@ -98334,9 +99332,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *699 examples: - default: &690 + default: &702 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98395,10 +99393,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: - - *446 - - *447 - - *684 - - *688 + - *458 + - *459 + - *696 + - *700 requestBody: required: true content: @@ -98421,7 +99419,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *699 examples: default: value: @@ -98483,18 +99481,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: - - *446 - - *447 - - *684 - - *688 + - *458 + - *459 + - *696 + - *700 responses: '200': description: Response content: application/json: - schema: *687 + schema: *699 examples: - default: *689 + default: *701 '422': *7 '404': *6 x-github: @@ -98521,10 +99519,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: - - *446 - - *447 - - *684 - - *688 + - *458 + - *459 + - *696 + - *700 - *17 - *19 responses: @@ -98603,13 +99601,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *190 + author_association: *201 _links: type: object properties: - self: *382 - html: *382 - pull_request: *382 + self: *394 + html: *394 + pull_request: *394 required: - self - html @@ -98618,7 +99616,7 @@ paths: type: string body_html: type: string - reactions: *191 + reactions: *202 side: description: The side of the first line of the range for a multi-line comment. @@ -98759,10 +99757,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: - - *446 - - *447 - - *684 - - *688 + - *458 + - *459 + - *696 + - *700 requestBody: required: true content: @@ -98790,7 +99788,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *699 examples: default: value: @@ -98853,10 +99851,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: - - *446 - - *447 - - *684 - - *688 + - *458 + - *459 + - *696 + - *700 requestBody: required: true content: @@ -98891,9 +99889,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *699 examples: - default: *690 + default: *702 '404': *6 '422': *7 '403': *29 @@ -98915,9 +99913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: false content: @@ -98980,8 +99978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *446 - - *447 + - *458 + - *459 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -98994,9 +99992,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *703 examples: - default: &692 + default: &704 value: type: file encoding: base64 @@ -99038,8 +100036,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: - - *446 - - *447 + - *458 + - *459 - name: dir description: The alternate path to look for a README file in: path @@ -99059,9 +100057,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *703 examples: - default: *692 + default: *704 '404': *6 '422': *15 x-github: @@ -99083,8 +100081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -99094,7 +100092,7 @@ paths: application/json: schema: type: array - items: *693 + items: *705 examples: default: value: @@ -99188,8 +100186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -99265,9 +100263,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *705 examples: - default: &697 + default: &709 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -99372,9 +100370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *446 - - *447 - - &695 + - *458 + - *459 + - &707 name: asset_id description: The unique identifier of the asset. in: path @@ -99386,9 +100384,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *706 examples: - default: &696 + default: &708 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 @@ -99423,7 +100421,7 @@ paths: type: User site_admin: false '404': *6 - '302': *579 + '302': *591 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99439,9 +100437,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *446 - - *447 - - *695 + - *458 + - *459 + - *707 requestBody: required: false content: @@ -99469,9 +100467,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *706 examples: - default: *696 + default: *708 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99487,9 +100485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *446 - - *447 - - *695 + - *458 + - *459 + - *707 responses: '204': description: Response @@ -99513,8 +100511,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -99599,16 +100597,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *693 + schema: *705 examples: - default: *697 + default: *709 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99625,8 +100623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *446 - - *447 + - *458 + - *459 - name: tag description: tag parameter in: path @@ -99639,9 +100637,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *705 examples: - default: *697 + default: *709 '404': *6 x-github: githubCloudOnly: false @@ -99663,9 +100661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *446 - - *447 - - &698 + - *458 + - *459 + - &710 name: release_id description: The unique identifier of the release. in: path @@ -99679,9 +100677,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: *693 + schema: *705 examples: - default: *697 + default: *709 '401': description: Unauthorized x-github: @@ -99699,9 +100697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *446 - - *447 - - *698 + - *458 + - *459 + - *710 requestBody: required: false content: @@ -99765,9 +100763,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *705 examples: - default: *697 + default: *709 '404': description: Not Found if the discussion category name is invalid content: @@ -99788,9 +100786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *446 - - *447 - - *698 + - *458 + - *459 + - *710 responses: '204': description: Response @@ -99810,9 +100808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *446 - - *447 - - *698 + - *458 + - *459 + - *710 - *17 - *19 responses: @@ -99822,7 +100820,7 @@ paths: application/json: schema: type: array - items: *694 + items: *706 examples: default: value: @@ -99904,9 +100902,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: - - *446 - - *447 - - *698 + - *458 + - *459 + - *710 - name: name in: query required: true @@ -99932,7 +100930,7 @@ paths: description: Response for successful upload content: application/json: - schema: *694 + schema: *706 examples: response-for-successful-upload: value: @@ -99987,9 +100985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *446 - - *447 - - *698 + - *458 + - *459 + - *710 - 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. @@ -100013,9 +101011,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 '404': *6 @@ -100036,9 +101034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *446 - - *447 - - *698 + - *458 + - *459 + - *710 requestBody: required: true content: @@ -100068,16 +101066,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '201': description: Reaction created content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '422': *15 x-github: githubCloudOnly: false @@ -100099,10 +101097,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *446 - - *447 - - *698 - - *438 + - *458 + - *459 + - *710 + - *450 responses: '204': description: Response @@ -100126,9 +101124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 - *17 - *19 responses: @@ -100144,8 +101142,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *142 - - &699 + - *152 + - &711 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -100165,68 +101163,68 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *143 - - *699 + - *153 + - *711 - allOf: - - *144 - - *699 + - *154 + - *711 - allOf: - - *145 - - *699 + - *155 + - *711 - allOf: - - *700 - - *699 + - *712 + - *711 - allOf: - - *146 - - *699 + - *156 + - *711 - allOf: - - *147 - - *699 + - *157 + - *711 - allOf: - - *148 - - *699 + - *158 + - *711 - allOf: - - *149 - - *699 + - *159 + - *711 - allOf: - - *150 - - *699 + - *160 + - *711 - allOf: - - *151 - - *699 + - *161 + - *711 - allOf: - - *152 - - *699 + - *162 + - *711 - allOf: - - *153 - - *699 + - *163 + - *711 - allOf: - - *154 - - *699 + - *164 + - *711 - allOf: - - *155 - - *699 + - *165 + - *711 - allOf: - - *156 - - *699 + - *166 + - *711 - allOf: - - *157 - - *699 + - *167 + - *711 - allOf: - - *158 - - *699 + - *168 + - *711 - allOf: - - *159 - - *699 + - *169 + - *711 - allOf: - - *160 - - *699 + - *170 + - *711 - allOf: - - *161 - - *699 + - *171 + - *711 - allOf: - - *701 - - *699 + - *713 + - *711 examples: default: value: @@ -100265,8 +101263,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 - name: includes_parents @@ -100277,7 +101275,7 @@ paths: schema: type: boolean default: true - - *702 + - *714 responses: '200': description: Response @@ -100285,7 +101283,7 @@ paths: application/json: schema: type: array - items: *162 + items: *172 examples: default: value: @@ -100332,8 +101330,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *458 + - *459 requestBody: description: Request body required: true @@ -100353,16 +101351,16 @@ paths: - tag - push default: branch - enforcement: *140 + enforcement: *150 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *136 + items: *151 + conditions: *146 rules: type: array description: An array of rules within the ruleset. - items: *703 + items: *715 required: - name - enforcement @@ -100393,9 +101391,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: &712 + default: &724 value: id: 42 name: super cool ruleset @@ -100442,12 +101440,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *446 - - *447 - - *704 - - *96 - - *705 - - *706 + - *458 + - *459 + - *716 + - *101 + - *717 + - *718 - *17 - *19 responses: @@ -100455,9 +101453,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *719 examples: - default: *708 + default: *720 '404': *6 '500': *40 x-github: @@ -100478,17 +101476,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *446 - - *447 - - *709 + - *458 + - *459 + - *721 responses: '200': description: Response content: application/json: - schema: *710 + schema: *722 examples: - default: *711 + default: *723 '404': *6 '500': *40 x-github: @@ -100516,8 +101514,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *458 + - *459 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100537,9 +101535,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: *712 + default: *724 '404': *6 '500': *40 put: @@ -100557,8 +101555,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *458 + - *459 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100583,16 +101581,16 @@ paths: - branch - tag - push - enforcement: *140 + enforcement: *150 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *136 + items: *151 + conditions: *146 rules: description: An array of rules within the ruleset. type: array - items: *703 + items: *715 examples: default: value: @@ -100620,9 +101618,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: *712 + default: *724 '404': *6 '500': *40 delete: @@ -100640,8 +101638,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *458 + - *459 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100664,8 +101662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 - name: ruleset_id @@ -100681,9 +101679,9 @@ paths: application/json: schema: type: array - items: *166 + items: *176 examples: - default: *398 + default: *410 '404': *6 '500': *40 x-github: @@ -100702,8 +101700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *446 - - *447 + - *458 + - *459 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100721,7 +101719,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *411 examples: default: value: @@ -100776,21 +101774,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: - - *446 - - *447 - - *400 - - *401 - - *402 - - *403 - - *101 + - *458 + - *459 + - *412 + - *413 + - *414 + - *415 + - *106 - *19 - *17 - - *713 - - *714 - - *404 - - *405 - - *406 - - *407 + - *725 + - *726 + - *416 + - *417 + - *418 + - *419 responses: '200': description: Response @@ -100798,11 +101796,11 @@ paths: application/json: schema: type: array - items: &718 + items: &730 type: object properties: - number: *113 - created_at: *120 + number: *123 + created_at: *130 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -100810,15 +101808,15 @@ paths: format: date-time readOnly: true nullable: true - url: *118 - html_url: *119 + url: *128 + html_url: *129 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *715 - resolution: *716 + state: *727 + resolution: *728 resolved_at: type: string format: date-time @@ -100914,7 +101912,7 @@ paths: pull request. ' - oneOf: *717 + oneOf: *729 nullable: true has_more_locations: type: boolean @@ -101041,7 +102039,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101063,16 +102061,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: - - *446 - - *447 - - *533 - - *407 + - *458 + - *459 + - *545 + - *419 responses: '200': description: Response content: application/json: - schema: *718 + schema: *730 examples: default: value: @@ -101103,7 +102101,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101124,9 +102122,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 requestBody: required: true content: @@ -101134,8 +102132,8 @@ paths: schema: type: object properties: - state: *715 - resolution: *716 + state: *727 + resolution: *728 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -101153,7 +102151,7 @@ paths: description: Response content: application/json: - schema: *718 + schema: *730 examples: default: value: @@ -101206,7 +102204,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -101228,9 +102226,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 - *19 - *17 responses: @@ -101241,7 +102239,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &899 + items: &910 type: object properties: type: @@ -101267,19 +102265,19 @@ paths: example: commit details: oneOf: - - *719 - - *720 - - *721 - - *722 - - *723 - - *724 - - *725 - - *726 - - *727 - - *728 - - *729 - - *730 - *731 + - *732 + - *733 + - *734 + - *735 + - *736 + - *737 + - *738 + - *739 + - *740 + - *741 + - *742 + - *743 examples: default: value: @@ -101343,7 +102341,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101365,8 +102363,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -101374,14 +102372,14 @@ paths: schema: type: object properties: - reason: &733 + reason: &745 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *732 + placeholder_id: *744 required: - reason - placeholder_id @@ -101398,7 +102396,7 @@ paths: schema: type: object properties: - reason: *733 + reason: *745 expire_at: type: string format: date-time @@ -101421,7 +102419,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -101433,6 +102431,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 @@ -101441,13 +102442,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: - - *446 - - *447 + - *458 + - *459 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *167 + '503': *177 '200': description: Response content: @@ -101457,7 +102458,7 @@ paths: properties: incremental_scans: type: array - items: &734 + items: &746 description: Information on a single scan performed by secret scanning on the repository type: object @@ -101483,15 +102484,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *734 + items: *746 backfill_scans: type: array - items: *734 + items: *746 custom_pattern_backfill_scans: type: array items: allOf: - - *734 + - *746 - type: object properties: pattern_name: @@ -101561,9 +102562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *446 - - *447 - - *101 + - *458 + - *459 + - *106 - name: sort description: The property to sort the results by. in: query @@ -101575,8 +102576,8 @@ paths: - updated - published default: created - - *99 - - *100 + - *104 + - *105 - 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)." @@ -101606,9 +102607,9 @@ paths: application/json: schema: type: array - items: *735 + items: *747 examples: - default: *736 + default: *748 '400': *14 '404': *6 x-github: @@ -101631,8 +102632,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -101705,7 +102706,7 @@ paths: login: type: string description: The username of the user credited. - type: *412 + type: *424 required: - login - type @@ -101792,9 +102793,9 @@ paths: description: Response content: application/json: - schema: *735 + schema: *747 examples: - default: &738 + default: &750 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -102027,8 +103028,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -102132,7 +103133,7 @@ paths: description: Response content: application/json: - schema: *735 + schema: *747 examples: default: value: @@ -102279,17 +103280,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: - - *446 - - *447 - - *737 + - *458 + - *459 + - *749 responses: '200': description: Response content: application/json: - schema: *735 + schema: *747 examples: - default: *738 + default: *750 '403': *29 '404': *6 x-github: @@ -102313,9 +103314,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: - - *446 - - *447 - - *737 + - *458 + - *459 + - *749 requestBody: required: true content: @@ -102388,7 +103389,7 @@ paths: login: type: string description: The username of the user credited. - type: *412 + type: *424 required: - login - type @@ -102474,17 +103475,17 @@ paths: description: Response content: application/json: - schema: *735 + schema: *747 examples: - default: *738 - add_credit: *738 + default: *750 + add_credit: *750 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *232 + schema: *244 examples: invalid_state_transition: value: @@ -102515,9 +103516,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: - - *446 - - *447 - - *737 + - *458 + - *459 + - *749 responses: '202': *39 '400': *14 @@ -102544,17 +103545,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: - - *446 - - *447 - - *737 + - *458 + - *459 + - *749 responses: '202': description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: *461 + default: *473 '400': *14 '422': *15 '403': *29 @@ -102580,8 +103581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -102680,8 +103681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -102690,7 +103691,7 @@ paths: application/json: schema: type: array - items: &739 + items: &751 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -102703,7 +103704,7 @@ paths: - 1124 - -435 '202': *39 - '204': *133 + '204': *143 '422': description: Repository contains more than 10,000 commits x-github: @@ -102723,8 +103724,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -102773,7 +103774,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *133 + '204': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102800,8 +103801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -102875,7 +103876,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *133 + '204': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102897,8 +103898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -103052,8 +104053,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -103063,7 +104064,7 @@ paths: application/json: schema: type: array - items: *739 + items: *751 examples: default: value: @@ -103076,7 +104077,7 @@ paths: - - 0 - 2 - 21 - '204': *133 + '204': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103096,8 +104097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *446 - - *447 + - *458 + - *459 - name: sha in: path required: true @@ -103151,7 +104152,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *752 examples: default: value: @@ -103205,8 +104206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -103218,7 +104219,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 x-github: @@ -103238,14 +104239,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &741 + schema: &753 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -103313,8 +104314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: false content: @@ -103340,7 +104341,7 @@ paths: description: Response content: application/json: - schema: *741 + schema: *753 examples: default: value: @@ -103367,8 +104368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -103388,8 +104389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -103468,8 +104469,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -103477,7 +104478,7 @@ paths: application/json: schema: type: array - items: &742 + items: &754 title: Tag protection description: Tag protection type: object @@ -103529,8 +104530,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -103553,7 +104554,7 @@ paths: description: Response content: application/json: - schema: *742 + schema: *754 examples: default: value: @@ -103584,8 +104585,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: - - *446 - - *447 + - *458 + - *459 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -103622,8 +104623,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *446 - - *447 + - *458 + - *459 - name: ref in: path required: true @@ -103659,8 +104660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -103670,9 +104671,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: *357 + default: *369 headers: Link: *43 '404': *6 @@ -103692,8 +104693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *446 - - *447 + - *458 + - *459 - *19 - *17 responses: @@ -103701,7 +104702,7 @@ paths: description: Response content: application/json: - schema: &743 + schema: &755 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -103713,7 +104714,7 @@ paths: required: - names examples: - default: &744 + default: &756 value: names: - octocat @@ -103736,8 +104737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -103768,9 +104769,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *755 examples: - default: *744 + default: *756 '404': *6 '422': *7 x-github: @@ -103791,9 +104792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *446 - - *447 - - &745 + - *458 + - *459 + - &757 name: per description: The time frame to display results for. in: query @@ -103822,7 +104823,7 @@ paths: example: 128 clones: type: array - items: &746 + items: &758 title: Traffic type: object properties: @@ -103909,8 +104910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -104000,8 +105001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -104061,9 +105062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *446 - - *447 - - *745 + - *458 + - *459 + - *757 responses: '200': description: Response @@ -104082,7 +105083,7 @@ paths: example: 3782 views: type: array - items: *746 + items: *758 required: - uniques - count @@ -104159,8 +105160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -104196,7 +105197,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *269 examples: default: value: @@ -104434,8 +105435,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -104458,8 +105459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -104481,8 +105482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -104508,8 +105509,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *446 - - *447 + - *458 + - *459 - name: ref in: path required: true @@ -104601,9 +105602,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: *461 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104644,7 +105645,7 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: default: value: @@ -104754,7 +105755,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &754 + - &766 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -104763,7 +105764,7 @@ paths: schema: type: string example: members - - &759 + - &771 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -104774,7 +105775,7 @@ paths: default: 1 format: int32 example: 1 - - &760 + - &772 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -104816,7 +105817,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &749 + items: &761 allOf: - type: object required: @@ -104891,7 +105892,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: &761 + meta: &773 type: object description: The metadata associated with the creation/updates to the user. @@ -104951,30 +105952,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &750 + '400': &762 description: Bad request content: application/json: - schema: *747 + schema: *759 application/scim+json: - schema: *747 - '401': *748 - '403': &751 + schema: *759 + '401': *760 + '403': &763 description: Permission denied - '429': &752 + '429': &764 description: Too many requests content: application/json: - schema: *747 + schema: *759 application/scim+json: - schema: *747 - '500': &753 + schema: *759 + '500': &765 description: Internal server error content: application/json: - schema: *747 + schema: *759 application/scim+json: - schema: *747 + schema: *759 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104998,7 +105999,7 @@ paths: required: true content: application/json: - schema: &757 + schema: &769 type: object required: - schemas @@ -105058,9 +106059,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *749 + schema: *761 examples: - group: &755 + group: &767 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -105079,13 +106080,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': *750 - '401': *748 - '403': *751 - '409': &758 + '400': *762 + '401': *760 + '403': *763 + '409': &770 description: Duplicate record detected - '429': *752 - '500': *753 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105102,7 +106103,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: - - &756 + - &768 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -105110,22 +106111,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *754 + - *766 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *749 + schema: *761 examples: - default: *755 - '400': *750 - '401': *748 - '403': *751 + default: *767 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '429': *752 - '500': *753 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105144,13 +106145,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: - - *756 + - *768 - *41 requestBody: required: true content: application/json: - schema: *757 + schema: *769 examples: group: summary: Group @@ -105176,17 +106177,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *749 + schema: *761 examples: - group: *755 - groupWithMembers: *755 - '400': *750 - '401': *748 - '403': *751 + group: *767 + groupWithMembers: *767 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *770 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105210,13 +106211,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: - - *756 + - *768 - *41 requestBody: required: true content: application/json: - schema: &768 + schema: &780 type: object required: - Operations @@ -105276,17 +106277,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *749 + schema: *761 examples: - updateGroup: *755 - addMembers: *755 - '400': *750 - '401': *748 - '403': *751 + updateGroup: *767 + addMembers: *767 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *770 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105302,17 +106303,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: - - *756 + - *768 - *41 responses: '204': description: Group was deleted, no content - '400': *750 - '401': *748 - '403': *751 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '429': *752 - '500': *753 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105346,8 +106347,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *759 - - *760 + - *771 + - *772 - *41 responses: '200': @@ -105380,7 +106381,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &763 + items: &775 allOf: - type: object required: @@ -105459,7 +106460,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &762 + roles: &774 type: array description: The roles assigned to the user. items: @@ -105515,7 +106516,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *761 + meta: *773 startIndex: type: integer description: A starting index for the returned page @@ -105552,11 +106553,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *750 - '401': *748 - '403': *751 - '429': *752 - '500': *753 + '400': *762 + '401': *760 + '403': *763 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105580,7 +106581,7 @@ paths: required: true content: application/json: - schema: &766 + schema: &778 type: object required: - schemas @@ -105662,9 +106663,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *762 + roles: *774 examples: - user: &767 + user: &779 summary: User value: schemas: @@ -105711,9 +106712,9 @@ paths: description: User has been created content: application/scim+json: - schema: *763 + schema: *775 examples: - user: &764 + user: &776 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -105739,13 +106740,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: *764 - '400': *750 - '401': *748 - '403': *751 - '409': *758 - '429': *752 - '500': *753 + enterpriseOwner: *776 + '400': *762 + '401': *760 + '403': *763 + '409': *770 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105762,7 +106763,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: - - &765 + - &777 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -105775,15 +106776,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *763 + schema: *775 examples: - default: *764 - '400': *750 - '401': *748 - '403': *751 + default: *776 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '429': *752 - '500': *753 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105805,30 +106806,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: - - *765 + - *777 - *41 requestBody: required: true content: application/json: - schema: *766 + schema: *778 examples: - user: *767 + user: *779 responses: '200': description: User was updated content: application/scim+json: - schema: *763 + schema: *775 examples: - user: *764 - '400': *750 - '401': *748 - '403': *751 + user: *776 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *770 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105863,13 +106864,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: - - *765 + - *777 - *41 requestBody: required: true content: application/json: - schema: *768 + schema: *780 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -105909,18 +106910,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *763 + schema: *775 examples: - userMultiValuedProperties: *764 - userSingleValuedProperties: *764 - disableUser: *764 - '400': *750 - '401': *748 - '403': *751 + userMultiValuedProperties: *776 + userSingleValuedProperties: *776 + disableUser: *776 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *770 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105940,17 +106941,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: - - *765 + - *777 - *41 responses: '204': description: User was deleted, no content - '400': *750 - '401': *748 - '403': *751 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '429': *752 - '500': *753 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105983,7 +106984,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *78 + - *83 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -106037,7 +107038,7 @@ paths: example: 1 Resources: type: array - items: &769 + items: &781 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -106268,22 +107269,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &770 + '404': &782 description: Resource not found content: application/json: - schema: *747 + schema: *759 application/scim+json: - schema: *747 - '403': &771 + schema: *759 + '403': &783 description: Forbidden content: application/json: - schema: *747 + schema: *759 application/scim+json: - schema: *747 - '400': *750 - '429': *752 + schema: *759 + '400': *762 + '429': *764 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -106303,15 +107304,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *78 + - *83 responses: '201': description: Response content: application/scim+json: - schema: *769 + schema: *781 examples: - default: &772 + default: &784 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106334,17 +107335,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *770 - '403': *771 - '500': *753 + '404': *782 + '403': *783 + '500': *765 '409': description: Conflict content: application/json: - schema: *747 + schema: *759 application/scim+json: - schema: *747 - '400': *750 + schema: *759 + '400': *762 requestBody: required: true content: @@ -106441,18 +107442,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: - - *78 - - *765 + - *83 + - *777 responses: '200': description: Response content: application/scim+json: - schema: *769 + schema: *781 examples: - default: *772 - '404': *770 - '403': *771 + default: *784 + '404': *782 + '403': *783 '304': *37 x-github: githubCloudOnly: true @@ -106475,19 +107476,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *78 - - *765 + - *83 + - *777 responses: '200': description: Response content: application/scim+json: - schema: *769 + schema: *781 examples: - default: *772 + default: *784 '304': *37 - '404': *770 - '403': *771 + '404': *782 + '403': *783 requestBody: required: true content: @@ -106599,20 +107600,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: - - *78 - - *765 + - *83 + - *777 responses: '200': description: Response content: application/scim+json: - schema: *769 + schema: *781 examples: - default: *772 + default: *784 '304': *37 - '404': *770 - '403': *771 - '400': *750 + '404': *782 + '403': *783 + '400': *762 '429': description: Response content: @@ -106702,13 +107703,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: - - *78 - - *765 + - *83 + - *777 responses: '204': description: Response - '404': *770 - '403': *771 + '404': *782 + '403': *783 '304': *37 x-github: githubCloudOnly: true @@ -106823,7 +107824,7 @@ paths: html_url: type: string format: uri - repository: *255 + repository: *269 score: type: number file_size: @@ -106841,7 +107842,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &773 + text_matches: &785 title: Search Result Text Matches type: array items: @@ -106955,7 +107956,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *167 + '503': *177 '422': *15 '403': *29 x-github: @@ -107004,7 +108005,7 @@ paths: enum: - author-date - committer-date - - &774 + - &786 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 @@ -107075,7 +108076,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *503 + properties: *515 nullable: true comment_count: type: integer @@ -107095,7 +108096,7 @@ paths: url: type: string format: uri - verification: *624 + verification: *636 required: - author - committer @@ -107114,7 +108115,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *503 + properties: *515 nullable: true parents: type: array @@ -107127,12 +108128,12 @@ paths: type: string sha: type: string - repository: *255 + repository: *269 score: type: number node_id: type: string - text_matches: *773 + text_matches: *785 required: - sha - node_id @@ -107325,7 +108326,7 @@ paths: - interactions - created - updated - - *774 + - *786 - *17 - *19 - name: advanced_search @@ -107422,11 +108423,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: type: string state_reason: @@ -107443,8 +108444,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *392 + required: *393 nullable: true comments: type: integer @@ -107458,7 +108459,7 @@ paths: type: string format: date-time nullable: true - text_matches: *773 + text_matches: *785 pull_request: type: object properties: @@ -107491,10 +108492,10 @@ paths: type: string score: type: number - author_association: *190 + author_association: *201 draft: type: boolean - repository: *69 + repository: *74 body_html: type: string body_text: @@ -107502,7 +108503,7 @@ paths: timeline_url: type: string format: uri - type: *342 + type: *354 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -107512,9 +108513,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - reactions: *191 + properties: *197 + required: *198 + reactions: *202 required: - assignee - closed_at @@ -107630,7 +108631,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *167 + '503': *177 '422': *15 '304': *37 '403': *29 @@ -107683,7 +108684,7 @@ paths: enum: - created - updated - - *774 + - *786 - *17 - *19 responses: @@ -107727,7 +108728,7 @@ paths: nullable: true score: type: number - text_matches: *773 + text_matches: *785 required: - id - node_id @@ -107813,7 +108814,7 @@ paths: - forks - help-wanted-issues - updated - - *774 + - *786 - *17 - *19 responses: @@ -108032,8 +109033,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true permissions: type: object @@ -108052,7 +109053,7 @@ paths: - admin - pull - push - text_matches: *773 + text_matches: *785 temp_clone_token: type: string allow_merge_commit: @@ -108254,7 +109255,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *167 + '503': *177 '422': *15 '304': *37 x-github: @@ -108353,7 +109354,7 @@ paths: type: string format: uri nullable: true - text_matches: *773 + text_matches: *785 related: type: array nullable: true @@ -108546,7 +109547,7 @@ paths: - followers - repositories - joined - - *774 + - *786 - *17 - *19 responses: @@ -108650,7 +109651,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *773 + text_matches: *785 blog: type: string nullable: true @@ -108709,7 +109710,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *167 + '503': *177 '422': *15 x-github: githubCloudOnly: false @@ -108729,7 +109730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &778 + - &790 name: team_id description: The unique identifier of the team. in: path @@ -108741,9 +109742,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *439 examples: - default: *428 + default: *440 '404': *6 x-github: githubCloudOnly: false @@ -108770,7 +109771,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *778 + - *790 requestBody: required: true content: @@ -108833,16 +109834,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *427 + schema: *439 examples: - default: *428 + default: *440 '201': description: Response content: application/json: - schema: *427 + schema: *439 examples: - default: *428 + default: *440 '404': *6 '422': *15 '403': *29 @@ -108870,7 +109871,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *778 + - *790 responses: '204': description: Response @@ -108901,8 +109902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *778 - - *101 + - *790 + - *106 - *17 - *19 responses: @@ -108912,9 +109913,9 @@ paths: application/json: schema: type: array - items: *429 + items: *441 examples: - default: *779 + default: *791 headers: Link: *43 x-github: @@ -108943,7 +109944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *778 + - *790 requestBody: required: true content: @@ -108977,9 +109978,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *441 examples: - default: *430 + default: *442 x-github: triggersNotification: true githubCloudOnly: false @@ -109006,16 +110007,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *778 - - *431 + - *790 + - *443 responses: '200': description: Response content: application/json: - schema: *429 + schema: *441 examples: - default: *430 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109040,8 +110041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *778 - - *431 + - *790 + - *443 requestBody: required: false content: @@ -109064,9 +110065,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *441 examples: - default: *780 + default: *792 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109091,8 +110092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *778 - - *431 + - *790 + - *443 responses: '204': description: Response @@ -109121,9 +110122,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *778 - - *431 - - *101 + - *790 + - *443 + - *106 - *17 - *19 responses: @@ -109133,9 +110134,9 @@ paths: application/json: schema: type: array - items: *432 + items: *444 examples: - default: *781 + default: *793 headers: Link: *43 x-github: @@ -109164,8 +110165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *778 - - *431 + - *790 + - *443 requestBody: required: true content: @@ -109187,9 +110188,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: *433 + default: *445 x-github: triggersNotification: true githubCloudOnly: false @@ -109216,17 +110217,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *778 - - *431 - - *434 + - *790 + - *443 + - *446 responses: '200': description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: *433 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109251,9 +110252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *778 - - *431 - - *434 + - *790 + - *443 + - *446 requestBody: required: true content: @@ -109275,9 +110276,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: *782 + default: *794 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109302,9 +110303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *778 - - *431 - - *434 + - *790 + - *443 + - *446 responses: '204': description: Response @@ -109333,9 +110334,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: - - *778 - - *431 - - *434 + - *790 + - *443 + - *446 - 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. @@ -109361,9 +110362,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 x-github: @@ -109392,9 +110393,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: - - *778 - - *431 - - *434 + - *790 + - *443 + - *446 requestBody: required: true content: @@ -109426,9 +110427,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109454,8 +110455,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: - - *778 - - *431 + - *790 + - *443 - 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. @@ -109481,9 +110482,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 x-github: @@ -109512,8 +110513,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: - - *778 - - *431 + - *790 + - *443 requestBody: required: true content: @@ -109545,9 +110546,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109571,7 +110572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *778 + - *790 - *17 - *19 responses: @@ -109581,9 +110582,9 @@ paths: application/json: schema: type: array - items: *339 + items: *351 examples: - default: *340 + default: *352 headers: Link: *43 x-github: @@ -109609,7 +110610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *778 + - *790 - name: role description: Filters members returned by their role in the team. in: query @@ -109632,7 +110633,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 '404': *6 @@ -109660,8 +110661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *778 - - *182 + - *790 + - *192 responses: '204': description: if user is a member @@ -109697,8 +110698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *778 - - *182 + - *790 + - *192 responses: '204': description: Response @@ -109737,8 +110738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *778 - - *182 + - *790 + - *192 responses: '204': description: Response @@ -109774,16 +110775,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: - - *778 - - *182 + - *790 + - *192 responses: '200': description: Response content: application/json: - schema: *443 + schema: *455 examples: - response-if-user-is-a-team-maintainer: *783 + response-if-user-is-a-team-maintainer: *795 '404': *6 x-github: githubCloudOnly: false @@ -109816,8 +110817,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: - - *778 - - *182 + - *790 + - *192 requestBody: required: false content: @@ -109842,9 +110843,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *455 examples: - response-if-users-membership-with-team-is-now-pending: *784 + response-if-users-membership-with-team-is-now-pending: *796 '403': description: Forbidden if team synchronization is set up '422': @@ -109878,8 +110879,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: - - *778 - - *182 + - *790 + - *192 responses: '204': description: Response @@ -109907,7 +110908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *778 + - *790 - *17 - *19 responses: @@ -109917,9 +110918,9 @@ paths: application/json: schema: type: array - items: *444 + items: *456 examples: - default: *785 + default: *797 headers: Link: *43 '404': *6 @@ -109945,16 +110946,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: - - *778 - - *445 + - *790 + - *457 responses: '200': description: Response content: application/json: - schema: *444 + schema: *456 examples: - default: *786 + default: *798 '404': description: Not Found if project is not managed by this team x-github: @@ -109978,8 +110979,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: - - *778 - - *445 + - *790 + - *457 requestBody: required: false content: @@ -110046,8 +111047,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: - - *778 - - *445 + - *790 + - *457 responses: '204': description: Response @@ -110074,7 +111075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *778 + - *790 - *17 - *19 responses: @@ -110084,9 +111085,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 '404': *6 @@ -110116,15 +111117,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: - - *778 - - *446 - - *447 + - *790 + - *458 + - *459 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *787 + schema: *799 examples: alternative-response-with-extra-repository-information: value: @@ -110275,9 +111276,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: - - *778 - - *446 - - *447 + - *790 + - *458 + - *459 requestBody: required: false content: @@ -110327,9 +111328,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: - - *778 - - *446 - - *447 + - *790 + - *458 + - *459 responses: '204': description: Response @@ -110358,15 +111359,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: - - *778 + - *790 responses: '200': description: Response content: application/json: - schema: *448 + schema: *460 examples: - default: *449 + default: *461 '403': *29 '404': *6 x-github: @@ -110393,7 +111394,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: - - *778 + - *790 requestBody: required: true content: @@ -110450,7 +111451,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *460 examples: default: value: @@ -110481,7 +111482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *778 + - *790 - *17 - *19 responses: @@ -110491,9 +111492,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - response-if-child-teams-exist: *788 + response-if-child-teams-exist: *800 headers: Link: *43 '404': *6 @@ -110526,7 +111527,7 @@ paths: application/json: schema: oneOf: - - &790 + - &802 title: Private User description: Private User type: object @@ -110729,7 +111730,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *789 + - *801 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -110882,7 +111883,7 @@ paths: description: Response content: application/json: - schema: *790 + schema: *802 examples: default: value: @@ -110961,7 +111962,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 '304': *37 '404': *6 '403': *29 @@ -110984,7 +111985,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: - - *182 + - *192 responses: '204': description: If the user is blocked @@ -111012,7 +112013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *182 + - *192 responses: '204': description: Response @@ -111036,7 +112037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *182 + - *192 responses: '204': description: Response @@ -111085,9 +112086,9 @@ paths: type: integer codespaces: type: array - items: *347 + items: *359 examples: - default: *348 + default: *360 '304': *37 '500': *40 '401': *25 @@ -111226,21 +112227,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '401': *25 '403': *29 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111280,7 +112281,7 @@ paths: type: integer secrets: type: array - items: &791 + items: &803 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -111320,7 +112321,7 @@ paths: - visibility - selected_repositories_url examples: - default: *556 + default: *568 headers: Link: *43 x-github: @@ -111390,13 +112391,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: - - *265 + - *279 responses: '200': description: Response content: application/json: - schema: *791 + schema: *803 examples: default: value: @@ -111426,7 +112427,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: - - *265 + - *279 requestBody: required: true content: @@ -111471,7 +112472,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -111499,7 +112500,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: - - *265 + - *279 responses: '204': description: Response @@ -111524,7 +112525,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: - - *265 + - *279 responses: '200': description: Response @@ -111540,9 +112541,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *269 examples: - default: *792 + default: *804 '401': *25 '403': *29 '404': *6 @@ -111567,7 +112568,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: - - *265 + - *279 requestBody: required: true content: @@ -111621,7 +112622,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: - - *265 + - *279 - name: repository_id in: path required: true @@ -111654,7 +112655,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: - - *265 + - *279 - name: repository_id in: path required: true @@ -111686,15 +112687,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: - - *349 + - *361 responses: '200': description: Response content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '304': *37 '500': *40 '401': *25 @@ -111720,7 +112721,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: - - *349 + - *361 requestBody: required: false content: @@ -111750,9 +112751,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '401': *25 '403': *29 '404': *6 @@ -111774,7 +112775,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: - - *349 + - *361 responses: '202': *39 '304': *37 @@ -111803,13 +112804,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: - - *349 + - *361 responses: '202': description: Response content: application/json: - schema: &793 + schema: &805 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -111850,7 +112851,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &794 + default: &806 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -111882,7 +112883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *349 + - *361 - name: export_id in: path required: true @@ -111895,9 +112896,9 @@ paths: description: Response content: application/json: - schema: *793 + schema: *805 examples: - default: *794 + default: *806 '404': *6 x-github: githubCloudOnly: false @@ -111918,7 +112919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *349 + - *361 responses: '200': description: Response @@ -111934,9 +112935,9 @@ paths: type: integer machines: type: array - items: *795 + items: *807 examples: - default: *796 + default: *808 '304': *37 '500': *40 '401': *25 @@ -111965,7 +112966,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: - - *349 + - *361 requestBody: required: true content: @@ -112015,13 +113016,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *459 + repository: *471 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *554 - required: *555 + properties: *566 + required: *567 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -112795,15 +113796,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: - - *349 + - *361 responses: '200': description: Response content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '304': *37 '500': *40 '400': *14 @@ -112815,7 +113816,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112835,15 +113836,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: - - *349 + - *361 responses: '200': description: Response content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '500': *40 '401': *25 '403': *29 @@ -112873,9 +113874,9 @@ paths: application/json: schema: type: array - items: *358 + items: *370 examples: - default: &808 + default: &819 value: - id: 197 name: hello_docker @@ -112976,7 +113977,7 @@ paths: application/json: schema: type: array - items: &797 + items: &809 title: Email description: Email type: object @@ -113041,9 +114042,9 @@ paths: application/json: schema: type: array - items: *797 + items: *809 examples: - default: &810 + default: &821 value: - email: octocat@github.com verified: true @@ -113118,7 +114119,7 @@ paths: application/json: schema: type: array - items: *797 + items: *809 examples: default: value: @@ -113228,7 +114229,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 '304': *37 @@ -113261,7 +114262,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 '304': *37 @@ -113283,7 +114284,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: - - *182 + - *192 responses: '204': description: if the person is followed by the authenticated user @@ -113313,7 +114314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *182 + - *192 responses: '204': description: Response @@ -113338,7 +114339,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *182 + - *192 responses: '204': description: Response @@ -113374,7 +114375,7 @@ paths: application/json: schema: type: array - items: &798 + items: &810 title: GPG Key description: A unique encryption key type: object @@ -113505,7 +114506,7 @@ paths: - subkeys - revoked examples: - default: &824 + default: &835 value: - id: 3 name: Octocat's GPG Key @@ -113590,9 +114591,9 @@ paths: description: Response content: application/json: - schema: *798 + schema: *810 examples: - default: &799 + default: &811 value: id: 3 name: Octocat's GPG Key @@ -113649,7 +114650,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: - - &800 + - &812 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -113661,9 +114662,9 @@ paths: description: Response content: application/json: - schema: *798 + schema: *810 examples: - default: *799 + default: *811 '404': *6 '304': *37 '403': *29 @@ -113686,7 +114687,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: - - *800 + - *812 responses: '204': description: Response @@ -113875,9 +114876,9 @@ paths: type: string repositories: type: array - items: *69 + items: *74 examples: - default: *250 + default: *264 headers: Link: *43 '404': *6 @@ -113902,7 +114903,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *249 + - *263 responses: '204': description: Response @@ -113928,7 +114929,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *249 + - *263 responses: '204': description: Response @@ -113962,12 +114963,12 @@ paths: application/json: schema: anyOf: - - *337 + - *349 - type: object properties: {} additionalProperties: false examples: - default: *338 + default: *350 '204': description: Response when there are no restrictions x-github: @@ -113991,7 +114992,7 @@ paths: required: true content: application/json: - schema: *635 + schema: *647 examples: default: value: @@ -114002,7 +115003,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *349 examples: default: value: @@ -114083,7 +115084,7 @@ paths: - closed - all default: open - - *345 + - *357 - name: sort description: What to sort results by. in: query @@ -114095,8 +115096,8 @@ paths: - updated - comments default: created - - *101 - - *196 + - *106 + - *207 - *17 - *19 responses: @@ -114106,9 +115107,9 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: *346 + default: *358 headers: Link: *43 '404': *6 @@ -114141,7 +115142,7 @@ paths: application/json: schema: type: array - items: &801 + items: &813 title: Key description: Key type: object @@ -114242,9 +115243,9 @@ paths: description: Response content: application/json: - schema: *801 + schema: *813 examples: - default: &802 + default: &814 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114277,15 +115278,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: - - *663 + - *675 responses: '200': description: Response content: application/json: - schema: *801 + schema: *813 examples: - default: *802 + default: *814 '404': *6 '304': *37 '403': *29 @@ -114308,7 +115309,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: - - *663 + - *675 responses: '204': description: Response @@ -114341,7 +115342,7 @@ paths: application/json: schema: type: array - items: &803 + items: &815 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -114398,7 +115399,7 @@ paths: - id - type - login - plan: *207 + plan: *218 required: - billing_cycle - next_billing_date @@ -114409,7 +115410,7 @@ paths: - account - plan examples: - default: &804 + default: &816 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -114471,9 +115472,9 @@ paths: application/json: schema: type: array - items: *803 + items: *815 examples: - default: *804 + default: *816 headers: Link: *43 '304': *37 @@ -114513,7 +115514,7 @@ paths: application/json: schema: type: array - items: *350 + items: *362 examples: default: value: @@ -114615,13 +115616,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *350 + schema: *362 examples: default: value: @@ -114679,7 +115680,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: - - *78 + - *83 requestBody: required: true content: @@ -114704,7 +115705,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *362 examples: default: value: @@ -114772,7 +115773,7 @@ paths: application/json: schema: type: array - items: *352 + items: *364 examples: default: value: @@ -115025,7 +116026,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *364 examples: default: value: @@ -115205,7 +116206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *353 + - *365 - name: exclude in: query required: false @@ -115218,7 +116219,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *364 examples: default: value: @@ -115412,7 +116413,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *353 + - *365 responses: '302': description: Response @@ -115438,7 +116439,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *353 + - *365 responses: '204': description: Response @@ -115467,8 +116468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *353 - - *805 + - *365 + - *817 responses: '204': description: Response @@ -115492,7 +116493,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *353 + - *365 - *17 - *19 responses: @@ -115502,9 +116503,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 '404': *6 @@ -115539,9 +116540,9 @@ paths: application/json: schema: type: array - items: *64 + items: *69 examples: - default: *806 + default: *231 headers: Link: *43 '304': *37 @@ -115583,7 +116584,7 @@ paths: - docker - nuget - container - - *807 + - *818 - *19 - *17 responses: @@ -115593,10 +116594,10 @@ paths: application/json: schema: type: array - items: *358 + items: *370 examples: - default: *808 - '400': *809 + default: *819 + '400': *820 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115616,16 +116617,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: - - *360 - - *361 + - *372 + - *373 responses: '200': description: Response content: application/json: - schema: *358 + schema: *370 examples: - default: &825 + default: &836 value: id: 40201 name: octo-name @@ -115738,8 +116739,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: - - *360 - - *361 + - *372 + - *373 responses: '204': description: Response @@ -115769,8 +116770,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: - - *360 - - *361 + - *372 + - *373 - name: token description: package token schema: @@ -115802,8 +116803,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: - - *360 - - *361 + - *372 + - *373 - *19 - *17 - name: state @@ -115823,7 +116824,7 @@ paths: application/json: schema: type: array - items: *362 + items: *374 examples: default: value: @@ -115872,15 +116873,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: - - *360 - - *361 - - *363 + - *372 + - *373 + - *375 responses: '200': description: Response content: application/json: - schema: *362 + schema: *374 examples: default: value: @@ -115916,9 +116917,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: - - *360 - - *361 - - *363 + - *372 + - *373 + - *375 responses: '204': description: Response @@ -115948,9 +116949,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: - - *360 - - *361 - - *363 + - *372 + - *373 + - *375 responses: '204': description: Response @@ -116006,7 +117007,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *386 examples: default: value: @@ -116078,9 +117079,9 @@ paths: application/json: schema: type: array - items: *797 + items: *809 examples: - default: *810 + default: *821 headers: Link: *43 '304': *37 @@ -116191,9 +117192,9 @@ paths: application/json: schema: type: array - items: *69 + items: *74 examples: - default: &817 + default: &828 summary: Default response value: - id: 1296269 @@ -116497,9 +117498,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: *461 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -116537,9 +117538,9 @@ paths: application/json: schema: type: array - items: *637 + items: *649 examples: - default: *811 + default: *822 headers: Link: *43 '304': *37 @@ -116562,12 +117563,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *341 + - *353 responses: '204': description: Response '403': *29 - '409': *109 + '409': *114 '404': *6 '304': *37 x-github: @@ -116585,11 +117586,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *341 + - *353 responses: '204': description: Response - '409': *109 + '409': *114 '304': *37 '404': *6 '403': *29 @@ -116618,7 +117619,7 @@ paths: application/json: schema: type: array - items: &812 + items: &823 title: Social account description: Social media account type: object @@ -116633,7 +117634,7 @@ paths: - provider - url examples: - default: &813 + default: &824 value: - provider: twitter url: https://twitter.com/github @@ -116695,9 +117696,9 @@ paths: application/json: schema: type: array - items: *812 + items: *823 examples: - default: *813 + default: *824 '422': *15 '304': *37 '404': *6 @@ -116784,7 +117785,7 @@ paths: application/json: schema: type: array - items: &814 + items: &825 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -116804,7 +117805,7 @@ paths: - title - created_at examples: - default: &828 + default: &839 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116870,9 +117871,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *825 examples: - default: &815 + default: &826 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116903,7 +117904,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: - - &816 + - &827 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -116915,9 +117916,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *825 examples: - default: *815 + default: *826 '404': *6 '304': *37 '403': *29 @@ -116940,7 +117941,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: - - *816 + - *827 responses: '204': description: Response @@ -116969,7 +117970,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: - - &829 + - &840 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 @@ -116982,7 +117983,7 @@ paths: - created - updated default: created - - *101 + - *106 - *17 - *19 responses: @@ -116992,13 +117993,13 @@ paths: application/json: schema: type: array - items: *69 + items: *74 examples: - default-response: *817 + default-response: *828 application/vnd.github.v3.star+json: schema: type: array - items: &830 + items: &841 title: Starred Repository description: Starred Repository type: object @@ -117006,7 +118007,7 @@ paths: starred_at: type: string format: date-time - repo: *69 + repo: *74 required: - starred_at - repo @@ -117154,8 +118155,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response if this repository is starred by you @@ -117183,8 +118184,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -117208,8 +118209,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -117242,9 +118243,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 '304': *37 @@ -117281,7 +118282,7 @@ paths: application/json: schema: type: array - items: *427 + items: *439 examples: default: value: @@ -117359,7 +118360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *209 + - *220 responses: '200': description: Response @@ -117367,10 +118368,10 @@ paths: application/json: schema: oneOf: - - *790 - - *789 + - *802 + - *801 examples: - default-response: &819 + default-response: &830 summary: Default response value: login: octocat @@ -117405,7 +118406,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &820 + response-with-git-hub-plan-information: &831 summary: Response with GitHub plan information value: login: octocat @@ -117465,7 +118466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *818 + - *829 - *17 responses: '200': @@ -117476,7 +118477,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: example: ; rel="next" @@ -117506,7 +118507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *182 + - *192 responses: '200': description: Response @@ -117514,11 +118515,11 @@ paths: application/json: schema: oneOf: - - *790 - - *789 + - *802 + - *801 examples: - default-response: *819 - response-with-git-hub-plan-information: *820 + default-response: *830 + response-with-git-hub-plan-information: *831 '404': *6 x-github: githubCloudOnly: false @@ -117542,9 +118543,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *99 - - *100 - - *182 + - *104 + - *105 + - *192 requestBody: required: true content: @@ -117567,8 +118568,8 @@ paths: required: - subject_digests examples: - default: *821 - withPredicateType: *822 + default: *832 + withPredicateType: *833 responses: '200': description: Response @@ -117621,7 +118622,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *823 + default: *834 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117639,7 +118640,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *182 + - *192 requestBody: required: true content: @@ -117704,7 +118705,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *182 + - *192 - name: subject_digest description: Subject Digest in: path @@ -117735,7 +118736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *182 + - *192 - name: attestation_id description: Attestation ID in: path @@ -117771,9 +118772,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *99 - - *100 - - *182 + - *104 + - *105 + - *192 - name: subject_digest description: Subject Digest in: path @@ -117825,12 +118826,12 @@ paths: initiator: type: string examples: - default: *499 + default: *511 '201': description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -117856,7 +118857,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: - - *182 + - *192 responses: '200': description: Response @@ -117864,9 +118865,9 @@ paths: application/json: schema: type: array - items: *358 + items: *370 examples: - default: *808 + default: *819 '403': *29 '401': *25 x-github: @@ -117889,7 +118890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *182 + - *192 - *17 - *19 responses: @@ -117899,7 +118900,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -117961,8 +118962,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: - - *182 - - *78 + - *192 + - *83 - *17 - *19 responses: @@ -117972,7 +118973,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -118049,7 +119050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *182 + - *192 - *17 - *19 responses: @@ -118059,7 +119060,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -118117,7 +119118,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *182 + - *192 - *17 - *19 responses: @@ -118129,7 +119130,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 x-github: @@ -118148,7 +119149,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *182 + - *192 - *17 - *19 responses: @@ -118160,7 +119161,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 x-github: @@ -118179,7 +119180,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: - - *182 + - *192 - name: target_user in: path required: true @@ -118206,8 +119207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *182 - - *196 + - *192 + - *207 - *17 - *19 responses: @@ -118217,9 +119218,9 @@ paths: application/json: schema: type: array - items: *197 + items: *208 examples: - default: *198 + default: *209 headers: Link: *43 '422': *15 @@ -118240,7 +119241,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: - - *182 + - *192 - *17 - *19 responses: @@ -118250,9 +119251,9 @@ paths: application/json: schema: type: array - items: *798 + items: *810 examples: - default: *824 + default: *835 headers: Link: *43 x-github: @@ -118276,7 +119277,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *182 + - *192 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -118348,7 +119349,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: - - *182 + - *192 responses: '200': description: Response @@ -118356,7 +119357,7 @@ paths: application/json: schema: *22 examples: - default: *634 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118374,7 +119375,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *182 + - *192 - *17 - *19 responses: @@ -118429,7 +119430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *182 + - *192 - *17 - *19 responses: @@ -118439,9 +119440,9 @@ paths: application/json: schema: type: array - items: *64 + items: *69 examples: - default: *806 + default: *231 headers: Link: *43 x-github: @@ -118480,8 +119481,8 @@ paths: - docker - nuget - container - - *807 - - *182 + - *818 + - *192 - *19 - *17 responses: @@ -118491,12 +119492,12 @@ paths: application/json: schema: type: array - items: *358 + items: *370 examples: - default: *808 + default: *819 '403': *29 '401': *25 - '400': *809 + '400': *820 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118516,17 +119517,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *360 - - *361 - - *182 + - *372 + - *373 + - *192 responses: '200': description: Response content: application/json: - schema: *358 + schema: *370 examples: - default: *825 + default: *836 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118547,9 +119548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *360 - - *361 - - *182 + - *372 + - *373 + - *192 responses: '204': description: Response @@ -118581,9 +119582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *360 - - *361 - - *182 + - *372 + - *373 + - *192 - name: token description: package token schema: @@ -118615,9 +119616,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: - - *360 - - *361 - - *182 + - *372 + - *373 + - *192 responses: '200': description: Response @@ -118625,7 +119626,7 @@ paths: application/json: schema: type: array - items: *362 + items: *374 examples: default: value: @@ -118683,16 +119684,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: - - *360 - - *361 - - *363 - - *182 + - *372 + - *373 + - *375 + - *192 responses: '200': description: Response content: application/json: - schema: *362 + schema: *374 examples: default: value: @@ -118727,10 +119728,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *360 - - *361 - - *182 - - *363 + - *372 + - *373 + - *192 + - *375 responses: '204': description: Response @@ -118762,10 +119763,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *360 - - *361 - - *182 - - *363 + - *372 + - *373 + - *192 + - *375 responses: '204': description: Response @@ -118791,7 +119792,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *182 + - *192 - name: state description: Indicates the state of the projects to return. in: query @@ -118812,7 +119813,7 @@ paths: application/json: schema: type: array - items: *374 + items: *386 examples: default: value: @@ -118870,15 +119871,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *182 + - *192 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *99 - - *100 + - *104 + - *105 - *17 responses: '200': @@ -118887,9 +119888,9 @@ paths: application/json: schema: type: array - items: *375 + items: *387 examples: - default: *376 + default: *388 headers: Link: *43 '304': *37 @@ -118911,16 +119912,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *377 - - *182 + - *389 + - *192 responses: '200': description: Response content: application/json: - schema: *375 + schema: *387 examples: - default: *376 + default: *388 headers: Link: *43 '304': *37 @@ -118942,11 +119943,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *377 - - *182 + - *389 + - *192 - *17 - - *99 - - *100 + - *104 + - *105 responses: '200': description: Response @@ -118954,9 +119955,9 @@ paths: application/json: schema: type: array - items: *378 + items: *390 examples: - default: *379 + default: *391 headers: Link: *43 '304': *37 @@ -118978,17 +119979,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *377 - - *826 - - *182 + - *389 + - *837 + - *192 responses: '200': description: Response content: application/json: - schema: *378 + schema: *390 examples: - default: *379 + default: *391 headers: Link: *43 '304': *37 @@ -119011,10 +120012,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: - - *377 - - *182 - - *99 - - *100 + - *389 + - *192 + - *104 + - *105 - *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) @@ -119024,16 +120025,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -119041,9 +120045,9 @@ paths: application/json: schema: type: array - items: *385 + items: *397 examples: - default: *386 + default: *398 headers: Link: *43 '304': *37 @@ -119064,8 +120068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *182 - - *377 + - *192 + - *389 requestBody: required: true description: Details of the item to add to the project. @@ -119102,10 +120106,10 @@ paths: description: Response content: application/json: - schema: *827 + schema: *838 examples: - issue: *384 - pull_request: *384 + issue: *396 + pull_request: *396 '304': *37 '403': *29 '401': *25 @@ -119125,28 +120129,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: - - *377 - - *182 - - *387 + - *389 + - *192 + - *399 - 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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *385 + schema: *397 examples: - default: *386 + default: *398 headers: Link: *43 '304': *37 @@ -119167,9 +120174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *377 - - *182 - - *387 + - *389 + - *192 + - *399 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -119239,13 +120246,13 @@ paths: description: Response content: application/json: - schema: *385 + schema: *397 examples: - text_field: *386 - number_field: *386 - date_field: *386 - single_select_field: *386 - iteration_field: *386 + text_field: *398 + number_field: *398 + date_field: *398 + single_select_field: *398 + iteration_field: *398 '401': *25 '403': *29 '404': *6 @@ -119265,9 +120272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *377 - - *182 - - *387 + - *389 + - *192 + - *399 responses: '204': description: Response @@ -119294,7 +120301,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: - - *182 + - *192 - *17 - *19 responses: @@ -119304,7 +120311,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -119369,7 +120376,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: - - *182 + - *192 - *17 - *19 responses: @@ -119379,7 +120386,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -119442,7 +120449,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *182 + - *192 - name: type description: Limit results to repositories of the specified type. in: query @@ -119485,9 +120492,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 x-github: @@ -119511,15 +120518,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: - - *182 + - *192 responses: '200': description: Response content: application/json: - schema: *414 + schema: *426 examples: - default: *415 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119541,15 +120548,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: - - *182 + - *192 responses: '200': description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119558,7 +120565,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 @@ -119566,12 +120576,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: - - *182 - - *173 - - *222 - - *174 - - *224 - - *225 + - *192 + - *183 + - *234 + - *184 + - *236 + - *237 responses: '200': description: Response when getting a billing premium request usage report @@ -119624,19 +120634,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 @@ -119679,7 +120689,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119701,15 +120711,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: - - *182 + - *192 responses: '200': description: Response content: application/json: - schema: *421 + schema: *433 examples: - default: *422 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119729,11 +120739,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: - - *182 - - *173 - - *226 - - *174 - - *227 + - *192 + - *183 + - *238 + - *184 + - *239 responses: '200': description: Response when getting a billing usage report @@ -119804,7 +120814,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119822,7 +120832,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: - - *182 + - *192 - *17 - *19 responses: @@ -119832,9 +120842,9 @@ paths: application/json: schema: type: array - items: *812 + items: *823 examples: - default: *813 + default: *824 headers: Link: *43 x-github: @@ -119854,7 +120864,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: - - *182 + - *192 - *17 - *19 responses: @@ -119864,9 +120874,9 @@ paths: application/json: schema: type: array - items: *814 + items: *825 examples: - default: *828 + default: *839 headers: Link: *43 x-github: @@ -119890,9 +120900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *182 - - *829 - - *101 + - *192 + - *840 + - *106 - *17 - *19 responses: @@ -119903,11 +120913,11 @@ paths: schema: anyOf: - type: array - items: *830 + items: *841 - type: array - items: *69 + items: *74 examples: - default-response: *817 + default-response: *828 headers: Link: *43 x-github: @@ -119926,7 +120936,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *182 + - *192 - *17 - *19 responses: @@ -119936,9 +120946,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 x-github: @@ -120066,7 +121076,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &831 + enterprise: &842 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120124,7 +121134,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &832 + installation: &843 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120143,7 +121153,7 @@ x-webhooks: required: - id - node_id - organization: &833 + organization: &844 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -120203,13 +121213,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &834 + repository: &845 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &871 + properties: &882 id: description: Unique identifier of the repository example: 42 @@ -120229,8 +121239,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true organization: title: Simple User @@ -120892,7 +121902,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &872 + required: &883 - archive_url - assignees_url - blobs_url @@ -121043,10 +122053,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -121122,11 +122132,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: &835 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + rule: &846 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) @@ -121349,11 +122359,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: *835 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + rule: *846 sender: *4 required: - action @@ -121536,11 +122546,11 @@ x-webhooks: - everyone required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: *835 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + rule: *846 sender: *4 required: - action @@ -121611,7 +122621,7 @@ x-webhooks: required: true content: application/json: - schema: &838 + schema: &849 title: Exemption request cancellation event type: object properties: @@ -121619,11 +122629,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: &836 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + exemption_request: &847 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -121856,7 +122866,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &837 + items: &848 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -121964,7 +122974,7 @@ x-webhooks: required: true content: application/json: - schema: &839 + schema: &850 title: Exemption request completed event type: object properties: @@ -121972,11 +122982,11 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + exemption_request: *847 sender: *4 required: - action @@ -122046,7 +123056,7 @@ x-webhooks: required: true content: application/json: - schema: &840 + schema: &851 title: Exemption request created event type: object properties: @@ -122054,11 +123064,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + exemption_request: *847 sender: *4 required: - action @@ -122128,7 +123138,7 @@ x-webhooks: required: true content: application/json: - schema: &841 + schema: &852 title: Exemption response dismissed event type: object properties: @@ -122136,12 +123146,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 - exemption_response: *837 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + exemption_request: *847 + exemption_response: *848 sender: *4 required: - action @@ -122213,7 +123223,7 @@ x-webhooks: required: true content: application/json: - schema: &842 + schema: &853 title: Exemption response submitted event type: object properties: @@ -122221,12 +123231,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 - exemption_response: *837 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + exemption_request: *847 + exemption_response: *848 sender: *4 required: - action @@ -122299,7 +123309,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *849 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122366,7 +123376,7 @@ x-webhooks: required: true content: application/json: - schema: *839 + schema: *850 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122433,7 +123443,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *851 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122500,7 +123510,7 @@ x-webhooks: required: true content: application/json: - schema: *841 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122568,7 +123578,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122646,7 +123656,7 @@ x-webhooks: type: string enum: - completed - check_run: &844 + check_run: &855 title: CheckRun description: A check performed on the code of a given code change type: object @@ -122699,8 +123709,8 @@ x-webhooks: type: string pull_requests: type: array - items: *194 - repository: *255 + items: *205 + repository: *269 status: example: completed type: string @@ -122737,7 +123747,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *843 + deployment: *854 details_url: example: https://example.com type: string @@ -122787,7 +123797,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *194 + items: *205 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -122822,10 +123832,10 @@ x-webhooks: - output - app - pull_requests - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + installation: *843 + enterprise: *842 + organization: *844 + repository: *845 sender: *4 required: - check_run @@ -123218,11 +124228,11 @@ x-webhooks: type: string enum: - created - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *855 + installation: *843 + enterprise: *842 + organization: *844 + repository: *845 sender: *4 required: - check_run @@ -123618,11 +124628,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *855 + installation: *843 + enterprise: *842 + organization: *844 + repository: *845 requested_action: description: The action requested by the user. type: object @@ -124027,11 +125037,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *855 + installation: *843 + enterprise: *842 + organization: *844 + repository: *845 sender: *4 required: - check_run @@ -125008,10 +126018,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -125681,10 +126691,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -126348,10 +127358,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -126517,7 +127527,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *540 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -126662,20 +127672,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &845 + commit_oid: &856 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: *831 - installation: *832 - organization: *833 - ref: &846 + enterprise: *842 + installation: *843 + organization: *844 + ref: &857 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: *834 + repository: *845 sender: *4 required: - action @@ -126840,7 +127850,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *540 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127070,12 +128080,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *856 + enterprise: *842 + installation: *843 + organization: *844 + ref: *857 + repository: *845 sender: *4 required: - action @@ -127170,7 +128180,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *528 + dismissed_comment: *540 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127341,12 +128351,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *856 + enterprise: *842 + installation: *843 + organization: *844 + ref: *857 + repository: *845 sender: *4 required: - action @@ -127512,7 +128522,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *540 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127678,12 +128688,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *856 + enterprise: *842 + installation: *843 + organization: *844 + ref: *857 + repository: *845 sender: *4 required: - action @@ -127783,7 +128793,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *528 + dismissed_comment: *540 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127951,16 +128961,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *834 + repository: *845 sender: *4 required: - action @@ -128057,7 +129067,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *528 + dismissed_comment: *540 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128197,12 +129207,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *856 + enterprise: *842 + installation: *843 + organization: *844 + ref: *857 + repository: *845 sender: *4 required: - action @@ -128459,10 +129469,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -128542,18 +129552,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *833 - pusher_type: &847 + organization: *844 + pusher_type: &858 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &848 + ref: &859 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -128563,7 +129573,7 @@ x-webhooks: enum: - tag - branch - repository: *834 + repository: *845 sender: *4 required: - ref @@ -128645,10 +129655,10 @@ x-webhooks: type: string enum: - created - definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + definition: *139 + enterprise: *842 + installation: *843 + organization: *844 sender: *4 required: - action @@ -128733,9 +129743,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 sender: *4 required: - action @@ -128812,10 +129822,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + definition: *139 + enterprise: *842 + installation: *843 + organization: *844 sender: *4 required: - action @@ -128892,10 +129902,10 @@ x-webhooks: type: string enum: - updated - definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + definition: *139 + enterprise: *842 + installation: *843 + organization: *844 sender: *4 required: - action @@ -128972,19 +129982,19 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - repository: *834 - organization: *833 + enterprise: *842 + installation: *843 + repository: *845 + organization: *844 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *389 + items: *401 old_property_values: type: array description: The old custom property values for the repository. - items: *389 + items: *401 required: - action - repository @@ -129060,18 +130070,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - pusher_type: *847 - ref: *848 + enterprise: *842 + installation: *843 + organization: *844 + pusher_type: *858 + ref: *859 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *834 + repository: *845 sender: *4 required: - ref @@ -129155,11 +130165,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129243,11 +130253,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129331,11 +130341,11 @@ x-webhooks: type: string enum: - created - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129417,11 +130427,11 @@ x-webhooks: type: string enum: - dismissed - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129503,11 +130513,11 @@ x-webhooks: type: string enum: - fixed - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129590,11 +130600,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129676,11 +130686,11 @@ x-webhooks: type: string enum: - reopened - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129757,9 +130767,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - key: &849 + enterprise: *842 + installation: *843 + key: &860 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -129795,8 +130805,8 @@ x-webhooks: - verified - created_at - read_only - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -129873,11 +130883,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - key: *849 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + key: *860 + organization: *844 + repository: *845 sender: *4 required: - action @@ -130438,12 +131448,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - workflow: &853 + workflow: &864 title: Workflow type: object nullable: true @@ -131169,13 +132179,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *590 + deployment: *602 pull_requests: type: array - items: *682 - repository: *834 - organization: *833 - installation: *832 + items: *694 + repository: *845 + organization: *844 + installation: *843 sender: *4 responses: '200': @@ -131246,7 +132256,7 @@ x-webhooks: type: string enum: - approved - approver: &850 + approver: &861 type: object properties: avatar_url: @@ -131289,11 +132299,11 @@ x-webhooks: type: string comment: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - reviewers: &851 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + reviewers: &862 type: array items: type: object @@ -131372,7 +132382,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &852 + workflow_job_run: &863 type: object properties: conclusion: @@ -132103,18 +133113,18 @@ x-webhooks: type: string enum: - rejected - approver: *850 + approver: *861 comment: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - reviewers: *851 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + reviewers: *862 sender: *4 since: type: string - workflow_job_run: *852 + workflow_job_run: *863 workflow_job_runs: type: array items: @@ -132818,13 +133828,13 @@ x-webhooks: type: string enum: - requested - enterprise: *831 + enterprise: *842 environment: type: string - installation: *832 - organization: *833 - repository: *834 - requestor: &858 + installation: *843 + organization: *844 + repository: *845 + requestor: &869 title: User type: object nullable: true @@ -134723,12 +135733,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - workflow: *853 + workflow: *864 workflow_run: title: Deployment Workflow Run type: object @@ -135408,7 +136418,7 @@ x-webhooks: type: string enum: - answered - answer: &856 + answer: &867 type: object properties: author_association: @@ -135565,11 +136575,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -135696,11 +136706,11 @@ x-webhooks: - from required: - category - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -135783,11 +136793,11 @@ x-webhooks: type: string enum: - closed - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -135869,7 +136879,7 @@ x-webhooks: type: string enum: - created - comment: &855 + comment: &866 type: object properties: author_association: @@ -136026,11 +137036,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136113,12 +137123,12 @@ x-webhooks: type: string enum: - deleted - comment: *855 - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + comment: *866 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136213,12 +137223,12 @@ x-webhooks: - from required: - body - comment: *855 - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + comment: *866 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136302,11 +137312,11 @@ x-webhooks: type: string enum: - created - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136388,11 +137398,11 @@ x-webhooks: type: string enum: - deleted - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136492,11 +137502,11 @@ x-webhooks: type: string required: - from - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136578,10 +137588,10 @@ x-webhooks: type: string enum: - labeled - discussion: *854 - enterprise: *831 - installation: *832 - label: &857 + discussion: *865 + enterprise: *842 + installation: *843 + label: &868 title: Label type: object properties: @@ -136613,8 +137623,8 @@ x-webhooks: - color - default - description - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136697,11 +137707,11 @@ x-webhooks: type: string enum: - locked - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136783,11 +137793,11 @@ x-webhooks: type: string enum: - pinned - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136869,11 +137879,11 @@ x-webhooks: type: string enum: - reopened - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136958,16 +137968,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *854 - new_repository: *834 + new_discussion: *865 + new_repository: *845 required: - new_discussion - new_repository - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -137050,10 +138060,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *854 - old_answer: *856 - organization: *833 - repository: *834 + discussion: *865 + old_answer: *867 + organization: *844 + repository: *845 sender: *4 required: - action @@ -137135,12 +138145,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *854 - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -137223,11 +138233,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -137309,11 +138319,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -137382,7 +138392,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *851 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137445,7 +138455,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137511,7 +138521,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *849 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137577,7 +138587,7 @@ x-webhooks: required: true content: application/json: - schema: *839 + schema: *850 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137643,7 +138653,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *851 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137709,7 +138719,7 @@ x-webhooks: required: true content: application/json: - schema: *841 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137775,7 +138785,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137842,7 +138852,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *831 + enterprise: *842 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -138502,9 +139512,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *832 - organization: *833 - repository: *834 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - forkee @@ -138650,9 +139660,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pages: description: The pages that were updated. type: array @@ -138689,7 +139699,7 @@ x-webhooks: - action - sha - html_url - repository: *834 + repository: *845 sender: *4 required: - pages @@ -138765,10 +139775,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories: &859 + organization: *844 + repositories: &870 description: An array of repository objects that the installation can access. type: array @@ -138794,8 +139804,8 @@ x-webhooks: - name - full_name - private - repository: *834 - requester: *858 + repository: *845 + requester: *869 sender: *4 required: - action @@ -138870,11 +139880,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *844 + repositories: *870 + repository: *845 requester: nullable: true sender: *4 @@ -138950,11 +139960,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *844 + repositories: *870 + repository: *845 requester: nullable: true sender: *4 @@ -139030,10 +140040,10 @@ x-webhooks: type: string enum: - added - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories_added: &860 + organization: *844 + repositories_added: &871 description: An array of repository objects, which were added to the installation. type: array @@ -139079,15 +140089,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *834 - repository_selection: &861 + repository: *845 + repository_selection: &872 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *858 + requester: *869 sender: *4 required: - action @@ -139166,10 +140176,10 @@ x-webhooks: type: string enum: - removed - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories_added: *860 + organization: *844 + repositories_added: *871 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -139196,9 +140206,9 @@ x-webhooks: - name - full_name - private - repository: *834 - repository_selection: *861 - requester: *858 + repository: *845 + repository_selection: *872 + requester: *869 sender: *4 required: - action @@ -139277,11 +140287,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *844 + repositories: *870 + repository: *845 requester: nullable: true sender: *4 @@ -139460,10 +140470,10 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 target_type: type: string @@ -139542,11 +140552,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *844 + repositories: *870 + repository: *845 requester: nullable: true sender: *4 @@ -139670,8 +140680,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 reactions: title: Reactions type: object @@ -139798,8 +140808,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -140593,8 +141603,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140610,7 +141620,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -140943,8 +141953,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -141024,7 +142034,7 @@ x-webhooks: type: string enum: - deleted - comment: &862 + comment: &873 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -141189,8 +142199,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -141980,8 +142990,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141997,7 +143007,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -142332,8 +143342,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -142413,7 +143423,7 @@ x-webhooks: type: string enum: - edited - changes: &891 + changes: &902 description: The changes to the comment. type: object properties: @@ -142425,9 +143435,9 @@ x-webhooks: type: string required: - from - comment: *862 - enterprise: *831 - installation: *832 + comment: *873 + enterprise: *842 + installation: *843 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143220,8 +144230,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143237,7 +144247,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -143570,8 +144580,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -143655,15 +144665,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 + blocked_issue: *200 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 - blocking_issue_repo: *69 - installation: *832 - organization: *833 - repository: *834 + blocking_issue: *200 + blocking_issue_repo: *74 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -143751,15 +144761,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 + blocked_issue: *200 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 - blocking_issue_repo: *69 - installation: *832 - organization: *833 - repository: *834 + blocking_issue: *200 + blocking_issue_repo: *74 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -143846,15 +144856,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 - blocked_issue_repo: *69 + blocked_issue: *200 + blocked_issue_repo: *74 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 - installation: *832 - organization: *833 - repository: *834 + blocking_issue: *200 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -143942,15 +144952,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 - blocked_issue_repo: *69 + blocked_issue: *200 + blocked_issue_repo: *74 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 - installation: *832 - organization: *833 - repository: *834 + blocking_issue: *200 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -144035,10 +145045,10 @@ x-webhooks: type: string enum: - assigned - assignee: *858 - enterprise: *831 - installation: *832 - issue: &865 + assignee: *869 + enterprise: *842 + installation: *843 + issue: &876 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -144827,11 +145837,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144847,7 +145857,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -144948,8 +145958,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -145029,8 +146039,8 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -145824,11 +146834,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145844,7 +146854,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -146080,8 +147090,8 @@ x-webhooks: required: - state - closed_at - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -146160,8 +147170,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146946,11 +147956,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146966,7 +147976,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -147066,8 +148076,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -147146,8 +148156,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147954,11 +148964,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147974,7 +148984,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -148053,7 +149063,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &863 + milestone: &874 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148191,8 +149201,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -148291,8 +149301,8 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149081,11 +150091,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149098,7 +150108,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *342 + type: *354 title: description: Title of the issue type: string @@ -149202,9 +150212,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *857 - organization: *833 - repository: *834 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -149284,8 +150294,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150073,11 +151083,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150090,7 +151100,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *342 + type: *354 title: description: Title of the issue type: string @@ -150194,9 +151204,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *857 - organization: *833 - repository: *834 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -150276,8 +151286,8 @@ x-webhooks: type: string enum: - locked - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151089,11 +152099,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151106,7 +152116,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *342 + type: *354 title: description: Title of the issue type: string @@ -151187,8 +152197,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -151267,8 +152277,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152074,11 +153084,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152094,7 +153104,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -152172,9 +153182,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *863 - organization: *833 - repository: *834 + milestone: *874 + organization: *844 + repository: *845 sender: *4 required: - action @@ -153042,11 +154052,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153139,7 +154149,7 @@ x-webhooks: required: - login - id - type: *342 + type: *354 required: - id - number @@ -153608,8 +154618,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154398,11 +155408,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154418,7 +155428,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -154518,8 +155528,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -154599,9 +155609,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *831 - installation: *832 - issue: &864 + enterprise: *842 + installation: *843 + issue: &875 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -155384,11 +156394,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155404,7 +156414,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -155504,8 +156514,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -155584,8 +156594,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156395,11 +157405,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156493,9 +157503,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *342 - organization: *833 - repository: *834 + type: *354 + organization: *844 + repository: *845 sender: *4 required: - action @@ -157361,11 +158371,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157381,7 +158391,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -157949,11 +158959,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *831 - installation: *832 - issue: *864 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + issue: *875 + organization: *844 + repository: *845 sender: *4 required: - action @@ -158033,12 +159043,12 @@ x-webhooks: type: string enum: - typed - enterprise: *831 - installation: *832 - issue: *865 - type: *342 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + issue: *876 + type: *354 + organization: *844 + repository: *845 sender: *4 required: - action @@ -158119,7 +159129,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &894 + assignee: &905 title: User type: object nullable: true @@ -158189,11 +159199,11 @@ x-webhooks: required: - login - id - enterprise: *831 - installation: *832 - issue: *865 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + issue: *876 + organization: *844 + repository: *845 sender: *4 required: - action @@ -158272,12 +159282,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *831 - installation: *832 - issue: *865 - label: *857 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + issue: *876 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -158357,8 +159367,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159168,11 +160178,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159188,7 +160198,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -159266,8 +160276,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -159347,11 +160357,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *831 - installation: *832 - issue: *864 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + issue: *875 + organization: *844 + repository: *845 sender: *4 required: - action @@ -159430,12 +160440,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *831 - installation: *832 - issue: *865 - type: *342 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + issue: *876 + type: *354 + organization: *844 + repository: *845 sender: *4 required: - action @@ -159515,11 +160525,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -159597,11 +160607,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -159711,11 +160721,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -159797,9 +160807,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: &866 + enterprise: *842 + installation: *843 + marketplace_purchase: &877 title: Marketplace Purchase type: object required: @@ -159882,8 +160892,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *833 - previous_marketplace_purchase: &867 + organization: *844 + previous_marketplace_purchase: &878 title: Marketplace Purchase type: object properties: @@ -159963,7 +160973,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *845 sender: *4 required: - action @@ -160043,10 +161053,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 + enterprise: *842 + installation: *843 + marketplace_purchase: *877 + organization: *844 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160129,7 +161139,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *845 sender: *4 required: - action @@ -160211,10 +161221,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 + enterprise: *842 + installation: *843 + marketplace_purchase: *877 + organization: *844 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160296,7 +161306,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *845 sender: *4 required: - action @@ -160377,8 +161387,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 marketplace_purchase: title: Marketplace Purchase type: object @@ -160460,9 +161470,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *833 - previous_marketplace_purchase: *867 - repository: *834 + organization: *844 + previous_marketplace_purchase: *878 + repository: *845 sender: *4 required: - action @@ -160542,12 +161552,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 - previous_marketplace_purchase: *867 - repository: *834 + enterprise: *842 + installation: *843 + marketplace_purchase: *877 + organization: *844 + previous_marketplace_purchase: *878 + repository: *845 sender: *4 required: - action @@ -160649,11 +161659,11 @@ x-webhooks: type: string required: - to - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + member: *869 + organization: *844 + repository: *845 sender: *4 required: - action @@ -160753,11 +161763,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + member: *869 + organization: *844 + repository: *845 sender: *4 required: - action @@ -160836,11 +161846,11 @@ x-webhooks: type: string enum: - removed - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + member: *869 + organization: *844 + repository: *845 sender: *4 required: - action @@ -160918,11 +161928,11 @@ x-webhooks: type: string enum: - added - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + member: *869 + organization: *844 + repository: *845 scope: description: The scope of the membership. Currently, can only be `team`. @@ -160998,7 +162008,7 @@ x-webhooks: required: - login - id - team: &868 + team: &879 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -161221,11 +162231,11 @@ x-webhooks: type: string enum: - removed - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + member: *869 + organization: *844 + repository: *845 scope: description: The scope of the membership. Currently, can only be `team`. @@ -161302,7 +162312,7 @@ x-webhooks: required: - login - id - team: *868 + team: *879 required: - action - scope @@ -161384,8 +162394,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *832 - merge_group: &870 + installation: *843 + merge_group: &881 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -161404,15 +162414,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *869 + head_commit: *880 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -161498,10 +162508,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *832 - merge_group: *870 - organization: *833 - repository: *834 + installation: *843 + merge_group: *881 + organization: *844 + repository: *845 sender: *4 required: - action @@ -161574,7 +162584,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 + enterprise: *842 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -161683,16 +162693,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *832 - organization: *833 + installation: *843 + organization: *844 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *871 - required: *872 + properties: *882 + required: *883 nullable: true sender: *4 required: @@ -161773,11 +162783,11 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + milestone: *874 + organization: *844 + repository: *845 sender: *4 required: - action @@ -161856,9 +162866,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - milestone: &873 + enterprise: *842 + installation: *843 + milestone: &884 title: Milestone description: A collection of related issues and pull requests. type: object @@ -161995,8 +163005,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162075,11 +163085,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + milestone: *874 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162189,11 +163199,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + milestone: *874 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162273,11 +163283,11 @@ x-webhooks: type: string enum: - opened - enterprise: *831 - installation: *832 - milestone: *873 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + milestone: *884 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162356,11 +163366,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *858 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + blocked_user: *869 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162439,11 +163449,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *858 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + blocked_user: *869 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162522,9 +163532,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - membership: &874 + enterprise: *842 + installation: *843 + membership: &885 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -162631,8 +163641,8 @@ x-webhooks: - role - organization_url - user - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162710,11 +163720,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + membership: *885 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162793,8 +163803,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -162910,10 +163920,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 - user: *858 + user: *869 required: - action - invitation @@ -162991,11 +164001,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + membership: *885 + organization: *844 + repository: *845 sender: *4 required: - action @@ -163082,11 +164092,11 @@ x-webhooks: properties: from: type: string - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + membership: *885 + organization: *844 + repository: *845 sender: *4 required: - action @@ -163162,9 +164172,9 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 package: description: Information about the package. type: object @@ -163663,7 +164673,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &875 + items: &886 title: Ruby Gems metadata type: object properties: @@ -163758,7 +164768,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *845 sender: *4 required: - action @@ -163834,9 +164844,9 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 package: description: Information about the package. type: object @@ -164189,7 +165199,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *875 + items: *886 source_url: type: string format: uri @@ -164259,7 +165269,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *845 sender: *4 required: - action @@ -164436,12 +165446,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *831 + enterprise: *842 id: type: integer - installation: *832 - organization: *833 - repository: *834 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - id @@ -164518,7 +165528,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &876 + personal_access_token_request: &887 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -164664,10 +165674,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *831 - organization: *833 + enterprise: *842 + organization: *844 sender: *4 - installation: *832 + installation: *843 required: - action - personal_access_token_request @@ -164744,11 +165754,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *876 - enterprise: *831 - organization: *833 + personal_access_token_request: *887 + enterprise: *842 + organization: *844 sender: *4 - installation: *832 + installation: *843 required: - action - personal_access_token_request @@ -164824,11 +165834,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *876 - enterprise: *831 - organization: *833 + personal_access_token_request: *887 + enterprise: *842 + organization: *844 sender: *4 - installation: *832 + installation: *843 required: - action - personal_access_token_request @@ -164903,11 +165913,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *876 - organization: *833 - enterprise: *831 + personal_access_token_request: *887 + organization: *844 + enterprise: *842 sender: *4 - installation: *832 + installation: *843 required: - action - personal_access_token_request @@ -165012,7 +166022,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *877 + last_response: *888 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -165044,8 +166054,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 zen: description: Random string of GitHub zen. @@ -165290,10 +166300,10 @@ x-webhooks: - from required: - note - enterprise: *831 - installation: *832 - organization: *833 - project_card: &878 + enterprise: *842 + installation: *843 + organization: *844 + project_card: &889 title: Project Card type: object properties: @@ -165412,7 +166422,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *834 + repository: *845 sender: *4 required: - action @@ -165493,11 +166503,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project_card: *878 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project_card: *889 + repository: *845 sender: *4 required: - action @@ -165577,9 +166587,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 project_card: title: Project Card type: object @@ -165707,8 +166717,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *871 - required: *872 + properties: *882 + required: *883 nullable: true sender: *4 required: @@ -165802,11 +166812,11 @@ x-webhooks: - from required: - note - enterprise: *831 - installation: *832 - organization: *833 - project_card: *878 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project_card: *889 + repository: *845 sender: *4 required: - action @@ -165900,9 +166910,9 @@ x-webhooks: - from required: - column_id - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 project_card: allOf: - title: Project Card @@ -166092,7 +167102,7 @@ x-webhooks: type: string required: - after_id - repository: *834 + repository: *845 sender: *4 required: - action @@ -166172,10 +167182,10 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - organization: *833 - project: &880 + enterprise: *842 + installation: *843 + organization: *844 + project: &891 title: Project type: object properties: @@ -166299,7 +167309,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *834 + repository: *845 sender: *4 required: - action @@ -166379,10 +167389,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project_column: &879 + enterprise: *842 + installation: *843 + organization: *844 + project_column: &890 title: Project Column type: object properties: @@ -166421,7 +167431,7 @@ x-webhooks: - name - created_at - updated_at - repository: *834 + repository: *845 sender: *4 required: - action @@ -166500,18 +167510,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 + enterprise: *842 + installation: *843 + organization: *844 + project_column: *890 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *871 - required: *872 + properties: *882 + required: *883 nullable: true sender: *4 required: @@ -166601,11 +167611,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project_column: *890 + repository: *845 sender: *4 required: - action @@ -166685,11 +167695,11 @@ x-webhooks: type: string enum: - moved - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project_column: *890 + repository: *845 sender: *4 required: - action @@ -166769,11 +167779,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project: *891 + repository: *845 sender: *4 required: - action @@ -166853,18 +167863,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - project: *880 + enterprise: *842 + installation: *843 + organization: *844 + project: *891 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *871 - required: *872 + properties: *882 + required: *883 nullable: true sender: *4 required: @@ -166966,11 +167976,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project: *891 + repository: *845 sender: *4 required: - action @@ -167049,11 +168059,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project: *891 + repository: *845 sender: *4 required: - action @@ -167134,9 +168144,9 @@ x-webhooks: type: string enum: - closed - installation: *832 - organization: *833 - projects_v2: *375 + installation: *843 + organization: *844 + projects_v2: *387 sender: *4 required: - action @@ -167217,9 +168227,9 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2: *375 + installation: *843 + organization: *844 + projects_v2: *387 sender: *4 required: - action @@ -167300,9 +168310,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2: *375 + installation: *843 + organization: *844 + projects_v2: *387 sender: *4 required: - action @@ -167419,9 +168429,9 @@ x-webhooks: type: string to: type: string - installation: *832 - organization: *833 - projects_v2: *375 + installation: *843 + organization: *844 + projects_v2: *387 sender: *4 required: - action @@ -167504,7 +168514,7 @@ x-webhooks: type: string enum: - archived - changes: &884 + changes: &895 type: object properties: archived_at: @@ -167518,9 +168528,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *832 - organization: *833 - projects_v2_item: &881 + installation: *843 + organization: *844 + projects_v2_item: &892 title: Projects v2 Item description: An item belonging to a project type: object @@ -167538,7 +168548,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *383 + content_type: *395 creator: *4 created_at: type: string @@ -167655,9 +168665,9 @@ x-webhooks: nullable: true to: type: string - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *843 + organization: *844 + projects_v2_item: *892 sender: *4 required: - action @@ -167739,9 +168749,9 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *843 + organization: *844 + projects_v2_item: *892 sender: *4 required: - action @@ -167822,9 +168832,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *843 + organization: *844 + projects_v2_item: *892 sender: *4 required: - action @@ -167930,7 +168940,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &882 + - &893 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -167952,7 +168962,7 @@ x-webhooks: required: - id - name - - &883 + - &894 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -167986,8 +168996,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *882 - - *883 + - *893 + - *894 required: - field_value - type: object @@ -168003,9 +169013,9 @@ x-webhooks: nullable: true required: - body - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *843 + organization: *844 + projects_v2_item: *892 sender: *4 required: - action @@ -168100,9 +169110,9 @@ x-webhooks: to: type: string nullable: true - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *843 + organization: *844 + projects_v2_item: *892 sender: *4 required: - action @@ -168185,10 +169195,10 @@ x-webhooks: type: string enum: - restored - changes: *884 - installation: *832 - organization: *833 - projects_v2_item: *881 + changes: *895 + installation: *843 + organization: *844 + projects_v2_item: *892 sender: *4 required: - action @@ -168270,9 +169280,9 @@ x-webhooks: type: string enum: - reopened - installation: *832 - organization: *833 - projects_v2: *375 + installation: *843 + organization: *844 + projects_v2: *387 sender: *4 required: - action @@ -168353,14 +169363,14 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2_status_update: &887 + installation: *843 + organization: *844 + projects_v2_status_update: &898 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *885 - required: *886 + properties: *896 + required: *897 sender: *4 required: - action @@ -168441,9 +169451,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2_status_update: *887 + installation: *843 + organization: *844 + projects_v2_status_update: *898 sender: *4 required: - action @@ -168579,9 +169589,9 @@ x-webhooks: type: string format: date nullable: true - installation: *832 - organization: *833 - projects_v2_status_update: *887 + installation: *843 + organization: *844 + projects_v2_status_update: *898 sender: *4 required: - action @@ -168652,10 +169662,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - repository @@ -168732,13 +169742,13 @@ x-webhooks: type: string enum: - assigned - assignee: *858 - enterprise: *831 - installation: *832 - number: &888 + assignee: *869 + enterprise: *842 + installation: *843 + number: &899 description: The pull request number. type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -171021,7 +172031,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -171103,11 +172113,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -173385,7 +174395,7 @@ x-webhooks: - draft reason: type: string - repository: *834 + repository: *845 sender: *4 required: - action @@ -173467,11 +174477,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -175749,7 +176759,7 @@ x-webhooks: - draft reason: type: string - repository: *834 + repository: *845 sender: *4 required: - action @@ -175831,13 +176841,13 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: &889 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 + pull_request: &900 allOf: - - *682 + - *694 - type: object properties: allow_auto_merge: @@ -175899,7 +176909,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *834 + repository: *845 sender: *4 required: - action @@ -175980,12 +176990,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 + pull_request: *900 + repository: *845 sender: *4 required: - action @@ -176065,11 +177075,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *831 - milestone: *666 - number: *888 - organization: *833 - pull_request: &890 + enterprise: *842 + milestone: *678 + number: *899 + organization: *844 + pull_request: &901 title: Pull Request type: object properties: @@ -178332,7 +179342,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -178411,11 +179421,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -180697,7 +181707,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *834 + repository: *845 sender: *4 required: - action @@ -180821,12 +181831,12 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 + pull_request: *900 + repository: *845 sender: *4 required: - action @@ -180906,11 +181916,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -183177,7 +184187,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -183257,11 +184267,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *831 - installation: *832 - label: *857 - number: *888 - organization: *833 + enterprise: *842 + installation: *843 + label: *868 + number: *899 + organization: *844 pull_request: title: Pull Request type: object @@ -185543,7 +186553,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -185624,10 +186634,10 @@ x-webhooks: type: string enum: - locked - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 pull_request: title: Pull Request type: object @@ -187907,7 +188917,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -187987,12 +188997,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *831 - milestone: *666 - number: *888 - organization: *833 - pull_request: *890 - repository: *834 + enterprise: *842 + milestone: *678 + number: *899 + organization: *844 + pull_request: *901 + repository: *845 sender: *4 required: - action @@ -188071,12 +189081,12 @@ x-webhooks: type: string enum: - opened - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 + pull_request: *900 + repository: *845 sender: *4 required: - action @@ -188157,12 +189167,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 + pull_request: *900 + repository: *845 sender: *4 required: - action @@ -188242,12 +189252,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 + pull_request: *900 + repository: *845 sender: *4 required: - action @@ -188613,9 +189623,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: type: object properties: @@ -190785,7 +191795,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *845 sender: *4 required: - action @@ -190865,7 +191875,7 @@ x-webhooks: type: string enum: - deleted - comment: &892 + comment: &903 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. @@ -191150,9 +192160,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: type: object properties: @@ -193310,7 +194320,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *845 sender: *4 required: - action @@ -193390,11 +194400,11 @@ x-webhooks: type: string enum: - edited - changes: *891 - comment: *892 - enterprise: *831 - installation: *832 - organization: *833 + changes: *902 + comment: *903 + enterprise: *842 + installation: *843 + organization: *844 pull_request: type: object properties: @@ -195555,7 +196565,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *845 sender: *4 required: - action @@ -195636,9 +196646,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: title: Simple Pull Request type: object @@ -197811,7 +198821,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *845 review: description: The review that was affected. type: object @@ -198058,9 +199068,9 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: title: Simple Pull Request type: object @@ -200114,8 +201124,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 - review: &893 + repository: *845 + review: &904 description: The review that was affected. type: object properties: @@ -200348,12 +201358,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: description: The pull request number. type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -202636,7 +203646,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 requested_reviewer: title: User type: object @@ -202720,12 +203730,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: description: The pull request number. type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -205015,7 +206025,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 requested_team: title: Team description: Groups of organization members that gives permissions @@ -205207,12 +206217,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: description: The pull request number. type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -207497,7 +208507,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 requested_reviewer: title: User type: object @@ -207582,12 +208592,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: description: The pull request number. type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -209863,7 +210873,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 requested_team: title: Team description: Groups of organization members that gives permissions @@ -210044,9 +211054,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: title: Simple Pull Request type: object @@ -212221,8 +213231,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 - review: *893 + repository: *845 + review: *904 sender: *4 required: - action @@ -212302,9 +213312,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: title: Simple Pull Request type: object @@ -214374,7 +215384,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *845 sender: *4 thread: type: object @@ -214761,9 +215771,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: title: Simple Pull Request type: object @@ -216819,7 +217829,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *845 sender: *4 thread: type: object @@ -217209,10 +218219,10 @@ x-webhooks: type: string before: type: string - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 pull_request: title: Pull Request type: object @@ -219483,7 +220493,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -219565,11 +220575,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *894 - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + assignee: *905 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 pull_request: title: Pull Request type: object @@ -221852,7 +222862,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -221931,11 +222941,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *831 - installation: *832 - label: *857 - number: *888 - organization: *833 + enterprise: *842 + installation: *843 + label: *868 + number: *899 + organization: *844 pull_request: title: Pull Request type: object @@ -224208,7 +225218,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -224289,10 +225299,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 pull_request: title: Pull Request type: object @@ -226557,7 +227567,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -226757,7 +227767,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *831 + enterprise: *842 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -226849,8 +227859,8 @@ x-webhooks: - url - author - committer - installation: *832 - organization: *833 + installation: *843 + organization: *844 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -227425,9 +228435,9 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 registry_package: type: object properties: @@ -227873,7 +228883,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *875 + items: *886 summary: type: string tag_name: @@ -227927,7 +228937,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *845 sender: *4 required: - action @@ -228005,9 +229015,9 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 registry_package: type: object properties: @@ -228315,7 +229325,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *875 + items: *886 summary: type: string tag_name: @@ -228364,7 +229374,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *845 sender: *4 required: - action @@ -228441,10 +229451,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - release: &895 + enterprise: *842 + installation: *843 + organization: *844 + release: &906 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -228762,7 +229772,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *834 + repository: *845 sender: *4 required: - action @@ -228839,11 +229849,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + release: *906 + repository: *845 sender: *4 required: - action @@ -228960,11 +229970,11 @@ x-webhooks: type: boolean required: - to - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + release: *906 + repository: *845 sender: *4 required: - action @@ -229042,9 +230052,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -229366,7 +230376,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *834 + repository: *845 sender: *4 required: - action @@ -229442,10 +230452,10 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - release: &896 + enterprise: *842 + installation: *843 + organization: *844 + release: &907 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -229764,7 +230774,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *834 + repository: *845 sender: *4 required: - action @@ -229840,11 +230850,11 @@ x-webhooks: type: string enum: - released - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + release: *906 + repository: *845 sender: *4 required: - action @@ -229920,11 +230930,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *831 - installation: *832 - organization: *833 - release: *896 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + release: *907 + repository: *845 sender: *4 required: - action @@ -230000,11 +231010,11 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_advisory: *735 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + repository_advisory: *747 sender: *4 required: - action @@ -230080,11 +231090,11 @@ x-webhooks: type: string enum: - reported - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_advisory: *735 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + repository_advisory: *747 sender: *4 required: - action @@ -230160,10 +231170,10 @@ x-webhooks: type: string enum: - archived - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230240,10 +231250,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230321,10 +231331,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230408,10 +231418,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230523,10 +231533,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230598,10 +231608,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 status: type: string @@ -230682,10 +231692,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230762,10 +231772,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230859,10 +231869,10 @@ x-webhooks: - name required: - repository - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230942,11 +231952,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_ruleset: *162 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + repository_ruleset: *172 sender: *4 required: - action @@ -231024,11 +232034,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_ruleset: *162 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + repository_ruleset: *172 sender: *4 required: - action @@ -231106,11 +232116,11 @@ x-webhooks: type: string enum: - edited - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_ruleset: *162 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + repository_ruleset: *172 changes: type: object properties: @@ -231129,16 +232139,16 @@ x-webhooks: properties: added: type: array - items: *136 + items: *146 deleted: type: array - items: *136 + items: *146 updated: type: array items: type: object properties: - condition: *136 + condition: *146 changes: type: object properties: @@ -231171,16 +232181,16 @@ x-webhooks: properties: added: type: array - items: *703 + items: *715 deleted: type: array - items: *703 + items: *715 updated: type: array items: type: object properties: - rule: *703 + rule: *715 changes: type: object properties: @@ -231414,10 +232424,10 @@ x-webhooks: - from required: - owner - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -231495,10 +232505,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -231576,7 +232586,7 @@ x-webhooks: type: string enum: - create - alert: &897 + alert: &908 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -231697,10 +232707,10 @@ x-webhooks: type: string enum: - open - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -231906,10 +232916,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -231987,11 +232997,11 @@ x-webhooks: type: string enum: - reopen - alert: *897 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *908 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -232190,10 +233200,10 @@ x-webhooks: enum: - fixed - open - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -232271,11 +233281,11 @@ x-webhooks: type: string enum: - created - alert: &898 + alert: &909 type: object properties: - number: *113 - created_at: *120 + number: *123 + created_at: *130 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -232283,8 +233293,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *118 - html_url: *119 + url: *128 + html_url: *129 locations_url: type: string format: uri @@ -232389,10 +233399,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -232473,11 +233483,11 @@ x-webhooks: type: string enum: - created - alert: *898 - installation: *832 - location: *899 - organization: *833 - repository: *834 + alert: *909 + installation: *843 + location: *910 + organization: *844 + repository: *845 sender: *4 required: - location @@ -232715,11 +233725,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *909 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -232797,11 +233807,11 @@ x-webhooks: type: string enum: - reopened - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *909 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -232879,11 +233889,11 @@ x-webhooks: type: string enum: - resolved - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *909 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -232961,11 +233971,11 @@ x-webhooks: type: string enum: - validated - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *909 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -233091,10 +234101,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *834 - enterprise: *831 - installation: *832 - organization: *833 + repository: *845 + enterprise: *842 + installation: *843 + organization: *844 sender: *4 required: - action @@ -233172,11 +234182,11 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - security_advisory: &900 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + security_advisory: &911 description: The details of the security advisory, including summary, description, and severity. type: object @@ -233192,7 +234202,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *115 + cvss_severities: *125 cwes: type: array items: @@ -233359,11 +234369,11 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - security_advisory: *900 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + security_advisory: *911 sender: *4 required: - action @@ -233436,10 +234446,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -233456,7 +234466,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *115 + cvss_severities: *125 cwes: type: array items: @@ -233623,11 +234633,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *392 - enterprise: *831 - installation: *832 - organization: *833 - repository: *459 + security_and_analysis: *404 + enterprise: *842 + installation: *843 + organization: *844 + repository: *471 sender: *4 required: - changes @@ -233705,12 +234715,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - sponsorship: &901 + sponsorship: &912 type: object properties: created_at: @@ -234011,12 +235021,12 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - sponsorship: *901 + sponsorship: *912 required: - action - sponsorship @@ -234104,12 +235114,12 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - sponsorship: *901 + sponsorship: *912 required: - action - changes @@ -234186,17 +235196,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &902 + effective_date: &913 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: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - sponsorship: *901 + sponsorship: *912 required: - action - sponsorship @@ -234270,7 +235280,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &903 + changes: &914 type: object properties: tier: @@ -234314,13 +235324,13 @@ x-webhooks: - from required: - tier - effective_date: *902 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + effective_date: *913 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - sponsorship: *901 + sponsorship: *912 required: - action - changes @@ -234397,13 +235407,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *903 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + changes: *914 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - sponsorship: *901 + sponsorship: *912 required: - action - changes @@ -234477,10 +235487,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234563,10 +235573,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234986,15 +235996,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *831 + enterprise: *842 id: description: The unique identifier of the status. type: integer - installation: *832 + installation: *843 name: type: string - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 sha: description: The Commit SHA. @@ -235103,15 +236113,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 - parent_issue_repo: *69 + parent_issue: *200 + parent_issue_repo: *74 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 - installation: *832 - organization: *833 - repository: *834 + sub_issue: *200 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -235195,15 +236205,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 - parent_issue_repo: *69 + parent_issue: *200 + parent_issue_repo: *74 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 - installation: *832 - organization: *833 - repository: *834 + sub_issue: *200 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -235287,15 +236297,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 - sub_issue_repo: *69 + sub_issue: *200 + sub_issue_repo: *74 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 - installation: *832 - organization: *833 - repository: *834 + parent_issue: *200 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -235379,15 +236389,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 - sub_issue_repo: *69 + sub_issue: *200 + sub_issue_repo: *74 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 - installation: *832 - organization: *833 - repository: *834 + parent_issue: *200 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -235464,12 +236474,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - team: &904 + team: &915 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -235692,9 +236702,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 repository: title: Repository description: A git repository @@ -236152,7 +237162,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *915 required: - action - team @@ -236228,9 +237238,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 repository: title: Repository description: A git repository @@ -236688,7 +237698,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *915 required: - action - team @@ -236765,9 +237775,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 repository: title: Repository description: A git repository @@ -237225,7 +238235,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *915 required: - action - team @@ -237369,9 +238379,9 @@ x-webhooks: - from required: - permissions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 repository: title: Repository description: A git repository @@ -237829,7 +238839,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *915 required: - action - changes @@ -237907,9 +238917,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 repository: title: Repository description: A git repository @@ -238367,7 +239377,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *915 required: - action - team @@ -238443,10 +239453,10 @@ x-webhooks: type: string enum: - started - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -238519,16 +239529,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *831 + enterprise: *842 inputs: type: object nullable: true additionalProperties: true - installation: *832 - organization: *833 + installation: *843 + organization: *844 ref: type: string - repository: *834 + repository: *845 sender: *4 workflow: type: string @@ -238610,10 +239620,10 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 workflow_job: allOf: @@ -238850,7 +239860,7 @@ x-webhooks: type: string required: - conclusion - deployment: *590 + deployment: *602 required: - action - repository @@ -238929,10 +239939,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 workflow_job: allOf: @@ -239192,7 +240202,7 @@ x-webhooks: required: - status - steps - deployment: *590 + deployment: *602 required: - action - repository @@ -239271,10 +240281,10 @@ x-webhooks: type: string enum: - queued - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 workflow_job: type: object @@ -239409,7 +240419,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *590 + deployment: *602 required: - action - repository @@ -239488,10 +240498,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 workflow_job: type: object @@ -239627,7 +240637,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *590 + deployment: *602 required: - action - repository @@ -239707,12 +240717,12 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - workflow: *853 + workflow: *864 workflow_run: title: Workflow Run type: object @@ -240711,12 +241721,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - workflow: *853 + workflow: *864 workflow_run: title: Workflow Run type: object @@ -241700,12 +242710,12 @@ x-webhooks: type: string enum: - requested - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - workflow: *853 + workflow: *864 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index c2fc1bc49c..8dfa8616fb 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/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." @@ -17348,6 +17352,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -17451,6 +17460,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -17591,6 +17604,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": "string", + "nullable": true } } }, @@ -17611,6 +17629,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": [ @@ -17690,6 +17713,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -17793,6 +17821,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -17848,17 +17880,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": [ { @@ -17889,46 +17921,60 @@ "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", - "example": "ubuntu-20.04" + "type": "integer", + "example": 1 }, "platform": { "description": "The operating system of the image.", "type": "string", "example": "linux-x64" }, - "size_gb": { - "description": "Image size in GB.", + "total_versions_size": { + "description": "Total size of all the image versions in GB.", "type": "integer", - "example": 86 + "example": 200 }, - "display_name": { + "name": { "description": "Display name for this image.", "type": "string", - "example": 20.04 + "example": "CustomImage" }, "source": { "description": "The image provider.", "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "Ready" } }, "required": [ "id", "platform", - "size_gb", - "display_name", - "source" + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" ] } } @@ -17937,11 +17983,141 @@ "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", + "example": 1 + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "example": 200 + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "example": "CustomImage" + }, + "source": { + "description": "The image provider.", + "type": "string", + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "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" } } } @@ -17955,21 +18131,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.", @@ -17989,55 +18217,51 @@ "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", - "example": "ubuntu-20.04" + "example": "1.0.0" }, - "platform": { - "description": "The operating system of the image.", + "state": { + "description": "The state of image version.", "type": "string", - "example": "linux-x64" + "example": "Ready" }, "size_gb": { - "description": "Image size in GB.", + "description": "Image version size in GB.", "type": "integer", - "example": 86 + "example": 30 }, - "display_name": { - "description": "Display name for this image.", + "created_on": { + "description": "The creation date time of the image version.", "type": "string", - "example": 20.04 + "example": "2024-11-09T23:39:01Z" }, - "source": { - "description": "The image provider.", + "state_details": { + "description": "The image version status details.", "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] + "example": "None" } }, "required": [ - "id", - "platform", + "version", + "state", "size_gb", - "display_name", - "source" + "created_on", + "state_details" ] } } @@ -18046,11 +18270,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" + } + ] } } } @@ -18066,17 +18300,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": [ { @@ -18087,6 +18321,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": { @@ -18095,41 +18348,51 @@ "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.", - "example": 50 - }, - "current_usage": { - "type": "integer", - "description": "The current number of static public IP addresses in use by Hosted Runners.", - "example": 17 - } - }, - "required": [ - "maximum", - "current_usage" - ] + "version": { + "description": "The version of image.", + "type": "string", + "example": "1.0.0" + }, + "state": { + "description": "The state of image version.", + "type": "string", + "example": "Ready" + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "example": 30 + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "example": "2024-11-09T23:39:01Z" + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "example": "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" } } } @@ -18143,19 +18406,369 @@ "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", + "example": "ubuntu-20.04" + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "example": 86 + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "example": 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", + "example": "ubuntu-20.04" + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "example": 86 + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "example": 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.", + "example": 50 + }, + "current_usage": { + "type": "integer", + "description": "The current number of static public IP addresses in use by Hosted Runners.", + "example": 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": [ { @@ -18397,6 +19010,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -18500,6 +19118,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -18615,6 +19237,11 @@ "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", + "nullable": true } } }, @@ -18684,6 +19311,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -18787,6 +19419,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -18925,6 +19561,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -19028,6 +19669,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -41054,6 +41699,654 @@ } } }, + "/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", + "example": "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", + "example": "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", @@ -41195,29 +42488,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).\"", @@ -54907,7 +56177,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -55891,6 +57161,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": { @@ -57751,7 +59034,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" ], @@ -57934,7 +59217,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -57942,7 +59225,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -57950,7 +59233,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -59434,6 +60717,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": { "nullable": true, "type": "string", @@ -60700,8 +61993,503 @@ } }, { - "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": { + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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": { @@ -60710,29 +62498,248 @@ } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "example": "github" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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" + } + } + } + } + } }, - "403": { - "description": "Forbidden", + "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": "Basic Error", - "description": "Basic Error", + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "message": { - "type": "string" + "login": { + "type": "string", + "example": "github" }, - "documentation_url": { - "type": "string" + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" }, "url": { - "type": "string" + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, - "status": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" + }, + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" + }, + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" + }, + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + } + }, + "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" } } } @@ -60744,7 +62751,59 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "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": [ + { + "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": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" } } }, @@ -60976,6 +63035,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": { "nullable": true, "type": "string", @@ -100932,7 +103001,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" ], @@ -101076,7 +103145,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -101084,7 +103153,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -101092,7 +103161,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -103312,6 +105381,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -103415,6 +105489,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -103555,6 +105633,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": "string", + "nullable": true } } }, @@ -103573,6 +105656,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": [ @@ -103653,6 +105741,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -103756,6 +105849,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -103811,6 +105908,587 @@ } } }, + "/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", + "example": 1 + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "example": 200 + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "example": "CustomImage" + }, + "source": { + "description": "The image provider.", + "type": "string", + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "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", + "example": 1 + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "linux-x64" + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "example": 200 + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "example": "CustomImage" + }, + "source": { + "description": "The image provider.", + "type": "string", + "example": "custom" + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "example": 4 + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "example": "1.3.0" + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "example": "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", + "example": "1.0.0" + }, + "state": { + "description": "The state of image version.", + "type": "string", + "example": "Ready" + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "example": 30 + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "example": "2024-11-09T23:39:01Z" + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "example": "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", + "example": "1.0.0" + }, + "state": { + "description": "The state of image version.", + "type": "string", + "example": "Ready" + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "example": 30 + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "example": "2024-11-09T23:39:01Z" + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "example": "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", @@ -104360,6 +107038,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -104463,6 +107146,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -104578,6 +107265,11 @@ "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", + "nullable": true } } }, @@ -104647,6 +107339,261 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" + } + }, + "required": [ + "id", + "size_gb", + "display_name", + "source" + ], + "nullable": true + }, + "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", + "example": "8-core" + }, + "cpu_cores": { + "description": "The number of cores.", + "type": "integer", + "example": 8 + }, + "memory_gb": { + "description": "The available RAM for the machine spec.", + "type": "integer", + "example": 32 + }, + "storage_gb": { + "description": "The available SSD storage for the machine spec.", + "type": "integer", + "example": 300 + } + }, + "required": [ + "id", + "cpu_cores", + "memory_gb", + "storage_gb" + ] + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "example": "Ready", + "enum": [ + "Ready", + "Provisioning", + "Shutdown", + "Deleting", + "Stuck" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "example": "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, + "example": 5 + }, + "public_ip_enabled": { + "description": "Whether public IP is enabled for the hosted runners.", + "type": "boolean", + "example": 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", + "example": true + }, + "prefix": { + "description": "The prefix for the public IP.", + "type": "string", + "example": "20.80.208.150" + }, + "length": { + "description": "The length of the IP prefix.", + "type": "integer", + "example": 28 + } + } + } + }, + "last_active_on": { + "description": "The time at which the runner was last used, in ISO 8601 format.", + "type": "string", + "format": "date-time", + "example": "2022-10-09T23:39:01Z", + "nullable": true + }, + "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", + "example": 5 + }, + "name": { + "description": "The name of the hosted runner.", + "type": "string", + "example": "my-github-hosted-runner" + }, + "runner_group_id": { + "description": "The unique identifier of the group that the hosted runner belongs to.", + "type": "integer", + "example": 2 + }, + "image_details": { + "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", + "example": "ubuntu-20.04" + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "example": 86 + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "example": 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", + "example": "latest" } }, "required": [ @@ -104750,247 +107697,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true - } - }, - "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", - "example": 5 - }, - "name": { - "description": "The name of the hosted runner.", - "type": "string", - "example": "my-github-hosted-runner" - }, - "runner_group_id": { - "description": "The unique identifier of the group that the hosted runner belongs to.", - "type": "integer", - "example": 2 - }, - "image_details": { - "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", - "example": "ubuntu-20.04" - }, - "size_gb": { - "description": "Image size in GB.", - "type": "integer", - "example": 86 - }, - "display_name": { - "description": "Display name for this image.", - "type": "string", - "example": 20.04 - }, - "source": { - "description": "The image provider.", - "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] - } - }, - "required": [ - "id", - "size_gb", - "display_name", - "source" - ], - "nullable": true - }, - "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", - "example": "8-core" - }, - "cpu_cores": { - "description": "The number of cores.", - "type": "integer", - "example": 8 - }, - "memory_gb": { - "description": "The available RAM for the machine spec.", - "type": "integer", - "example": 32 - }, - "storage_gb": { - "description": "The available SSD storage for the machine spec.", - "type": "integer", - "example": 300 - } - }, - "required": [ - "id", - "cpu_cores", - "memory_gb", - "storage_gb" - ] }, - "status": { - "description": "The status of the runner.", - "type": "string", - "example": "Ready", - "enum": [ - "Ready", - "Provisioning", - "Shutdown", - "Deleting", - "Stuck" - ] - }, - "platform": { - "description": "The operating system of the image.", - "type": "string", - "example": "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, - "example": 5 - }, - "public_ip_enabled": { - "description": "Whether public IP is enabled for the hosted runners.", + "image_gen": { "type": "boolean", - "example": 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", - "example": true - }, - "prefix": { - "description": "The prefix for the public IP.", - "type": "string", - "example": "20.80.208.150" - }, - "length": { - "description": "The length of the IP prefix.", - "type": "integer", - "example": 28 - } - } - } - }, - "last_active_on": { - "description": "The time at which the runner was last used, in ISO 8601 format.", - "type": "string", - "format": "date-time", - "example": "2022-10-09T23:39:01Z", - "nullable": true + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -110468,6 +113178,11 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "example": "latest" } }, "required": [ @@ -110571,6 +113286,10 @@ "format": "date-time", "example": "2022-10-09T23:39:01Z", "nullable": true + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -119821,6 +122540,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", @@ -140169,29 +142992,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).\"", @@ -191028,16 +193828,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } }, { @@ -198192,16 +200998,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -352339,16 +355151,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).\"", @@ -352376,29 +355178,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": { @@ -539565,7 +542344,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" ], @@ -685532,16 +688311,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -692669,16 +695454,22 @@ }, { "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" - }, - "example": "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + ] } } ], @@ -716702,7 +719493,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" ], @@ -716833,7 +719624,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -716841,7 +719632,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -716849,7 +719640,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/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index b2f4ab0953..b59354d911 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/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 - - &99 + - &104 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 - - &100 + - &105 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 - - &101 + - &106 name: direction description: The direction to sort the results by. in: query @@ -685,7 +687,7 @@ paths: required: - vector_string - score - cvss_severities: &115 + cvss_severities: &125 type: object nullable: true properties: @@ -725,7 +727,7 @@ paths: required: - vector_string - score - epss: &116 + epss: &126 type: object nullable: true readOnly: true @@ -863,7 +865,7 @@ paths: - subscriptions_url - type - url - type: &412 + type: &424 type: string description: The type of credit the user is receiving. enum: @@ -996,7 +998,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &233 + schema: &245 title: Validation Error Simple description: Validation Error Simple type: object @@ -1029,7 +1031,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &737 + - &749 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1147,7 +1149,7 @@ paths: GitHub. type: object nullable: true - properties: &186 + properties: &197 id: description: Unique identifier of the GitHub app example: 37 @@ -1280,7 +1282,7 @@ paths: about itself. example: 5 type: integer - required: &187 + required: &198 - id - node_id - owner @@ -1585,7 +1587,7 @@ paths: schema: type: integer default: 30 - - &320 + - &332 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1603,7 @@ paths: application/json: schema: type: array - items: &321 + items: &333 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1683,7 @@ paths: - installation_id - repository_id examples: - default: &322 + default: &334 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1713,7 +1715,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &747 + schema: &759 title: Scim Error description: Scim Error type: object @@ -1740,7 +1742,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &232 + schema: &244 title: Validation Error description: Validation Error type: object @@ -1809,7 +1811,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &335 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1925,7 @@ paths: - request - response examples: - default: &324 + default: &336 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2124,7 +2126,7 @@ paths: parameters: - *17 - *19 - - &196 + - &207 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) @@ -2719,7 +2721,7 @@ paths: application/json: schema: *22 examples: - default: &79 + default: &84 value: id: 1 account: @@ -2869,11 +2871,11 @@ paths: - selected repositories: type: array - items: &69 + items: &74 title: Repository description: A repository on GitHub. type: object - properties: &390 + properties: &402 id: description: Unique identifier of the repository example: 42 @@ -2893,7 +2895,7 @@ paths: title: License Simple description: License Simple type: object - properties: &192 + properties: &203 key: type: string example: mit @@ -2915,7 +2917,7 @@ paths: html_url: type: string format: uri - required: &193 + required: &204 - key - name - url @@ -3311,7 +3313,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &391 + required: &403 - archive_url - assignees_url - blobs_url @@ -7468,7 +7470,7 @@ paths: description: Response content: application/json: - schema: &234 + schema: &246 type: object properties: total_active_caches_count: @@ -7483,7 +7485,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &235 + default: &247 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7569,13 +7571,18 @@ paths: - github - partner - custom + version: + description: The image version of the hosted runner + pool. + type: string + example: latest required: - id - size_gb - display_name - source nullable: true - machine_size_details: &47 + machine_size_details: &52 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -7658,6 +7665,10 @@ paths: format: date-time example: '2022-10-09T23:39:01Z' nullable: true + image_gen: + type: boolean + description: Whether custom image generation is enabled + for the hosted runners. required: - id - name @@ -7667,7 +7678,7 @@ paths: - public_ip_enabled - platform examples: - default: &236 + default: &248 value: total_count: 2 runners: @@ -7756,6 +7767,11 @@ 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 + nullable: true size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -7775,6 +7791,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 @@ -7797,7 +7818,7 @@ paths: application/json: schema: *44 examples: - default: &48 + default: &53 value: id: 5 name: My hosted ubuntu runner @@ -7824,6 +7845,309 @@ 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: + - *41 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: &45 + 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 + example: 1 + platform: + description: The operating system of the image. + type: string + example: linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + example: 200 + name: + description: Display name for this image. + type: string + example: CustomImage + source: + description: The image provider. + type: string + example: custom + versions_count: + description: The number of image versions associated with + the image. + type: integer + example: 4 + latest_version: + description: The latest image version associated with the + image. + type: string + example: 1.3.0 + state: + description: The number of image versions associated with + the image. + type: string + example: Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + examples: + default: &47 + 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: + - *41 + - &46 + 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: *45 + examples: + default: &249 + 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: + - *41 + - *46 + 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: + - *46 + - *41 + 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: &48 + 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 + example: 1.0.0 + state: + description: The state of image version. + type: string + example: Ready + size_gb: + description: Image version size in GB. + type: integer + example: 30 + created_on: + description: The creation date time of the image version. + type: string + example: '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + example: None + required: + - version + - state + - size_gb + - created_on + - state_details + examples: + default: *47 + 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: + - *41 + - *46 + - &49 + 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: *48 + examples: + default: &250 + 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: + - *41 + - *46 + - *49 + 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 @@ -7852,7 +8176,7 @@ paths: type: integer images: type: array - items: &45 + items: &50 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -7888,7 +8212,7 @@ paths: - display_name - source examples: - default: &46 + default: &51 value: id: ubuntu-20.04 platform: linux-x64 @@ -7928,9 +8252,9 @@ paths: type: integer images: type: array - items: *45 + items: *50 examples: - default: *46 + default: *51 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -7953,7 +8277,7 @@ paths: description: Response content: application/json: - schema: &237 + schema: &251 type: object properties: public_ips: @@ -7978,7 +8302,7 @@ paths: required: - public_ips examples: - default: &238 + default: &252 value: public_ips: current_usage: 17 @@ -8016,9 +8340,9 @@ paths: type: integer machine_specs: type: array - items: *47 + items: *52 examples: - default: &239 + default: &253 value: id: 4-core cpu_cores: 4 @@ -8086,7 +8410,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise parameters: - *41 - - &49 + - &54 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -8100,7 +8424,7 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 headers: Link: *43 x-github: @@ -8121,7 +8445,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise parameters: - *41 - - *49 + - *54 requestBody: required: true content: @@ -8147,6 +8471,11 @@ 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 + nullable: true examples: default: value: @@ -8161,7 +8490,7 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8178,7 +8507,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise parameters: - *41 - - *49 + - *54 responses: '202': description: Response @@ -8186,7 +8515,7 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8254,7 +8583,7 @@ paths: schema: type: object properties: - enabled_organizations: &50 + enabled_organizations: &55 type: string description: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. @@ -8267,7 +8596,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: &51 + allowed_actions: &56 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -8275,12 +8604,12 @@ paths: - all - local_only - selected - selected_actions_url: &242 + selected_actions_url: &256 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: &52 + sha_pinning_required: &57 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -8322,9 +8651,9 @@ paths: schema: type: object properties: - enabled_organizations: *50 - allowed_actions: *51 - sha_pinning_required: *52 + enabled_organizations: *55 + allowed_actions: *56 + sha_pinning_required: *57 required: - enabled_organizations examples: @@ -8355,7 +8684,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &244 + schema: &258 type: object properties: days: @@ -8373,7 +8702,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &748 + '401': &760 description: Authorization failure '404': *6 x-github: @@ -8401,7 +8730,7 @@ paths: required: true content: application/json: - schema: &245 + schema: &259 type: object properties: days: @@ -8436,7 +8765,7 @@ paths: description: Response content: application/json: - schema: &53 + schema: &58 type: object properties: approval_policy: @@ -8450,7 +8779,7 @@ paths: required: - approval_policy examples: - default: &246 + default: &260 value: approval_policy: first_time_contributors '404': *6 @@ -8479,7 +8808,7 @@ paths: required: true content: application/json: - schema: *53 + schema: *58 examples: default: summary: Set approval policy to first time contributors @@ -8508,7 +8837,7 @@ paths: description: Response content: application/json: - schema: &247 + schema: &261 type: object required: - run_workflows_from_fork_pull_requests @@ -8534,7 +8863,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &54 + default: &59 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -8562,7 +8891,7 @@ paths: required: true content: application/json: - schema: &248 + schema: &262 type: object required: - run_workflows_from_fork_pull_requests @@ -8585,7 +8914,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *54 + default: *59 responses: '204': description: Empty response for successful settings update @@ -8625,11 +8954,11 @@ paths: type: number organizations: type: array - items: &64 + items: &69 title: Organization Simple description: A GitHub organization. type: object - properties: &111 + properties: &116 login: type: string example: github @@ -8670,7 +8999,7 @@ paths: type: string example: A great organization nullable: true - required: &112 + required: &117 - login - url - id @@ -8687,7 +9016,7 @@ paths: - total_count - organizations examples: - default: &65 + default: &70 value: total_count: 1 organizations: @@ -8766,7 +9095,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *41 - - &55 + - &60 name: org_id description: The unique identifier of the organization. in: path @@ -8795,7 +9124,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *41 - - *55 + - *60 responses: '204': description: Response @@ -8824,7 +9153,7 @@ paths: description: Response content: application/json: - schema: &56 + schema: &61 type: object properties: github_owned_allowed: @@ -8845,7 +9174,7 @@ paths: items: type: string examples: - default: &57 + default: &62 value: github_owned_allowed: true verified_allowed: false @@ -8878,9 +9207,9 @@ paths: required: true content: application/json: - schema: *56 + schema: *61 examples: - selected_actions: *57 + selected_actions: *62 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8985,17 +9314,17 @@ paths: description: Success response content: application/json: - schema: &251 + schema: &265 type: object properties: - default_workflow_permissions: &58 + default_workflow_permissions: &63 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &59 + can_approve_pull_request_reviews: &64 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -9003,7 +9332,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &60 + default: &65 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -9033,13 +9362,13 @@ paths: required: true content: application/json: - schema: &252 + schema: &266 type: object properties: - default_workflow_permissions: *58 - can_approve_pull_request_reviews: *59 + default_workflow_permissions: *63 + can_approve_pull_request_reviews: *64 examples: - default: *60 + default: *65 responses: '204': description: Success response @@ -9084,7 +9413,7 @@ paths: type: number runner_groups: type: array - items: &61 + items: &66 type: object properties: id: @@ -9263,9 +9592,9 @@ paths: description: Response content: application/json: - schema: *61 + schema: *66 examples: - default: &62 + default: &67 value: id: 2 name: octo-runner-group @@ -9300,7 +9629,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: - *41 - - &63 + - &68 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -9312,9 +9641,9 @@ paths: description: Response content: application/json: - schema: *61 + schema: *66 examples: - default: *62 + default: *67 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9334,7 +9663,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: - *41 - - *63 + - *68 requestBody: required: false content: @@ -9386,7 +9715,7 @@ paths: description: Response content: application/json: - schema: *61 + schema: *66 examples: default: value: @@ -9422,7 +9751,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: - *41 - - *63 + - *68 responses: '204': description: Response @@ -9446,7 +9775,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: - *41 - - *63 + - *68 - *17 - *19 responses: @@ -9461,12 +9790,12 @@ paths: type: number organizations: type: array - items: *64 + items: *69 required: - total_count - organizations examples: - default: *65 + default: *70 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9486,7 +9815,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: - *41 - - *63 + - *68 requestBody: required: true content: @@ -9532,8 +9861,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: - *41 - - *63 - - *55 + - *68 + - *60 responses: '204': description: Response @@ -9556,8 +9885,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: - *41 - - *63 - - *55 + - *68 + - *60 responses: '204': description: Response @@ -9581,7 +9910,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: - *41 - - *63 + - *68 - *17 - *19 responses: @@ -9596,7 +9925,7 @@ paths: type: number runners: type: array - items: &67 + items: &72 title: Self hosted runners description: A self hosted runner type: object @@ -9625,7 +9954,7 @@ paths: type: boolean labels: type: array - items: &71 + items: &76 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -9658,7 +9987,7 @@ paths: - total_count - runners examples: - default: &68 + default: &73 value: total_count: 2 runners: @@ -9718,7 +10047,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: - *41 - - *63 + - *68 requestBody: required: true content: @@ -9763,8 +10092,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: - *41 - - *63 - - &66 + - *68 + - &71 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -9793,8 +10122,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: - *41 - - *63 - - *66 + - *68 + - *71 responses: '204': description: Response @@ -9837,9 +10166,9 @@ paths: type: number runners: type: array - items: *67 + items: *72 examples: - default: *68 + default: *73 headers: Link: *43 x-github: @@ -9869,7 +10198,7 @@ paths: application/json: schema: type: array - items: &256 + items: &270 title: Runner Application description: Runner Application type: object @@ -9894,7 +10223,7 @@ paths: - download_url - filename examples: - default: &257 + default: &271 value: - os: osx architecture: x64 @@ -9978,7 +10307,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &258 + '201': &272 description: Response content: application/json: @@ -9988,7 +10317,7 @@ paths: - runner - encoded_jit_config properties: - runner: *67 + runner: *72 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -10017,7 +10346,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &109 + '409': &114 description: Conflict content: application/json: @@ -10055,7 +10384,7 @@ paths: description: Response content: application/json: - schema: &70 + schema: &75 title: Authentication Token description: Authentication Token type: object @@ -10077,7 +10406,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *69 + items: *74 single_file: type: string example: config.yaml @@ -10093,7 +10422,7 @@ paths: - token - expires_at examples: - default: &259 + default: &273 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10131,9 +10460,9 @@ paths: description: Response content: application/json: - schema: *70 + schema: *75 examples: - default: &260 + default: &274 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10157,15 +10486,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise parameters: - *41 - - *66 + - *71 responses: '200': description: Response content: application/json: - schema: *67 + schema: *72 examples: - default: &261 + default: &275 value: id: 23 name: MBP @@ -10205,7 +10534,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise parameters: - *41 - - *66 + - *71 responses: '204': description: Response @@ -10230,9 +10559,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: - *41 - - *66 + - *71 responses: - '200': &72 + '200': &77 description: Response content: application/json: @@ -10246,7 +10575,7 @@ paths: type: integer labels: type: array - items: *71 + items: *76 examples: default: value: @@ -10284,7 +10613,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: - *41 - - *66 + - *71 requestBody: required: true content: @@ -10308,7 +10637,7 @@ paths: - gpu - accelerated responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -10331,7 +10660,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: - *41 - - *66 + - *71 requestBody: required: true content: @@ -10356,7 +10685,7 @@ paths: - gpu - accelerated responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -10379,9 +10708,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: - *41 - - *66 + - *71 responses: - '200': &262 + '200': &276 description: Response content: application/json: @@ -10395,7 +10724,7 @@ paths: type: integer labels: type: array - items: *71 + items: *76 examples: default: value: @@ -10436,8 +10765,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: - *41 - - *66 - - &263 + - *71 + - &277 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10445,7 +10774,7 @@ paths: schema: type: string responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -10470,20 +10799,20 @@ paths: description: Response content: application/json: - schema: &77 + schema: &82 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: - announcement: &73 + announcement: &78 type: string description: The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see "[Basic 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)." example: Very **important** announcement about _something_. nullable: true - expires_at: &74 + expires_at: &79 type: string format: date-time description: 'The time at which the announcement expires. This @@ -10493,7 +10822,7 @@ paths: it to an empty string.' example: '"2021-01-01T00:00:00.000-07:00"' nullable: true - user_dismissible: &75 + user_dismissible: &80 type: boolean description: Whether an announcement can be dismissed by the user. example: false @@ -10504,7 +10833,7 @@ paths: - expires_at - user_dismissible examples: - default: &76 + default: &81 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10528,18 +10857,18 @@ paths: required: true content: application/json: - schema: &270 + schema: &284 title: Enterprise Announcement description: Enterprise global announcement type: object properties: - announcement: *73 - expires_at: *74 - user_dismissible: *75 + announcement: *78 + expires_at: *79 + user_dismissible: *80 required: - announcement examples: - default: *76 + default: *81 parameters: - *41 responses: @@ -10547,9 +10876,9 @@ paths: description: Response content: application/json: - schema: *77 + schema: *82 examples: - default: *76 + default: *81 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -10645,7 +10974,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization parameters: - *41 - - &78 + - &83 name: org description: The organization name. The name is not case sensitive. in: path @@ -10662,7 +10991,7 @@ paths: application/json: schema: type: array - items: &80 + items: &85 title: Accessible Repository description: A repository that may be made accessible to a GitHub App. @@ -10713,7 +11042,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: - *41 - - *78 + - *83 - *17 - *19 responses: @@ -10808,7 +11137,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: - *41 - - *78 + - *83 responses: '200': description: A GitHub App installation that was installed previously. @@ -10816,14 +11145,14 @@ paths: application/json: schema: *22 examples: - default: *79 + default: *84 '201': description: A GitHub App installation. content: application/json: schema: *22 examples: - default: *79 + default: *84 requestBody: required: true content: @@ -10891,7 +11220,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: - *41 - - *78 + - *83 - *23 responses: '204': @@ -10919,7 +11248,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: - *41 - - *78 + - *83 - *23 - *17 - *19 @@ -10931,7 +11260,7 @@ paths: application/json: schema: type: array - items: *80 + items: *85 examples: default: value: @@ -10960,7 +11289,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: - *41 - - *78 + - *83 - *23 requestBody: required: true @@ -11000,7 +11329,7 @@ paths: application/json: schema: *22 examples: - default: *79 + default: *84 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11021,7 +11350,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation parameters: - *41 - - *78 + - *83 - *23 responses: '200': @@ -11031,7 +11360,7 @@ paths: application/json: schema: type: array - items: *80 + items: *85 examples: default: value: @@ -11082,7 +11411,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation parameters: - *41 - - *78 + - *83 - *23 responses: '200': @@ -11092,7 +11421,7 @@ paths: application/json: schema: type: array - items: *80 + items: *85 examples: default: value: @@ -11169,7 +11498,7 @@ paths: required: false schema: type: string - - &271 + - &285 name: include description: |- The event types to include: @@ -11187,7 +11516,7 @@ paths: - web - git - all - - &272 + - &286 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. @@ -11195,7 +11524,7 @@ paths: required: false schema: type: string - - &273 + - &287 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. @@ -11203,7 +11532,7 @@ paths: required: false schema: type: string - - &274 + - &288 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11225,7 +11554,7 @@ paths: application/json: schema: type: array - items: &275 + items: &289 type: object properties: "@timestamp": @@ -11347,7 +11676,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &276 + default: &290 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11526,7 +11855,7 @@ paths: vendor_specific: type: object oneOf: - - &84 + - &89 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -11545,7 +11874,7 @@ paths: - key_id - encrypted_sas_url - container - - &85 + - &90 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -11564,7 +11893,7 @@ paths: - name - encrypted_connstring - key_id - - &86 + - &91 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -11592,7 +11921,7 @@ paths: - bucket - key_id - region - - &87 + - &92 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -11626,7 +11955,7 @@ paths: - encrypted_secret_key - key_id - region - - &88 + - &93 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -11654,7 +11983,7 @@ paths: - key_id - port - ssl_verify - - &89 + - &94 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -11686,7 +12015,7 @@ paths: - key_id - port - ssl_verify - - &90 + - &95 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -11704,7 +12033,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &91 + - &96 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -11735,7 +12064,7 @@ paths: - stream_type - vendor_specific examples: - default: &92 + default: &97 value: enabled: false stream_type: Azure Event Hubs @@ -11749,7 +12078,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &81 + schema: &86 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -11780,7 +12109,7 @@ paths: - created_at - updated_at examples: - default: &82 + default: &87 value: id: 1 stream_type: Splunk @@ -11809,7 +12138,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: - *41 - - &83 + - &88 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -11821,9 +12150,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *81 + schema: *86 examples: - default: *82 + default: *87 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11843,7 +12172,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *41 - - *83 + - *88 requestBody: required: true content: @@ -11869,28 +12198,28 @@ paths: vendor_specific: type: object oneOf: - - *84 - - *85 - - *86 - - *87 - - *88 - *89 - *90 - *91 + - *92 + - *93 + - *94 + - *95 + - *96 required: - enabled - stream_type - vendor_specific examples: - default: *92 + default: *97 responses: '200': description: Successful update content: application/json: - schema: *81 + schema: *86 examples: - default: *82 + default: *87 '422': description: Validation error content: @@ -11921,7 +12250,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: - *41 - - *83 + - *88 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -11948,13 +12277,13 @@ paths: subcategory: bypass-requests parameters: - *41 - - &93 + - &98 name: organization_name description: The name of the organization to filter on. in: query schema: type: string - - &94 + - &99 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -11962,7 +12291,7 @@ paths: required: false schema: type: string - - &95 + - &100 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -11970,7 +12299,7 @@ paths: required: false schema: type: string - - &96 + - &101 name: time_period description: |- The time period to filter by. @@ -11986,7 +12315,7 @@ paths: - week - month default: day - - &97 + - &102 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -12013,7 +12342,7 @@ paths: application/json: schema: type: array - items: &277 + items: &291 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12130,7 +12459,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &98 + items: &103 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -12174,7 +12503,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &278 + default: &292 value: - id: 21 number: 42 @@ -12265,11 +12594,11 @@ paths: subcategory: delegated-bypass parameters: - *41 - - *93 - - *94 - - *95 - - *96 - - *97 + - *98 + - *99 + - *100 + - *101 + - *102 - *17 - *19 responses: @@ -12279,7 +12608,7 @@ paths: application/json: schema: type: array - items: &280 + items: &294 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12393,7 +12722,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *98 + items: *103 url: type: string format: uri @@ -12404,7 +12733,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &281 + default: &295 value: - id: 21 number: 42 @@ -12489,17 +12818,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &286 + - &300 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: &102 + schema: &107 type: string description: The name of the tool used to generate the code scanning analysis. - - &287 + - &301 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 @@ -12507,22 +12836,22 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &103 + schema: &108 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *99 - - *100 + - *104 + - *105 - *19 - *17 - - *101 + - *106 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &288 + schema: &302 type: string description: State of a code scanning alert. enum: @@ -12547,42 +12876,42 @@ paths: application/json: schema: type: array - items: &289 + items: &303 type: object properties: - number: &113 + number: &123 type: integer description: The security alert number. readOnly: true - created_at: &120 + created_at: &130 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: &121 + updated_at: &131 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: &118 + url: &128 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &119 + html_url: &129 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &526 + instances_url: &538 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &104 + state: &109 type: string description: State of a code scanning alert. nullable: true @@ -12590,7 +12919,7 @@ paths: - open - dismissed - fixed - fixed_at: &123 + fixed_at: &133 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12604,14 +12933,14 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &122 + dismissed_at: &132 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - dismissed_reason: &527 + dismissed_reason: &539 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12620,13 +12949,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &528 + dismissed_comment: &540 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &529 + rule: &541 type: object properties: id: @@ -12679,25 +13008,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &530 + tool: &542 type: object properties: - name: *102 + name: *107 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *103 - most_recent_instance: &531 + guid: *108 + most_recent_instance: &543 type: object properties: - ref: &524 + ref: &536 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &541 + analysis_key: &553 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12708,13 +13037,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &542 + category: &554 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: *104 + state: *109 commit_sha: type: string message: @@ -12753,11 +13082,11 @@ paths: - generated - test - library - repository: &110 + repository: &115 title: Simple Repository description: A GitHub repository. type: object - properties: &220 + properties: &232 id: type: integer format: int64 @@ -12984,7 +13313,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &221 + required: &233 - archive_url - assignees_url - blobs_url @@ -13056,7 +13385,7 @@ paths: - most_recent_instance - repository examples: - default: &290 + default: &304 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13287,7 +13616,7 @@ paths: headers: Link: *43 '404': *6 - '503': &167 + '503': &177 description: Service unavailable content: application/json: @@ -13331,8 +13660,8 @@ paths: schema: type: integer default: 30 - - *99 - - *100 + - *104 + - *105 responses: '200': description: Response @@ -13340,7 +13669,7 @@ paths: application/json: schema: type: array - items: &105 + items: &110 type: object description: A code security configuration properties: @@ -13709,7 +14038,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &291 + code_scanning_options: &305 type: object description: Security Configuration feature options for code scanning nullable: true @@ -13726,7 +14055,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &108 + code_scanning_default_setup_options: &113 type: object description: Feature options for code scanning default setup nullable: true @@ -13843,9 +14172,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *105 + schema: *110 examples: - default: &106 + default: &111 value: id: 1325 target_type: enterprise @@ -13903,7 +14232,7 @@ paths: description: Response content: application/json: - schema: &293 + schema: &307 type: array description: A list of default code security configurations items: @@ -13917,9 +14246,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *105 + configuration: *110 examples: - default: &294 + default: &308 value: - default_for_new_repos: public configuration: @@ -14008,7 +14337,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *41 - - &107 + - &112 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -14020,9 +14349,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *110 examples: - default: *106 + default: *111 '304': *37 '403': *29 '404': *6 @@ -14047,7 +14376,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *41 - - *107 + - *112 requestBody: required: true content: @@ -14126,7 +14455,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *108 + code_scanning_default_setup_options: *113 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -14214,13 +14543,13 @@ paths: description: Response content: application/json: - schema: *105 + schema: *110 examples: - default: *106 + default: *111 '304': *37 '403': *29 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14244,14 +14573,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *41 - - *107 + - *112 responses: - '204': &133 + '204': &143 description: A header with no content is returned. '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14276,7 +14605,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *41 - - *107 + - *112 requestBody: required: true content: @@ -14303,7 +14632,7 @@ paths: '202': *39 '403': *29 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14328,7 +14657,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: - *41 - - *107 + - *112 requestBody: required: true content: @@ -14368,12 +14697,12 @@ paths: - none - private_and_internal - public - configuration: *105 + configuration: *110 examples: default: value: default_for_new_repos: all - configuration: &292 + configuration: &306 value: id: 1325 target_type: organization @@ -14430,7 +14759,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *41 - - *107 + - *112 - 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)." @@ -14439,8 +14768,8 @@ paths: schema: type: integer default: 30 - - *99 - - *100 + - *104 + - *105 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -14458,7 +14787,7 @@ paths: application/json: schema: type: array - items: &295 + items: &309 type: object description: Repositories associated with a code security configuration and attachment status @@ -14476,13 +14805,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *110 + repository: *115 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &296 + repository: &310 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14947,7 +15276,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &124 + items: &134 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -14964,14 +15293,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *111 - required: *112 + properties: *116 + required: *117 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &282 + - &296 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15046,7 +15375,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &355 + properties: &367 id: description: Unique identifier of the team type: integer @@ -15118,7 +15447,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &356 + required: &368 - id - node_id - url @@ -15144,7 +15473,7 @@ paths: - slug - parent - type - - &178 + - &188 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -15254,7 +15583,7 @@ paths: - created_at additionalProperties: false examples: - default: &125 + default: &135 value: total_seats: 2 seats: @@ -15706,7 +16035,7 @@ paths: application/json: schema: type: array - items: &175 + items: &185 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16013,7 +16342,7 @@ paths: - date additionalProperties: true examples: - default: &176 + default: &186 value: - date: '2024-06-24' total_active_users: 24 @@ -16115,7 +16444,7 @@ paths: '500': *40 '403': *29 '404': *6 - '422': &177 + '422': &187 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16126,6 +16455,212 @@ 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: + - *41 + - &118 + name: day + description: The day to request data for, in `YYYY-MM-DD` format. + in: query + required: true + schema: + type: string + format: date + example: '2025-10-13' + responses: + '200': + description: Response + content: + application/json: + schema: &119 + 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: &120 + 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': *40 + '403': *29 + '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: + - *41 + responses: + '200': + description: Response + content: + application/json: + schema: &121 + 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: &122 + 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': *40 + '403': *29 + '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: + - *41 + - *118 + responses: + '200': + description: Response + content: + application/json: + schema: *119 + examples: + default: *120 + '500': *40 + '403': *29 + '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: + - *41 + responses: + '200': + description: Response + content: + application/json: + schema: *121 + examples: + default: *122 + '500': *40 + '403': *29 + '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 @@ -16145,7 +16680,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &303 + - &317 name: state in: query description: |- @@ -16154,7 +16689,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &304 + - &318 name: severity in: query description: |- @@ -16163,7 +16698,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &305 + - &319 name: ecosystem in: query description: |- @@ -16172,14 +16707,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &306 + - &320 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 - - &307 + - &321 name: epss_percentage in: query description: |- @@ -16191,7 +16726,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 - - &581 + - &593 name: has in: query description: |- @@ -16205,7 +16740,7 @@ paths: type: string enum: - patch - - &308 + - &322 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16215,7 +16750,7 @@ paths: enum: - development - runtime - - &309 + - &323 name: sort in: query description: |- @@ -16230,34 +16765,9 @@ paths: - updated - epss_percentage default: created - - *101 - - *99 - - *100 - - &310 - 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 - - &311 - 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 + - *106 + - *104 + - *105 - *17 responses: '200': @@ -16266,11 +16776,11 @@ paths: application/json: schema: type: array - items: &312 + items: &324 type: object description: A Dependabot alert. properties: - number: *113 + number: *123 state: type: string description: The state of the Dependabot alert. @@ -16285,7 +16795,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &114 + package: &124 type: object description: Details for the vulnerable package. readOnly: true @@ -16329,7 +16839,7 @@ paths: - unknown - direct - transitive - security_advisory: &582 + security_advisory: &594 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16359,13 +16869,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &117 + items: &127 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *114 + package: *124 severity: type: string description: The severity of the vulnerability. @@ -16431,8 +16941,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *115 - epss: *116 + cvss_severities: *125 + epss: *126 cwes: type: array description: Details for the advisory pertaining to Common @@ -16531,12 +17041,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *117 - url: *118 - html_url: *119 - created_at: *120 - updated_at: *121 - dismissed_at: *122 + security_vulnerability: *127 + url: *128 + html_url: *129 + created_at: *130 + updated_at: *131 + dismissed_at: *132 dismissed_by: title: Simple User description: A GitHub user. @@ -16560,15 +17070,15 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *123 - auto_dismissed_at: &583 + fixed_at: *133 + auto_dismissed_at: &595 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - repository: *110 + repository: *115 required: - number - state @@ -16587,7 +17097,7 @@ paths: - repository additionalProperties: false examples: - default: &313 + default: &325 value: - number: 2 state: dismissed @@ -17004,7 +17514,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *41 - - &182 + - &192 name: username description: The handle for the GitHub user account. in: path @@ -17026,9 +17536,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *124 + items: *134 examples: - default: *125 + default: *135 '500': *40 '401': *25 '403': *29 @@ -17071,7 +17581,7 @@ paths: type: integer network_configurations: type: array - items: &126 + items: &136 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -17111,7 +17621,7 @@ paths: - name - created_on examples: - default: &423 + default: &435 value: total_count: 2 network_configurations: @@ -17189,9 +17699,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *136 examples: - default: &127 + default: &137 value: id: 123456789ABCDEF name: My network configuration @@ -17218,7 +17728,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: - *41 - - &128 + - &138 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -17230,9 +17740,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *136 examples: - default: *127 + default: *137 headers: Link: *43 x-github: @@ -17252,7 +17762,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: - *41 - - *128 + - *138 requestBody: required: true content: @@ -17291,9 +17801,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *136 examples: - default: *127 + default: *137 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17311,7 +17821,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: - *41 - - *128 + - *138 responses: '204': description: Response @@ -17334,7 +17844,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &424 + - &436 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17346,7 +17856,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &437 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17380,7 +17890,7 @@ paths: - subnet_id - region examples: - default: &426 + default: &438 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17415,7 +17925,7 @@ paths: application/json: schema: type: array - items: &129 + items: &139 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -17481,7 +17991,7 @@ paths: - property_name - value_type examples: - default: &130 + default: &140 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17538,7 +18048,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *129 + items: *139 minItems: 1 maxItems: 100 required: @@ -17568,9 +18078,9 @@ paths: application/json: schema: type: array - items: *129 + items: *139 examples: - default: *130 + default: *140 '403': *29 '404': *6 x-github: @@ -17593,8 +18103,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *41 - - *78 - - &131 + - *83 + - &141 name: custom_property_name description: The custom property name in: path @@ -17606,9 +18116,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *139 examples: - default: &132 + default: &142 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -17641,15 +18151,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *131 + - *141 responses: '200': description: Response content: application/json: - schema: *129 + schema: *139 examples: - default: *132 + default: *142 '403': *29 '404': *6 x-github: @@ -17671,12 +18181,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: - *41 - - *131 + - *141 requestBody: required: true content: application/json: - schema: &388 + schema: &400 title: Custom Property Set Payload description: Custom property set payload type: object @@ -17740,9 +18250,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *139 examples: - default: *132 + default: *142 '403': *29 '404': *6 x-github: @@ -17764,9 +18274,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *131 + - *141 responses: - '204': *133 + '204': *143 '403': *29 '404': *6 x-github: @@ -17806,7 +18316,7 @@ paths: - push - repository default: branch - enforcement: &140 + enforcement: &150 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -17819,7 +18329,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &141 + items: &151 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -17860,7 +18370,7 @@ paths: - pull_request - exempt default: always - conditions: &164 + conditions: &174 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -17874,7 +18384,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &134 + - &144 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -17900,7 +18410,7 @@ paths: type: string required: - organization_name - - &137 + - &147 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -17929,7 +18439,7 @@ paths: is prevented. required: - repository_name - - &136 + - &146 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -17957,8 +18467,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *134 - - &139 + - *144 + - &149 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -17971,7 +18481,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &135 + items: &145 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -18002,16 +18512,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *135 + items: *145 required: - repository_property - - *136 + - *146 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &138 + - &148 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -18028,25 +18538,25 @@ paths: type: integer required: - organization_id - - *137 - - *136 + - *147 + - *146 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *138 - - *139 - - *136 + - *148 + - *149 + - *146 rules: type: array description: An array of rules within the ruleset. - items: &165 + items: &175 title: Repository Rule type: object description: A repository rule. oneOf: - - &142 + - &152 title: creation description: Only allow users with bypass permission to create matching refs. @@ -18058,7 +18568,7 @@ paths: type: string enum: - creation - - &143 + - &153 title: update description: Only allow users with bypass permission to update matching refs. @@ -18079,7 +18589,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &144 + - &154 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -18091,7 +18601,7 @@ paths: type: string enum: - deletion - - &145 + - &155 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -18103,7 +18613,7 @@ paths: type: string enum: - required_linear_history - - &146 + - &156 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -18127,7 +18637,7 @@ paths: type: string required: - required_deployment_environments - - &147 + - &157 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -18139,7 +18649,7 @@ paths: type: string enum: - required_signatures - - &148 + - &158 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. @@ -18199,7 +18709,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &149 + - &159 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -18246,7 +18756,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &150 + - &160 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -18258,7 +18768,7 @@ paths: type: string enum: - non_fast_forward - - &151 + - &161 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -18294,7 +18804,7 @@ paths: required: - operator - pattern - - &152 + - &162 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -18330,7 +18840,7 @@ paths: required: - operator - pattern - - &153 + - &163 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18366,7 +18876,7 @@ paths: required: - operator - pattern - - &154 + - &164 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18402,7 +18912,7 @@ paths: required: - operator - pattern - - &155 + - &165 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -18438,7 +18948,7 @@ paths: required: - operator - pattern - - &156 + - &166 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -18462,7 +18972,7 @@ paths: type: string required: - restricted_file_paths - - &157 + - &167 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -18486,7 +18996,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &158 + - &168 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -18509,7 +19019,7 @@ paths: type: string required: - restricted_file_extensions - - &159 + - &169 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -18533,7 +19043,7 @@ paths: maximum: 100 required: - max_file_size - - &160 + - &170 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -18582,7 +19092,7 @@ paths: - repository_id required: - workflows - - &161 + - &171 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -18668,7 +19178,7 @@ paths: description: Response content: application/json: - schema: &162 + schema: &172 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -18703,11 +19213,11 @@ paths: source: type: string description: The name of the source - enforcement: *140 + enforcement: *150 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 + items: *151 current_user_can_bypass: type: string description: |- @@ -18739,8 +19249,8 @@ paths: conditions: nullable: true anyOf: - - *136 - - &395 + - *146 + - &407 title: Organization ruleset conditions type: object description: |- @@ -18754,14 +19264,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *136 - - *137 + - *146 + - *147 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *136 + - *146 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -18783,20 +19293,20 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *136 - - *139 + - *146 + - *149 rules: type: array - items: &703 + items: &715 title: Repository Rule type: object description: A repository rule. oneOf: - - *142 - - *143 - - *144 - - *145 - - &700 + - *152 + - *153 + - *154 + - *155 + - &712 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -18874,23 +19384,23 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *146 - - *147 - - *148 - - *149 - - *150 - - *151 - - *152 - - *153 - - *154 - - *155 - *156 - *157 - *158 - *159 - *160 - *161 - - &701 + - *162 + - *163 + - *164 + - *165 + - *166 + - *167 + - *168 + - *169 + - *170 + - *171 + - &713 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -18920,7 +19430,7 @@ paths: type: string format: date-time examples: - default: &163 + default: &173 value: id: 21 name: super cool ruleset @@ -18979,9 +19489,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: *163 + default: *173 '404': *6 '500': *40 x-github: @@ -19025,16 +19535,16 @@ paths: - tag - push - repository - enforcement: *140 + enforcement: *150 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *164 + items: *151 + conditions: *174 rules: description: An array of rules within the ruleset. type: array - items: *165 + items: *175 examples: default: value: @@ -19058,9 +19568,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: *163 + default: *173 '404': *6 '500': *40 x-github: @@ -19122,7 +19632,7 @@ paths: application/json: schema: type: array - items: &166 + items: &176 title: Ruleset version type: object description: The historical version of a ruleset @@ -19146,7 +19656,7 @@ paths: type: string format: date-time examples: - default: &398 + default: &410 value: - version_id: 3 actor: @@ -19199,9 +19709,9 @@ paths: description: Response content: application/json: - schema: &399 + schema: &411 allOf: - - *166 + - *176 - type: object required: - state @@ -19254,7 +19764,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &400 + - &412 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19265,7 +19775,7 @@ paths: enum: - open - resolved - - &401 + - &413 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19275,7 +19785,7 @@ paths: required: false schema: type: string - - &402 + - &414 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19284,7 +19794,7 @@ paths: required: false schema: type: string - - &403 + - &415 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. @@ -19296,11 +19806,11 @@ paths: - created - updated default: created - - *101 + - *106 - *17 - - *99 - - *100 - - &404 + - *104 + - *105 + - &416 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19309,7 +19819,7 @@ paths: required: false schema: type: string - - &405 + - &417 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19318,7 +19828,7 @@ paths: schema: type: boolean default: false - - &406 + - &418 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19327,7 +19837,7 @@ paths: schema: type: boolean default: false - - &407 + - &419 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19343,11 +19853,11 @@ paths: application/json: schema: type: array - items: &408 + items: &420 type: object properties: - number: *113 - created_at: *120 + number: *123 + created_at: *130 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -19355,21 +19865,21 @@ paths: format: date-time readOnly: true nullable: true - url: *118 - html_url: *119 + url: *128 + html_url: *129 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &715 + state: &727 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: &716 + resolution: &728 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -19403,7 +19913,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *110 + repository: *115 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -19476,8 +19986,8 @@ paths: pull request. ' - oneOf: &717 - - &719 + oneOf: &729 + - &731 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -19529,7 +20039,7 @@ paths: - blob_url - commit_sha - commit_url - - &720 + - &732 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. @@ -19584,7 +20094,7 @@ paths: - page_url - commit_sha - commit_url - - &721 + - &733 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -19598,7 +20108,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &722 + - &734 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -19612,7 +20122,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &723 + - &735 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -19626,7 +20136,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &724 + - &736 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -19640,7 +20150,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &725 + - &737 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -19654,7 +20164,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &726 + - &738 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -19668,7 +20178,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &727 + - &739 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. @@ -19682,7 +20192,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &728 + - &740 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. @@ -19696,7 +20206,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &729 + - &741 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. @@ -19710,7 +20220,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &730 + - &742 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. @@ -19724,7 +20234,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &731 + - &743 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. @@ -19751,7 +20261,7 @@ paths: required: *21 nullable: true examples: - default: &409 + default: &421 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -19929,9 +20439,9 @@ paths: headers: Link: *43 '404': *6 - '503': *167 + '503': *177 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -19960,13 +20470,13 @@ paths: description: Response content: application/json: - schema: &410 + schema: &422 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: &169 + pattern_config_version: &179 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -19975,7 +20485,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &168 + items: &178 type: object properties: token_type: @@ -20041,9 +20551,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *168 + items: *178 examples: - default: &411 + default: &423 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20098,7 +20608,7 @@ paths: schema: type: object properties: - pattern_config_version: *169 + pattern_config_version: *179 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -20124,7 +20634,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *169 + custom_pattern_version: *179 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -20160,7 +20670,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *15 "/enterprises/{enterprise}/settings/billing/actions": get: @@ -20187,7 +20697,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &426 type: object properties: total_minutes_used: @@ -20257,7 +20767,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &415 + default: &427 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20288,7 +20798,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &416 + - &428 name: advanced_security_product in: query description: | @@ -20308,7 +20818,7 @@ paths: description: Success content: application/json: - schema: &417 + schema: &429 type: object properties: total_advanced_security_committers: @@ -20363,7 +20873,7 @@ paths: required: - repositories examples: - default: &418 + default: &430 value: total_advanced_security_committers: 2 total_count: 2 @@ -20402,6 +20912,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise parameters: - *41 + - 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 @@ -20473,7 +20993,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20602,7 +21122,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *41 - - &172 + - &182 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -20614,7 +21134,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &170 + schema: &180 type: object properties: id: @@ -20653,7 +21173,7 @@ paths: - name - resources examples: - default: &171 + default: &181 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -20667,7 +21187,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20717,15 +21237,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *170 + schema: *180 examples: - default: *171 + default: *181 '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20743,7 +21263,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *41 - - *172 + - *182 responses: '200': description: Response when deleting a cost center @@ -20782,7 +21302,7 @@ paths: '404': *6 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20803,7 +21323,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *41 - - *172 + - *182 requestBody: required: true content: @@ -20873,9 +21393,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *29 - '409': *109 + '409': *114 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20895,7 +21415,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *41 - - *172 + - *182 requestBody: required: true content: @@ -20942,7 +21462,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20973,7 +21493,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &431 type: object properties: total_gigabytes_bandwidth_used: @@ -20991,7 +21511,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &420 + default: &432 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21004,8 +21524,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 @@ -21014,7 +21536,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *41 - - &173 + - &183 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, @@ -21023,7 +21545,7 @@ paths: required: false schema: type: integer - - &222 + - &234 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 @@ -21032,7 +21554,7 @@ paths: required: false schema: type: integer - - &174 + - &184 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 @@ -21048,21 +21570,21 @@ paths: required: false schema: type: string - - &223 + - &235 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &224 + - &236 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &225 + - &237 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21146,19 +21668,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 @@ -21201,7 +21723,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21232,7 +21754,7 @@ paths: description: Response content: application/json: - schema: &421 + schema: &433 type: object properties: days_left_in_billing_cycle: @@ -21250,7 +21772,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &422 + default: &434 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21275,8 +21797,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - *173 - - &226 + - *183 + - &238 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 @@ -21285,8 +21807,8 @@ paths: required: false schema: type: integer - - *174 - - &227 + - *184 + - &239 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 @@ -21307,7 +21829,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &228 + schema: &240 type: object properties: usageItems: @@ -21360,7 +21882,7 @@ paths: - netAmount - organizationName examples: - default: &229 + default: &241 value: usageItems: - date: '2023-08-01' @@ -21377,7 +21899,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21448,13 +21970,13 @@ paths: application/json: schema: type: array - items: *175 + items: *185 examples: - default: *176 + default: *186 '500': *40 '403': *29 '404': *6 - '422': *177 + '422': *187 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -21481,9 +22003,9 @@ paths: application/json: schema: type: array - items: *178 + items: *188 examples: - default: &179 + default: &189 value: - id: 1 name: Justice League @@ -21539,6 +22061,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: nullable: true type: string @@ -21557,9 +22091,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *188 examples: - default: *179 + default: *189 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21577,7 +22111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &180 + - &190 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -21596,7 +22130,7 @@ paths: type: array items: *4 examples: - default: &181 + default: &191 value: - login: octocat id: 1 @@ -21635,7 +22169,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *180 + - *190 requestBody: required: true content: @@ -21666,7 +22200,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21684,7 +22218,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *180 + - *190 requestBody: required: true content: @@ -21715,7 +22249,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21733,8 +22267,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *180 - - *182 + - *190 + - *192 responses: '200': description: User is a member of the enterprise team. @@ -21742,7 +22276,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &183 + exampleKey1: &193 value: login: octocat id: 1 @@ -21778,8 +22312,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *180 - - *182 + - *190 + - *192 responses: '201': description: Successfully added team member @@ -21787,7 +22321,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *183 + exampleKey1: *193 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21805,8 +22339,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *180 - - *182 + - *190 + - *192 responses: '204': description: Response @@ -21816,6 +22350,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: + - *41 + - *190 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: *69 + examples: + default: &194 + 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: + - *41 + - *190 + 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: *69 + examples: + default: &231 + 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: + - *41 + - *190 + 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: + - *41 + - *190 + - *83 + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *69 + examples: + default: *194 + '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: + - *41 + - *190 + - *83 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *69 + examples: + default: *194 + 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: + - *41 + - *190 + - *83 + 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 @@ -21831,7 +22586,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &184 + - &195 name: team_slug description: The slug of the team name. in: path @@ -21843,9 +22598,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *188 examples: - default: *179 + default: *189 headers: Link: *43 '403': *29 @@ -21865,7 +22620,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *184 + - *195 requestBody: required: true content: @@ -21891,6 +22646,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: nullable: true type: string @@ -21908,9 +22675,9 @@ paths: description: Response content: application/json: - schema: *178 + schema: *188 examples: - default: *179 + default: *189 headers: Link: *43 '403': *29 @@ -21933,7 +22700,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *184 + - *195 responses: '204': description: Response @@ -22032,7 +22799,7 @@ paths: application/json: schema: type: array - items: &215 + items: &226 title: Event description: Event type: object @@ -22042,7 +22809,7 @@ paths: type: type: string nullable: true - actor: &185 + actor: &196 title: Actor description: Actor type: object @@ -22082,7 +22849,7 @@ paths: - id - name - url - org: *185 + org: *196 payload: oneOf: - title: CreateEvent @@ -22128,7 +22895,7 @@ paths: properties: action: type: string - discussion: &854 + discussion: &865 title: Discussion description: A Discussion in a repository. type: object @@ -22415,7 +23182,7 @@ paths: - id labels: type: array - items: &188 + items: &199 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -22490,12 +23257,12 @@ paths: properties: action: type: string - issue: &189 + issue: &200 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &640 + properties: &652 id: type: integer format: int64 @@ -22609,7 +23376,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &380 + properties: &392 url: type: string format: uri @@ -22679,7 +23446,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &381 + required: &393 - closed_issues - creator - description @@ -22758,7 +23525,7 @@ paths: timeline_url: type: string format: uri - type: &342 + type: &354 title: Issue Type description: The type of issue. type: object @@ -22808,7 +23575,7 @@ paths: - node_id - name - description - repository: *69 + repository: *74 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -22819,9 +23586,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - author_association: &190 + properties: *197 + required: *198 + author_association: &201 title: author_association type: string example: OWNER @@ -22836,7 +23603,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &191 + reactions: &202 title: Reaction Rollup type: object properties: @@ -22872,7 +23639,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &775 + sub_issues_summary: &787 title: Sub-issues Summary type: object properties: @@ -22892,7 +23659,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &776 + issue_dependencies_summary: &788 title: Issue Dependencies Summary type: object properties: @@ -22911,7 +23678,7 @@ paths: - total_blocking issue_field_values: type: array - items: &777 + items: &789 title: Issue Field Value description: A value assigned to an issue field type: object @@ -22972,7 +23739,7 @@ paths: - node_id - data_type - value - required: &641 + required: &653 - assignee - closed_at - comments @@ -22997,10 +23764,10 @@ paths: assignees: type: array items: *4 - label: *188 + label: *199 labels: type: array - items: *188 + items: *199 required: - action - issue @@ -23009,8 +23776,8 @@ paths: properties: action: type: string - issue: *189 - comment: &638 + issue: *200 + comment: &650 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -23058,7 +23825,7 @@ paths: issue_url: type: string format: uri - author_association: *190 + author_association: *201 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -23069,9 +23836,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - reactions: *191 + properties: *197 + required: *198 + reactions: *202 required: - id - node_id @@ -23244,8 +24011,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true allow_forking: type: boolean @@ -23334,7 +24101,7 @@ paths: type: string number: type: integer - pull_request: &194 + pull_request: &205 title: Pull Request Minimal type: object properties: @@ -23405,10 +24172,10 @@ paths: assignees: type: array items: *4 - label: *188 + label: *199 labels: type: array - items: *188 + items: *199 required: - action - number @@ -23418,7 +24185,7 @@ paths: properties: action: type: string - pull_request: *194 + pull_request: *205 comment: type: object properties: @@ -23669,7 +24436,7 @@ paths: - pull_request updated_at: type: string - pull_request: *194 + pull_request: *205 required: - action - review @@ -23718,7 +24485,7 @@ paths: updated_at: type: string format: date-time - reactions: *191 + reactions: *202 required: - action - comment @@ -23729,7 +24496,7 @@ paths: type: string release: allOf: - - &693 + - &705 title: Release description: A release. type: object @@ -23800,7 +24567,7 @@ paths: author: *4 assets: type: array - items: &694 + items: &706 title: Release Asset description: Data related to a release. type: object @@ -23875,7 +24642,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *191 + reactions: *202 required: - assets_url - upload_url @@ -23967,7 +24734,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24048,7 +24815,7 @@ paths: _links: type: object properties: - timeline: &195 + timeline: &206 title: Link With Type description: Hypermedia Link with Type type: object @@ -24060,17 +24827,17 @@ paths: required: - href - type - user: *195 - security_advisories: *195 - current_user: *195 - current_user_public: *195 - current_user_actor: *195 - current_user_organization: *195 + user: *206 + security_advisories: *206 + current_user: *206 + current_user_public: *206 + current_user_actor: *206 + current_user_organization: *206 current_user_organizations: type: array - items: *195 - repository_discussions: *195 - repository_discussions_category: *195 + items: *206 + repository_discussions: *206 + repository_discussions_category: *206 required: - timeline - user @@ -24132,7 +24899,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *196 + - *207 - *17 - *19 responses: @@ -24142,7 +24909,7 @@ paths: application/json: schema: type: array - items: &197 + items: &208 title: Base Gist description: Base Gist type: object @@ -24241,7 +25008,7 @@ paths: - created_at - updated_at examples: - default: &198 + default: &209 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -24362,7 +25129,7 @@ paths: description: Response content: application/json: - schema: &199 + schema: &210 title: Gist Simple description: Gist Simple type: object @@ -24379,7 +25146,7 @@ paths: url: type: string format: uri - user: &789 + user: &801 title: Public User description: Public User type: object @@ -24741,7 +25508,7 @@ paths: truncated: type: boolean examples: - default: &200 + default: &211 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -24845,7 +25612,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *196 + - *207 - *17 - *19 responses: @@ -24855,9 +25622,9 @@ paths: application/json: schema: type: array - items: *197 + items: *208 examples: - default: *198 + default: *209 headers: Link: *43 '422': *15 @@ -24879,7 +25646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *196 + - *207 - *17 - *19 responses: @@ -24889,9 +25656,9 @@ paths: application/json: schema: type: array - items: *197 + items: *208 examples: - default: *198 + default: *209 headers: Link: *43 '401': *25 @@ -24919,7 +25686,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &201 + - &212 name: gist_id description: The unique identifier of the gist. in: path @@ -24931,10 +25698,10 @@ paths: description: Response content: application/json: - schema: *199 + schema: *210 examples: - default: *200 - '403': &204 + default: *211 + '403': &215 description: Forbidden Gist content: application/json: @@ -24982,7 +25749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *201 + - *212 requestBody: required: true content: @@ -25042,9 +25809,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *210 examples: - updateGist: *200 + updateGist: *211 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25202,7 +25969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *201 + - *212 responses: '204': description: Response @@ -25231,7 +25998,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *201 + - *212 - *17 - *19 responses: @@ -25241,7 +26008,7 @@ paths: application/json: schema: type: array - items: &202 + items: &213 title: Gist Comment description: A comment made to a gist. type: object @@ -25276,7 +26043,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *190 + author_association: *201 required: - url - id @@ -25341,7 +26108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *201 + - *212 requestBody: required: true content: @@ -25366,9 +26133,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *213 examples: - default: &203 + default: &214 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -25426,8 +26193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *201 - - &205 + - *212 + - &216 name: comment_id description: The unique identifier of the comment. in: path @@ -25440,12 +26207,12 @@ paths: description: Response content: application/json: - schema: *202 + schema: *213 examples: - default: *203 + default: *214 '304': *37 '404': *6 - '403': *204 + '403': *215 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -25467,8 +26234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *201 - - *205 + - *212 + - *216 requestBody: required: true content: @@ -25493,9 +26260,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *213 examples: - default: *203 + default: *214 '404': *6 x-github: githubCloudOnly: false @@ -25512,8 +26279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *201 - - *205 + - *212 + - *216 responses: '204': description: Response @@ -25536,7 +26303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *201 + - *212 - *17 - *19 responses: @@ -25637,7 +26404,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *201 + - *212 - *17 - *19 responses: @@ -25647,7 +26414,7 @@ paths: application/json: schema: type: array - items: *199 + items: *210 examples: default: value: @@ -25712,13 +26479,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *201 + - *212 responses: '201': description: Response content: application/json: - schema: *197 + schema: *208 examples: default: value: @@ -25789,7 +26556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *201 + - *212 responses: '204': description: Response if gist is starred @@ -25819,7 +26586,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *201 + - *212 responses: '204': description: Response @@ -25841,7 +26608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *201 + - *212 responses: '204': description: Response @@ -25870,7 +26637,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *201 + - *212 - name: sha in: path required: true @@ -25881,9 +26648,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *210 examples: - default: *200 + default: *211 '422': *15 '404': *6 '403': *29 @@ -26042,7 +26809,7 @@ paths: type: integer repositories: type: array - items: *69 + items: *74 repository_selection: type: string example: selected @@ -26249,7 +27016,7 @@ paths: - closed - all default: open - - &345 + - &357 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -26267,8 +27034,8 @@ paths: - updated - comments default: created - - *101 - - *196 + - *106 + - *207 - name: collab in: query required: false @@ -26298,9 +27065,9 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: &346 + default: &358 value: - id: 1 node_id: MDU6SXNzdWUx @@ -26584,8 +27351,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 examples: default: value: @@ -26870,7 +27637,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &206 + X-CommonMarker-Version: &217 example: 0.17.4 schema: type: string @@ -26925,7 +27692,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *206 + X-CommonMarker-Version: *217 content: text/html: schema: @@ -26954,7 +27721,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: - - &209 + - &220 name: account_id description: account_id parameter in: path @@ -26966,7 +27733,7 @@ paths: description: Response content: application/json: - schema: &208 + schema: &219 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -26996,7 +27763,7 @@ paths: nullable: true id: type: integer - plan: &207 + plan: &218 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27085,7 +27852,7 @@ paths: nullable: true updated_at: type: string - plan: *207 + plan: *218 required: - url - id @@ -27093,7 +27860,7 @@ paths: - login - marketplace_purchase examples: - default: &210 + default: &221 value: url: https://api.github.com/orgs/github type: Organization @@ -27178,9 +27945,9 @@ paths: application/json: schema: type: array - items: *207 + items: *218 examples: - default: &211 + default: &222 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27220,14 +27987,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &212 + - &223 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &213 + - &224 name: sort description: The property to sort the results by. in: query @@ -27257,9 +28024,9 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: - default: &214 + default: &225 value: - url: https://api.github.com/orgs/github type: Organization @@ -27333,15 +28100,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: - - *209 + - *220 responses: '200': description: Response content: application/json: - schema: *208 + schema: *219 examples: - default: *210 + default: *221 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -27373,9 +28140,9 @@ paths: application/json: schema: type: array - items: *207 + items: *218 examples: - default: *211 + default: *222 headers: Link: *43 '401': *25 @@ -27398,8 +28165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *212 - - *213 + - *223 + - *224 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -27419,9 +28186,9 @@ paths: application/json: schema: type: array - items: *208 + items: *219 examples: - default: *214 + default: *225 headers: Link: *43 '401': *25 @@ -27685,14 +28452,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: - - &446 + - &458 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &447 + - &459 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -27709,7 +28476,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -27754,7 +28521,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &460 + '301': &472 description: Moved permanently content: application/json: @@ -27776,7 +28543,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &669 + - &681 name: all description: If `true`, show notifications marked as read. in: query @@ -27784,7 +28551,7 @@ paths: schema: type: boolean default: false - - &670 + - &682 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -27793,8 +28560,8 @@ paths: schema: type: boolean default: false - - *196 - - &671 + - *207 + - &683 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: @@ -27819,18 +28586,18 @@ paths: application/json: schema: type: array - items: &216 + items: &227 title: Thread description: Thread type: object properties: id: type: string - repository: &255 + repository: &269 title: Minimal Repository description: Minimal Repository type: object - properties: &315 + properties: &327 id: type: integer format: int64 @@ -28106,7 +28873,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &392 + security_and_analysis: &404 nullable: true type: object properties: @@ -28188,7 +28955,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &316 + required: &328 - archive_url - assignees_url - blobs_url @@ -28276,7 +29043,7 @@ paths: - url - subscription_url examples: - default: &672 + default: &684 value: - id: '1' repository: @@ -28442,7 +29209,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &217 + - &228 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 @@ -28456,7 +29223,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *227 examples: default: value: @@ -28559,7 +29326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *217 + - *228 responses: '205': description: Reset Content @@ -28582,7 +29349,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *217 + - *228 responses: '204': description: No content @@ -28605,13 +29372,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: - - *217 + - *228 responses: '200': description: Response content: application/json: - schema: &218 + schema: &229 title: Thread Subscription description: Thread Subscription type: object @@ -28648,7 +29415,7 @@ paths: - url - subscribed examples: - default: &219 + default: &230 value: subscribed: true ignored: false @@ -28679,7 +29446,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *217 + - *228 requestBody: required: false content: @@ -28700,9 +29467,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *229 examples: - default: *219 + default: *230 '304': *37 '403': *29 '401': *25 @@ -28725,7 +29492,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *217 + - *228 responses: '204': description: Response @@ -28820,22 +29587,9 @@ paths: application/json: schema: type: array - items: *64 + items: *69 examples: - default: &806 - 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: *231 headers: Link: example: ; rel="next" @@ -28886,7 +29640,7 @@ paths: type: integer custom_roles: type: array - items: &298 + items: &312 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -28934,7 +29688,7 @@ paths: - created_at - updated_at examples: - default: &299 + default: &313 value: id: 8030 name: Security Engineer @@ -28981,7 +29735,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: - - *78 + - *83 - name: page in: query description: The page number of results to fetch. @@ -29025,8 +29779,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *220 - required: *221 + properties: *232 + required: *233 nullable: true additionalProperties: false examples: @@ -29132,7 +29886,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: - - *78 + - *83 requestBody: required: true content: @@ -29198,7 +29952,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: - - *78 + - *83 requestBody: required: true content: @@ -29234,9 +29988,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 @@ -29244,13 +29999,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: - - *78 - - *173 - - *222 - - *174 - - *223 - - *224 - - *225 + - *83 + - *183 + - *234 + - *184 + - *235 + - *236 + - *237 responses: '200': description: Response when getting a billing premium request usage report @@ -29306,19 +30061,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 @@ -29361,7 +30116,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29381,23 +30136,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: - - *78 - - *173 - - *226 - - *174 - - *227 + - *83 + - *183 + - *238 + - *184 + - *239 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *228 + schema: *240 examples: - default: *229 + default: *241 '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29423,13 +30178,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: &230 + schema: &242 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -29762,7 +30517,7 @@ paths: - updated_at - archived_at examples: - default-response: &231 + default-response: &243 value: login: github id: 1 @@ -29864,7 +30619,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *78 + - *83 requestBody: required: false content: @@ -30087,18 +30842,18 @@ paths: description: Response content: application/json: - schema: *230 + schema: *242 examples: - default: *231 + default: *243 '422': description: Validation failed content: application/json: schema: oneOf: - - *232 - - *233 - '409': *109 + - *244 + - *245 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30121,7 +30876,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *78 + - *83 responses: '202': *39 '404': *6 @@ -30146,15 +30901,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *234 + schema: *246 examples: - default: *235 + default: *247 headers: Link: *43 x-github: @@ -30177,7 +30932,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: - - *78 + - *83 - *17 - *19 responses: @@ -30195,7 +30950,7 @@ paths: type: integer repository_cache_usages: type: array - items: &465 + items: &477 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -30250,7 +31005,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: - - *78 + - *83 - *17 - *19 responses: @@ -30270,7 +31025,7 @@ paths: type: array items: *44 examples: - default: *236 + default: *248 headers: Link: *43 x-github: @@ -30290,7 +31045,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: - - *78 + - *83 requestBody: required: true content: @@ -30319,6 +31074,11 @@ 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 + nullable: true size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -30336,6 +31096,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 @@ -30359,12 +31124,195 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 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: + - *83 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: *45 + examples: + default: *47 + 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: + - *83 + - *46 + responses: + '200': + description: Response + content: + application/json: + schema: *45 + examples: + default: *249 + 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: + - *83 + - *46 + 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: + - *46 + - *83 + 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: *48 + examples: + default: *47 + 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: + - *83 + - *46 + - *49 + responses: + '200': + description: Response + content: + application/json: + schema: *48 + examples: + default: *250 + 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: + - *83 + - *46 + - *49 + 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 @@ -30377,7 +31325,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: - - *78 + - *83 responses: '200': description: Response @@ -30393,9 +31341,9 @@ paths: type: integer images: type: array - items: *45 + items: *50 examples: - default: *46 + default: *51 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30413,7 +31361,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: - - *78 + - *83 responses: '200': description: Response @@ -30429,9 +31377,9 @@ paths: type: integer images: type: array - items: *45 + items: *50 examples: - default: *46 + default: *51 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30448,15 +31396,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *237 + schema: *251 examples: - default: *238 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30474,7 +31422,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: - - *78 + - *83 responses: '200': description: Response @@ -30490,9 +31438,9 @@ paths: type: integer machine_specs: type: array - items: *47 + items: *52 examples: - default: *239 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30510,7 +31458,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: - - *78 + - *83 responses: '200': description: Response @@ -30554,8 +31502,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: - - *78 - - *49 + - *83 + - *54 responses: '200': description: Response @@ -30563,7 +31511,7 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 headers: Link: *43 x-github: @@ -30583,8 +31531,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: - - *78 - - *49 + - *83 + - *54 requestBody: required: true content: @@ -30610,6 +31558,11 @@ 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 + nullable: true examples: default: value: @@ -30624,7 +31577,7 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -30640,8 +31593,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: - - *78 - - *49 + - *83 + - *54 responses: '202': description: Response @@ -30649,7 +31602,7 @@ paths: application/json: schema: *44 examples: - default: *48 + default: *53 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30669,13 +31622,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: - - *78 + - *83 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &240 + schema: &254 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -30689,7 +31642,7 @@ paths: required: - include_claim_keys examples: - default: &241 + default: &255 value: include_claim_keys: - repo @@ -30711,20 +31664,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: - - *78 + - *83 requestBody: required: true content: application/json: - schema: *240 + schema: *254 examples: - default: *241 + default: *255 responses: '201': description: Empty response content: application/json: - schema: &266 + schema: &280 title: Empty Object description: An object without any properties. type: object @@ -30754,7 +31707,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: - - *78 + - *83 responses: '200': description: Response @@ -30763,7 +31716,7 @@ paths: schema: type: object properties: - enabled_repositories: &243 + enabled_repositories: &257 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -30776,9 +31729,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: *51 - selected_actions_url: *242 - sha_pinning_required: *52 + allowed_actions: *56 + selected_actions_url: *256 + sha_pinning_required: *57 required: - enabled_repositories examples: @@ -30808,7 +31761,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: - - *78 + - *83 responses: '204': description: Response @@ -30819,9 +31772,9 @@ paths: schema: type: object properties: - enabled_repositories: *243 - allowed_actions: *51 - sha_pinning_required: *52 + enabled_repositories: *257 + allowed_actions: *56 + sha_pinning_required: *57 required: - enabled_repositories examples: @@ -30849,13 +31802,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *244 + schema: *258 examples: response: summary: Example response @@ -30881,12 +31834,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: - - *78 + - *83 requestBody: required: true content: application/json: - schema: *245 + schema: *259 examples: application/json: value: @@ -30896,7 +31849,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *15 x-github: enabledForGitHubApps: true @@ -30916,15 +31869,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *53 + schema: *58 examples: - default: *246 + default: *260 '404': *6 x-github: enabledForGitHubApps: true @@ -30943,7 +31896,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: - - *78 + - *83 responses: '204': description: Response @@ -30953,7 +31906,7 @@ paths: required: true content: application/json: - schema: *53 + schema: *58 examples: default: summary: Set approval policy to first time contributors @@ -30975,15 +31928,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *247 + schema: *261 examples: - default: *54 + default: *59 '403': *29 '404': *6 x-github: @@ -31001,14 +31954,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: - - *78 + - *83 requestBody: required: true content: application/json: - schema: *248 + schema: *262 examples: - default: *54 + default: *59 responses: '204': description: Empty response for successful settings update @@ -31038,7 +31991,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: - - *78 + - *83 - *17 - *19 responses: @@ -31056,9 +32009,9 @@ paths: type: number repositories: type: array - items: *69 + items: *74 examples: - default: &250 + default: &264 value: total_count: 1 repositories: @@ -31198,7 +32151,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: - - *78 + - *83 responses: '204': description: Response @@ -31242,8 +32195,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: - - *78 - - &249 + - *83 + - &263 name: repository_id description: The unique identifier of the repository. in: path @@ -31271,8 +32224,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: - - *78 - - *249 + - *83 + - *263 responses: '204': description: Response @@ -31295,15 +32248,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *56 + schema: *61 examples: - default: *57 + default: *62 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -31326,7 +32279,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: - - *78 + - *83 responses: '204': description: Response @@ -31334,9 +32287,9 @@ paths: required: false content: application/json: - schema: *56 + schema: *61 examples: - selected_actions: *57 + selected_actions: *62 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -31356,7 +32309,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: - - *78 + - *83 responses: '200': description: Response @@ -31404,7 +32357,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: - - *78 + - *83 requestBody: required: true content: @@ -31431,7 +32384,7 @@ paths: description: No content '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *15 x-github: enabledForGitHubApps: true @@ -31451,7 +32404,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: - - *78 + - *83 - *17 - *19 responses: @@ -31466,9 +32419,9 @@ paths: type: integer repositories: type: array - items: *69 + items: *74 examples: - default: *250 + default: *264 '403': *29 '404': *6 x-github: @@ -31488,7 +32441,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: - - *78 + - *83 requestBody: required: true content: @@ -31536,14 +32489,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: - - *78 - - *249 + - *83 + - *263 responses: '204': description: No content '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *15 x-github: enabledForGitHubApps: true @@ -31563,14 +32516,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: - - *78 - - *249 + - *83 + - *263 responses: '204': description: No content '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *15 x-github: enabledForGitHubApps: true @@ -31592,15 +32545,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *251 + schema: *265 examples: - default: *60 + default: *65 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31621,7 +32574,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: - - *78 + - *83 responses: '204': description: Success response @@ -31632,9 +32585,9 @@ paths: required: false content: application/json: - schema: *252 + schema: *266 examples: - default: *60 + default: *65 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31654,7 +32607,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: - - *78 + - *83 - *17 - *19 - name: visible_to_repository @@ -31679,7 +32632,7 @@ paths: type: number runner_groups: type: array - items: &253 + items: &267 type: object properties: id: @@ -31795,7 +32748,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: - - *78 + - *83 requestBody: required: true content: @@ -31867,9 +32820,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *267 examples: - default: &254 + default: &268 value: id: 2 name: octo-runner-group @@ -31904,14 +32857,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: - - *78 - - *63 + - *83 + - *68 responses: '200': description: Response content: application/json: - schema: *253 + schema: *267 examples: default: value: @@ -31947,8 +32900,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: - - *78 - - *63 + - *83 + - *68 requestBody: required: true content: @@ -32002,9 +32955,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *267 examples: - default: *254 + default: *268 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32023,8 +32976,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: - - *78 - - *63 + - *83 + - *68 responses: '204': description: Response @@ -32047,8 +33000,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: - - *78 - - *63 + - *83 + - *68 - *17 - *19 responses: @@ -32068,7 +33021,7 @@ paths: type: array items: *44 examples: - default: *236 + default: *248 headers: Link: *43 x-github: @@ -32090,8 +33043,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: - - *78 - - *63 + - *83 + - *68 - *19 - *17 responses: @@ -32109,9 +33062,9 @@ paths: type: number repositories: type: array - items: *255 + items: *269 examples: - default: &792 + default: &804 value: total_count: 1 repositories: @@ -32363,8 +33316,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: - - *78 - - *63 + - *83 + - *68 requestBody: required: true content: @@ -32408,9 +33361,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: - - *78 - - *63 - - *249 + - *83 + - *68 + - *263 responses: '204': description: Response @@ -32432,9 +33385,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: - - *78 - - *63 - - *249 + - *83 + - *68 + - *263 responses: '204': description: Response @@ -32457,8 +33410,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: - - *78 - - *63 + - *83 + - *68 - *17 - *19 responses: @@ -32476,9 +33429,9 @@ paths: type: number runners: type: array - items: *67 + items: *72 examples: - default: *68 + default: *73 headers: Link: *43 x-github: @@ -32499,8 +33452,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: - - *78 - - *63 + - *83 + - *68 requestBody: required: true content: @@ -32544,9 +33497,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: - - *78 - - *63 - - *66 + - *83 + - *68 + - *71 responses: '204': description: Response @@ -32568,9 +33521,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: - - *78 - - *63 - - *66 + - *83 + - *68 + - *71 responses: '204': description: Response @@ -32600,7 +33553,7 @@ paths: in: query schema: type: string - - *78 + - *83 - *17 - *19 responses: @@ -32618,9 +33571,9 @@ paths: type: integer runners: type: array - items: *67 + items: *72 examples: - default: *68 + default: *73 headers: Link: *43 x-github: @@ -32644,7 +33597,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: - - *78 + - *83 responses: '200': description: Response @@ -32652,9 +33605,9 @@ paths: application/json: schema: type: array - items: *256 + items: *270 examples: - default: *257 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32676,7 +33629,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: - - *78 + - *83 requestBody: required: true content: @@ -32719,10 +33672,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *258 + '201': *272 '404': *6 '422': *7 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32750,15 +33703,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: - - *78 + - *83 responses: '201': description: Response content: application/json: - schema: *70 + schema: *75 examples: - default: *259 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32786,15 +33739,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: - - *78 + - *83 responses: '201': description: Response content: application/json: - schema: *70 + schema: *75 examples: - default: *260 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32816,16 +33769,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: - - *78 - - *66 + - *83 + - *71 responses: '200': description: Response content: application/json: - schema: *67 + schema: *72 examples: - default: *261 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32846,8 +33799,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: - - *78 - - *66 + - *83 + - *71 responses: '204': description: Response @@ -32873,10 +33826,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: - - *78 - - *66 + - *83 + - *71 responses: - '200': *72 + '200': *77 '404': *6 x-github: githubCloudOnly: false @@ -32898,8 +33851,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: - - *78 - - *66 + - *83 + - *71 requestBody: required: true content: @@ -32923,7 +33876,7 @@ paths: - gpu - accelerated responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -32947,8 +33900,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: - - *78 - - *66 + - *83 + - *71 requestBody: required: true content: @@ -32973,7 +33926,7 @@ paths: - gpu - accelerated responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -32997,10 +33950,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: - - *78 - - *66 + - *83 + - *71 responses: - '200': *262 + '200': *276 '404': *6 x-github: githubCloudOnly: false @@ -33027,11 +33980,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: - - *78 - - *66 - - *263 + - *83 + - *71 + - *277 responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -33056,7 +34009,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *78 + - *83 - *17 - *19 responses: @@ -33074,7 +34027,7 @@ paths: type: integer secrets: type: array - items: &264 + items: &278 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -33147,13 +34100,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: &485 + schema: &497 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -33182,7 +34135,7 @@ paths: - key_id - key examples: - default: &486 + default: &498 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33207,8 +34160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *78 - - &265 + - *83 + - &279 name: secret_name description: The name of the secret. in: path @@ -33220,7 +34173,7 @@ paths: description: Response content: application/json: - schema: *264 + schema: *278 examples: default: value: @@ -33250,8 +34203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -33308,7 +34261,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -33334,8 +34287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 responses: '204': description: Response @@ -33361,8 +34314,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: - - *78 - - *265 + - *83 + - *279 - *19 - *17 responses: @@ -33380,9 +34333,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *269 examples: - default: &269 + default: &283 value: total_count: 1 repositories: @@ -33474,8 +34427,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: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -33527,8 +34480,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: - - *78 - - *265 + - *83 + - *279 - name: repository_id in: path required: true @@ -33561,8 +34514,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: - - *78 - - *265 + - *83 + - *279 - name: repository_id in: path required: true @@ -33594,8 +34547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *78 - - &470 + - *83 + - &482 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)." @@ -33619,7 +34572,7 @@ paths: type: integer variables: type: array - items: &267 + items: &281 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -33704,7 +34657,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *78 + - *83 requestBody: required: true content: @@ -33752,7 +34705,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -33777,8 +34730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *78 - - &268 + - *83 + - &282 name: name description: The name of the variable. in: path @@ -33790,7 +34743,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *281 examples: default: value: @@ -33820,8 +34773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *78 - - *268 + - *83 + - *282 requestBody: required: true content: @@ -33883,8 +34836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *78 - - *268 + - *83 + - *282 responses: '204': description: Response @@ -33910,8 +34863,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: - - *78 - - *268 + - *83 + - *282 - *19 - *17 responses: @@ -33929,9 +34882,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *269 examples: - default: *269 + default: *283 '409': description: Response when the visibility of the variable is not set to `selected` @@ -33957,8 +34910,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: - - *78 - - *268 + - *83 + - *282 requestBody: required: true content: @@ -34007,8 +34960,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: - - *78 - - *268 + - *83 + - *282 - name: repository_id in: path required: true @@ -34042,8 +34995,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: - - *78 - - *268 + - *83 + - *282 - name: repository_id in: path required: true @@ -34074,15 +35027,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *77 + schema: *82 examples: - default: *76 + default: *81 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -34101,19 +35054,19 @@ paths: required: true content: application/json: - schema: *270 + schema: *284 examples: - default: *76 + default: *81 parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *77 + schema: *82 examples: - default: *76 + default: *81 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -34129,7 +35082,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *78 + - *83 responses: '204': description: Response @@ -34152,7 +35105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *78 + - *83 requestBody: required: true content: @@ -34284,7 +35237,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *78 + - *83 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -34367,9 +35320,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *99 - - *100 - - *78 + - *104 + - *105 + - *83 requestBody: required: true content: @@ -34392,12 +35345,12 @@ paths: required: - subject_digests examples: - default: &821 + default: &832 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &822 + withPredicateType: &833 value: subject_digests: - sha256:abc123 @@ -34455,7 +35408,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &823 + default: &834 value: attestations_subject_digests: - sha256:abc: @@ -34564,7 +35517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *78 + - *83 requestBody: required: true content: @@ -34629,7 +35582,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *78 + - *83 - name: subject_digest description: Subject Digest in: path @@ -34648,6 +35601,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 + - *104 + - *105 + - *83 + - 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 @@ -34660,7 +35664,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *78 + - *83 - name: attestation_id description: Attestation ID in: path @@ -34696,9 +35700,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations parameters: - *17 - - *99 - - *100 - - *78 + - *104 + - *105 + - *83 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -34751,7 +35755,7 @@ paths: initiator: type: string examples: - default: &499 + default: &511 value: attestations: - bundle: @@ -34869,7 +35873,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: - - *78 + - *83 - 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). @@ -34877,10 +35881,10 @@ paths: required: false schema: type: string - - *271 - - *272 - - *273 - - *274 + - *285 + - *286 + - *287 + - *288 - *17 responses: '200': @@ -34889,9 +35893,9 @@ paths: application/json: schema: type: array - items: *275 + items: *289 examples: - default: *276 + default: *290 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -34908,7 +35912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *78 + - *83 - *17 - *19 responses: @@ -34920,7 +35924,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34939,8 +35943,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: - - *78 - - *182 + - *83 + - *192 responses: '204': description: If the user is blocked @@ -34965,8 +35969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -34986,8 +35990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -35013,17 +36017,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *78 - - &279 + - *83 + - &293 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *94 - - *95 - - *96 - - *97 + - *99 + - *100 + - *101 + - *102 - *17 - *19 responses: @@ -35033,9 +36037,9 @@ paths: application/json: schema: type: array - items: *277 + items: *291 examples: - default: *278 + default: *292 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -35058,12 +36062,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *78 - - *279 - - *94 - - *95 - - *96 - - *97 + - *83 + - *293 + - *99 + - *100 + - *101 + - *102 - *17 - *19 responses: @@ -35073,9 +36077,9 @@ paths: application/json: schema: type: array - items: *280 + items: *294 examples: - default: *281 + default: *295 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -35094,15 +36098,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *78 + - *83 - *19 - *17 - - *101 + - *106 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &283 + schema: &297 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -35128,7 +36132,7 @@ paths: application/json: schema: type: array - items: &284 + items: &298 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -35159,7 +36163,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *282 + items: *296 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -35177,7 +36181,7 @@ paths: type: string format: date-time nullable: true - state: *283 + state: *297 contact_link: description: The contact link of the campaign. type: string @@ -35274,7 +36278,7 @@ paths: headers: Link: *43 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35298,7 +36302,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *78 + - *83 requestBody: required: true content: @@ -35392,9 +36396,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *298 examples: - default: &285 + default: &299 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -35443,7 +36447,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35465,7 +36469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *78 + - *83 - name: campaign_number description: The campaign number. in: path @@ -35477,16 +36481,16 @@ paths: description: Response content: application/json: - schema: *284 + schema: *298 examples: - default: *285 + default: *299 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35507,7 +36511,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *78 + - *83 - name: campaign_number description: The campaign number. in: path @@ -35556,7 +36560,7 @@ paths: type: string format: uri nullable: true - state: *283 + state: *297 examples: default: value: @@ -35566,9 +36570,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *298 examples: - default: *285 + default: *299 '400': description: Bad Request content: @@ -35580,7 +36584,7 @@ paths: content: application/json: schema: *3 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35601,7 +36605,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *78 + - *83 - name: campaign_number description: The campaign number. in: path @@ -35612,7 +36616,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35634,20 +36638,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: - - *78 - - *286 - - *287 - - *99 - - *100 + - *83 + - *300 + - *301 + - *104 + - *105 - *19 - *17 - - *101 + - *106 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *288 + schema: *302 - name: sort description: The property by which to sort the results. in: query @@ -35663,7 +36667,7 @@ paths: be returned. in: query required: false - schema: &525 + schema: &537 type: string description: Severity of a code scanning alert. enum: @@ -35681,13 +36685,13 @@ paths: application/json: schema: type: array - items: *289 + items: *303 examples: - default: *290 + default: *304 headers: Link: *43 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35709,7 +36713,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: - - *78 + - *83 - name: target_type in: query description: The target type of the code security configuration @@ -35728,8 +36732,8 @@ paths: schema: type: integer default: 30 - - *99 - - *100 + - *104 + - *105 responses: '200': description: Response @@ -35737,7 +36741,7 @@ paths: application/json: schema: type: array - items: *105 + items: *110 examples: default: value: @@ -35820,7 +36824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *78 + - *83 requestBody: required: true content: @@ -35898,7 +36902,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *291 + code_scanning_options: *305 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -35907,7 +36911,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *108 + code_scanning_default_setup_options: *113 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -36039,9 +37043,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *105 + schema: *110 examples: - default: *292 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36063,15 +37067,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *293 + schema: *307 examples: - default: *294 + default: *308 '304': *37 '403': *29 '404': *6 @@ -36097,7 +37101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *78 + - *83 requestBody: required: true content: @@ -36123,11 +37127,11 @@ paths: - 32 - 91 responses: - '204': *133 + '204': *143 '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36149,16 +37153,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *78 - - *107 + - *83 + - *112 responses: '200': description: Response content: application/json: - schema: *105 + schema: *110 examples: - default: *292 + default: *306 '304': *37 '403': *29 '404': *6 @@ -36182,8 +37186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *78 - - *107 + - *83 + - *112 requestBody: required: true content: @@ -36262,7 +37266,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *108 + code_scanning_default_setup_options: *113 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -36380,7 +37384,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *105 + schema: *110 examples: default: value: @@ -36439,14 +37443,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *78 - - *107 + - *83 + - *112 responses: - '204': *133 + '204': *143 '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36470,8 +37474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *78 - - *107 + - *83 + - *112 requestBody: required: true content: @@ -36534,8 +37538,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: - - *78 - - *107 + - *83 + - *112 requestBody: required: true content: @@ -36575,12 +37579,12 @@ paths: - none - private_and_internal - public - configuration: *105 + configuration: *110 examples: default: value: default_for_new_repos: all - configuration: *292 + configuration: *306 '403': *29 '404': *6 x-github: @@ -36604,8 +37608,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: - - *78 - - *107 + - *83 + - *112 - 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)." @@ -36614,8 +37618,8 @@ paths: schema: type: integer default: 30 - - *99 - - *100 + - *104 + - *105 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -36633,13 +37637,13 @@ paths: application/json: schema: type: array - items: *295 + items: *309 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *296 + repository: *310 '403': *29 '404': *6 x-github: @@ -36663,7 +37667,7 @@ paths: parameters: - *17 - *19 - - *78 + - *83 responses: '200': description: Response @@ -36679,7 +37683,7 @@ paths: type: integer codespaces: type: array - items: &347 + items: &359 type: object title: Codespace description: A codespace. @@ -36704,12 +37708,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *255 + repository: *269 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &554 + properties: &566 name: type: string description: The name of the machine. @@ -36751,7 +37755,7 @@ paths: - ready - in_progress nullable: true - required: &555 + required: &567 - name - display_name - operating_system @@ -36956,7 +37960,7 @@ paths: - pulls_url - recent_folders examples: - default: &348 + default: &360 value: total_count: 3 codespaces: @@ -37388,7 +38392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *78 + - *83 deprecated: true requestBody: required: true @@ -37455,7 +38459,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: - - *78 + - *83 deprecated: true requestBody: required: true @@ -37510,7 +38514,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *78 + - *83 requestBody: required: true content: @@ -37562,7 +38566,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *78 + - *83 - *17 - *19 responses: @@ -37580,7 +38584,7 @@ paths: type: integer secrets: type: array - items: &297 + items: &311 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -37619,7 +38623,7 @@ paths: - updated_at - visibility examples: - default: &556 + default: &568 value: total_count: 2 secrets: @@ -37651,13 +38655,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: &557 + schema: &569 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -37686,7 +38690,7 @@ paths: - key_id - key examples: - default: &558 + default: &570 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37709,16 +38713,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 responses: '200': description: Response content: application/json: - schema: *297 + schema: *311 examples: - default: &560 + default: &572 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -37745,8 +38749,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: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -37801,7 +38805,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -37827,8 +38831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 responses: '204': description: Response @@ -37853,8 +38857,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: - - *78 - - *265 + - *83 + - *279 - *19 - *17 responses: @@ -37872,9 +38876,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *269 examples: - default: *269 + default: *283 '404': *6 x-github: githubCloudOnly: false @@ -37896,8 +38900,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: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -37947,8 +38951,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: - - *78 - - *265 + - *83 + - *279 - name: repository_id in: path required: true @@ -37981,8 +38985,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: - - *78 - - *265 + - *83 + - *279 - name: repository_id in: path required: true @@ -38021,7 +39025,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: - - *78 + - *83 responses: '200': description: OK @@ -38162,7 +39166,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: - - *78 + - *83 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -38185,9 +39189,9 @@ paths: currently being billed. seats: type: array - items: *124 + items: *134 examples: - default: *125 + default: *135 headers: Link: *43 '500': *40 @@ -38223,7 +39227,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: - - *78 + - *83 requestBody: content: application/json: @@ -38301,7 +39305,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: - - *78 + - *83 requestBody: content: application/json: @@ -38381,7 +39385,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: - - *78 + - *83 requestBody: content: application/json: @@ -38458,7 +39462,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: - - *78 + - *83 requestBody: content: application/json: @@ -38539,7 +39543,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: - - *78 + - *83 - 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`). @@ -38571,13 +39575,13 @@ paths: application/json: schema: type: array - items: *175 + items: *185 examples: - default: *176 + default: *186 '500': *40 '403': *29 '404': *6 - '422': *177 + '422': *187 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38599,7 +39603,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: - - *78 + - *83 - *17 - name: page description: Page token @@ -38743,7 +39747,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: - - *78 + - *83 - name: credential_id in: path required: true @@ -38774,7 +39778,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: - - *78 + - *83 responses: '200': description: Response - list of custom role names @@ -38789,7 +39793,7 @@ paths: type: integer custom_roles: type: array - items: *298 + items: *312 examples: default: value: @@ -38876,12 +39880,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *78 + - *83 requestBody: required: true content: application/json: - schema: &301 + schema: &315 type: object properties: name: @@ -38922,9 +39926,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *312 examples: - default: *299 + default: *313 '422': *15 '404': *6 x-github: @@ -38948,8 +39952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *78 - - &300 + - *83 + - &314 name: role_id description: The unique identifier of the role. in: path @@ -38961,9 +39965,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *312 examples: - default: *299 + default: *313 '404': *6 x-github: githubCloudOnly: true @@ -38985,13 +39989,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *78 - - *300 + - *83 + - *314 requestBody: required: true content: application/json: - schema: &302 + schema: &316 type: object properties: name: @@ -39029,9 +40033,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *312 examples: - default: *299 + default: *313 '422': *15 '404': *6 x-github: @@ -39055,8 +40059,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *78 - - *300 + - *83 + - *314 responses: '204': description: Response @@ -39084,12 +40088,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: - - *78 + - *83 requestBody: required: true content: application/json: - schema: *301 + schema: *315 examples: default: value: @@ -39103,9 +40107,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *312 examples: - default: *299 + default: *313 '422': *15 '404': *6 x-github: @@ -39135,16 +40139,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: - - *78 - - *300 + - *83 + - *314 responses: '200': description: Response content: application/json: - schema: *298 + schema: *312 examples: - default: *299 + default: *313 '404': *6 x-github: githubCloudOnly: true @@ -39172,13 +40176,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: - - *78 - - *300 + - *83 + - *314 requestBody: required: true content: application/json: - schema: *302 + schema: *316 examples: default: value: @@ -39193,9 +40197,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *312 examples: - default: *299 + default: *313 '422': *15 '404': *6 x-github: @@ -39225,8 +40229,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: - - *78 - - *300 + - *83 + - *314 responses: '204': description: Response @@ -39254,12 +40258,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *78 - - *303 - - *304 - - *305 - - *306 - - *307 + - *83 + - *317 + - *318 + - *319 + - *320 + - *321 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -39297,13 +40301,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *308 - - *309 - - *101 - - *99 - - *100 - - *310 - - *311 + - *322 + - *323 + - *106 + - *104 + - *105 - *17 responses: '200': @@ -39312,9 +40314,9 @@ paths: application/json: schema: type: array - items: *312 + items: *324 examples: - default: *313 + default: *325 '304': *37 '400': *14 '403': *29 @@ -39340,7 +40342,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *78 + - *83 - *17 - *19 responses: @@ -39358,7 +40360,7 @@ paths: type: integer secrets: type: array - items: &314 + items: &326 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -39429,13 +40431,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: &586 + schema: &598 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -39452,7 +40454,7 @@ paths: - key_id - key examples: - default: &587 + default: &599 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -39475,14 +40477,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 responses: '200': description: Response content: application/json: - schema: *314 + schema: *326 examples: default: value: @@ -39510,8 +40512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -39570,7 +40572,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -39594,8 +40596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *78 - - *265 + - *83 + - *279 responses: '204': description: Response @@ -39619,8 +40621,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: - - *78 - - *265 + - *83 + - *279 - *19 - *17 responses: @@ -39638,9 +40640,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *269 examples: - default: *269 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39661,8 +40663,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: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -39712,8 +40714,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: - - *78 - - *265 + - *83 + - *279 - name: repository_id in: path required: true @@ -39744,8 +40746,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: - - *78 - - *265 + - *83 + - *279 - name: repository_id in: path required: true @@ -39781,8 +40783,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *78 - - &595 + - *83 + - &607 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -39790,7 +40792,7 @@ paths: required: false schema: type: string - - &596 + - &608 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -39798,7 +40800,7 @@ paths: required: false schema: type: string - - &597 + - &609 name: time_period description: |- The time period to filter by. @@ -39814,7 +40816,7 @@ paths: - week - month default: month - - &598 + - &610 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -39829,7 +40831,7 @@ paths: - denied - all default: all - - *279 + - *293 - *17 - *19 responses: @@ -39839,7 +40841,7 @@ paths: application/json: schema: type: array - items: &599 + items: &611 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -39995,7 +40997,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &600 + default: &612 value: - id: 21 number: 42 @@ -40081,12 +41083,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *78 - - *279 - - *94 - - *95 - - *96 - - &601 + - *83 + - *293 + - *99 + - *100 + - *101 + - &613 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -40112,7 +41114,7 @@ paths: application/json: schema: type: array - items: &602 + items: &614 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -40222,7 +41224,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *98 + items: *103 url: type: string format: uri @@ -40233,7 +41235,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &603 + default: &615 value: - id: 21 number: 42 @@ -40313,7 +41315,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: - - *78 + - *83 responses: '200': description: Response @@ -40321,7 +41323,7 @@ paths: application/json: schema: type: array - items: &358 + items: &370 title: Package description: A software package type: object @@ -40371,8 +41373,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *315 - required: *316 + properties: *327 + required: *328 nullable: true created_at: type: string @@ -40391,7 +41393,7 @@ paths: - created_at - updated_at examples: - default: &359 + default: &371 value: - id: 197 name: hello_docker @@ -40469,7 +41471,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *78 + - *83 - *17 - *19 responses: @@ -40479,7 +41481,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: 200-response: value: @@ -40552,7 +41554,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *78 + - *83 - name: group_id description: The unique identifier of the group. in: path @@ -40578,7 +41580,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &453 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -40659,7 +41661,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &442 + default: &454 value: group_id: '123' group_name: Octocat admins @@ -40697,7 +41699,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: - - *78 + - *83 - *17 - name: page description: Page token @@ -40714,7 +41716,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &451 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -40751,7 +41753,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &440 + default: &452 value: groups: - group_id: '123' @@ -40785,7 +41787,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *78 + - *83 - *17 - *19 responses: @@ -40795,7 +41797,7 @@ paths: application/json: schema: type: array - items: &339 + items: &351 title: Organization Invitation description: Organization Invitation type: object @@ -40842,7 +41844,7 @@ paths: - invitation_teams_url - node_id examples: - default: &340 + default: &352 value: - id: 1 login: monalisa @@ -40901,7 +41903,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: - - *78 + - *83 responses: '200': description: Response @@ -40909,7 +41911,7 @@ paths: application/json: schema: type: array - items: &393 + items: &405 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -40923,7 +41925,7 @@ paths: - name - description examples: - default: &394 + default: &406 value: - name: add_assignee description: Assign or remove a user @@ -40954,7 +41956,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *78 + - *83 - *17 - *19 responses: @@ -40964,7 +41966,7 @@ paths: application/json: schema: type: array - items: &317 + items: &329 title: Org Hook description: Org Hook type: object @@ -41073,7 +42075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *78 + - *83 requestBody: required: true content: @@ -41133,9 +42135,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *329 examples: - default: &318 + default: &330 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -41179,8 +42181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *78 - - &319 + - *83 + - &331 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. @@ -41193,9 +42195,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *329 examples: - default: *318 + default: *330 '404': *6 x-github: githubCloudOnly: false @@ -41216,8 +42218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *78 - - *319 + - *83 + - *331 requestBody: required: false content: @@ -41262,7 +42264,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *329 examples: default: value: @@ -41301,8 +42303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *78 - - *319 + - *83 + - *331 responses: '204': description: Response @@ -41327,8 +42329,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: - - *78 - - *319 + - *83 + - *331 responses: '200': description: Response @@ -41356,8 +42358,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: - - *78 - - *319 + - *83 + - *331 requestBody: required: false content: @@ -41405,10 +42407,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *78 - - *319 + - *83 + - *331 - *17 - - *320 + - *332 responses: '200': description: Response @@ -41416,9 +42418,9 @@ paths: application/json: schema: type: array - items: *321 + items: *333 examples: - default: *322 + default: *334 '400': *14 '422': *15 x-github: @@ -41441,17 +42443,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: - - *78 - - *319 + - *83 + - *331 - *16 responses: '200': description: Response content: application/json: - schema: *323 + schema: *335 examples: - default: *324 + default: *336 '400': *14 '422': *15 x-github: @@ -41474,8 +42476,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: - - *78 - - *319 + - *83 + - *331 - *16 responses: '202': *39 @@ -41501,8 +42503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *78 - - *319 + - *83 + - *331 responses: '204': description: Response @@ -41524,8 +42526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *78 - - &329 + - *83 + - &341 name: actor_type in: path description: The type of the actor @@ -41538,14 +42540,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &330 + - &342 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &325 + - &337 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`.' @@ -41553,7 +42555,7 @@ paths: required: true schema: type: string - - &326 + - &338 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) @@ -41564,7 +42566,7 @@ paths: type: string - *19 - *17 - - *101 + - *106 - name: sort description: The property to sort the results by. in: query @@ -41646,13 +42648,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *78 - - *325 - - *326 + - *83 + - *337 + - *338 - *19 - *17 - - *101 - - &335 + - *106 + - &347 name: sort description: The property to sort the results by. in: query @@ -41730,15 +42732,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *78 - - *325 - - *326 + - *83 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: &327 + schema: &339 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -41754,7 +42756,7 @@ paths: type: integer format: int64 examples: - default: &328 + default: &340 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -41774,24 +42776,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *78 - - &331 + - *83 + - &343 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *325 - - *326 + - *337 + - *338 responses: '200': description: Response content: application/json: - schema: *327 + schema: *339 examples: - default: *328 + default: *340 x-github: enabledForGitHubApps: true category: orgs @@ -41809,19 +42811,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *78 - - *325 - - *326 - - *329 - - *330 + - *83 + - *337 + - *338 + - *341 + - *342 responses: '200': description: Response content: application/json: - schema: *327 + schema: *339 examples: - default: *328 + default: *340 x-github: enabledForGitHubApps: true category: orgs @@ -41838,10 +42840,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *78 - - *325 - - *326 - - &332 + - *83 + - *337 + - *338 + - &344 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -41854,7 +42856,7 @@ paths: description: Response content: application/json: - schema: &333 + schema: &345 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -41870,7 +42872,7 @@ paths: type: integer format: int64 examples: - default: &334 + default: &346 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -41906,19 +42908,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *78 - - *331 - - *325 - - *326 - - *332 + - *83 + - *343 + - *337 + - *338 + - *344 responses: '200': description: Response content: application/json: - schema: *333 + schema: *345 examples: - default: *334 + default: *346 x-github: enabledForGitHubApps: true category: orgs @@ -41935,20 +42937,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *78 - - *329 - - *330 - - *325 - - *326 - - *332 + - *83 + - *341 + - *342 + - *337 + - *338 + - *344 responses: '200': description: Response content: application/json: - schema: *333 + schema: *345 examples: - default: *334 + default: *346 x-github: enabledForGitHubApps: true category: orgs @@ -41965,14 +42967,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *78 - - *331 - - *325 - - *326 + - *83 + - *343 + - *337 + - *338 - *19 - *17 - - *101 - - *335 + - *106 + - *347 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -42045,7 +43047,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: - - *78 + - *83 responses: '200': description: Response @@ -42053,7 +43055,7 @@ paths: application/json: schema: *22 examples: - default: &634 + default: &646 value: id: 1 account: @@ -42122,7 +43124,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *78 + - *83 - *17 - *19 responses: @@ -42211,7 +43213,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *78 + - *83 responses: '200': description: Response @@ -42219,12 +43221,12 @@ paths: application/json: schema: anyOf: - - &337 + - &349 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &336 + limit: &348 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -42249,7 +43251,7 @@ paths: properties: {} additionalProperties: false examples: - default: &338 + default: &350 value: limit: collaborators_only origin: organization @@ -42273,18 +43275,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *78 + - *83 requestBody: required: true content: application/json: - schema: &635 + schema: &647 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *336 + limit: *348 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -42308,9 +43310,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *349 examples: - default: *338 + default: *350 '422': *15 x-github: githubCloudOnly: false @@ -42328,7 +43330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *78 + - *83 responses: '204': description: Response @@ -42354,7 +43356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *78 + - *83 - *17 - *19 - name: role @@ -42388,9 +43390,9 @@ paths: application/json: schema: type: array - items: *339 + items: *351 examples: - default: *340 + default: *352 headers: Link: *43 '404': *6 @@ -42414,7 +43416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *78 + - *83 requestBody: required: false content: @@ -42468,7 +43470,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *351 examples: default: value: @@ -42524,8 +43526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *78 - - &341 + - *83 + - &353 name: invitation_id description: The unique identifier of the invitation. in: path @@ -42558,8 +43560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *78 - - *341 + - *83 + - *353 - *17 - *19 responses: @@ -42569,9 +43571,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: &357 + default: &369 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -42606,7 +43608,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: - - *78 + - *83 responses: '200': description: Response @@ -42614,7 +43616,7 @@ paths: application/json: schema: type: array - items: *342 + items: *354 examples: default: value: @@ -42652,7 +43654,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: - - *78 + - *83 requestBody: required: true content: @@ -42699,9 +43701,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *354 examples: - default: &343 + default: &355 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -42733,8 +43735,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: - - *78 - - &344 + - *83 + - &356 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -42787,9 +43789,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *354 examples: - default: *343 + default: *355 '404': *6 '422': *7 x-github: @@ -42813,8 +43815,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: - - *78 - - *344 + - *83 + - *356 responses: '204': description: Response @@ -42847,7 +43849,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: - - *78 + - *83 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -42877,7 +43879,7 @@ paths: - closed - all default: open - - *345 + - *357 - name: type description: Can be the name of an issue type. in: query @@ -42895,8 +43897,8 @@ paths: - updated - comments default: created - - *101 - - *196 + - *106 + - *207 - *17 - *19 responses: @@ -42906,9 +43908,9 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: *346 + default: *358 headers: Link: *43 '404': *6 @@ -42930,7 +43932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *78 + - *83 - 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) @@ -42968,7 +43970,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 '422': *15 @@ -42988,8 +43990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response if requester is an organization member and user is @@ -43023,8 +44025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -43050,8 +44052,8 @@ paths: parameters: - *17 - *19 - - *78 - - *182 + - *83 + - *192 responses: '200': description: Response @@ -43067,9 +44069,9 @@ paths: type: integer codespaces: type: array - items: *347 + items: *359 examples: - default: *348 + default: *360 '304': *37 '500': *40 '401': *25 @@ -43094,9 +44096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *78 - - *182 - - &349 + - *83 + - *192 + - &361 name: codespace_name in: path required: true @@ -43129,17 +44131,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: - - *78 - - *182 - - *349 + - *83 + - *192 + - *361 responses: '200': description: Response content: application/json: - schema: *347 + schema: *359 examples: - default: &553 + default: &565 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -43312,14 +44314,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: - - *78 - - *182 + - *83 + - *192 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *124 + schema: *134 examples: default: value: @@ -43388,14 +44390,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *78 - - *182 + - *83 + - *192 responses: '200': description: Response content: application/json: - schema: &350 + schema: &362 title: Org Membership description: Org Membership type: object @@ -43439,7 +44441,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *64 + organization: *69 user: title: Simple User description: A GitHub user. @@ -43462,7 +44464,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &351 + response-if-user-has-an-active-admin-membership-with-organization: &363 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -43530,8 +44532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *78 - - *182 + - *83 + - *192 requestBody: required: false content: @@ -43559,9 +44561,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *362 examples: - response-if-user-already-had-membership-with-organization: *351 + response-if-user-already-had-membership-with-organization: *363 '422': *15 '403': *29 x-github: @@ -43585,8 +44587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -43611,7 +44613,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *78 + - *83 - *17 - *19 - name: exclude @@ -43632,7 +44634,7 @@ paths: application/json: schema: type: array - items: &352 + items: &364 title: Migration description: A migration. type: object @@ -43673,7 +44675,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *69 + items: *74 url: type: string format: uri @@ -43885,7 +44887,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *78 + - *83 requestBody: required: true content: @@ -43961,7 +44963,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *364 examples: default: value: @@ -44139,8 +45141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *78 - - &353 + - *83 + - &365 name: migration_id description: The unique identifier of the migration. in: path @@ -44167,7 +45169,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *352 + schema: *364 examples: default: value: @@ -44336,8 +45338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *78 - - *353 + - *83 + - *365 responses: '302': description: Response @@ -44358,8 +45360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *78 - - *353 + - *83 + - *365 responses: '204': description: Response @@ -44382,9 +45384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *78 - - *353 - - &805 + - *83 + - *365 + - &817 name: repo_name description: repo_name parameter in: path @@ -44411,8 +45413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *78 - - *353 + - *83 + - *365 - *17 - *19 responses: @@ -44422,9 +45424,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: &364 + default: &376 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44563,7 +45565,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: - - *78 + - *83 responses: '200': description: Response @@ -44617,7 +45619,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: - - *78 + - *83 responses: '200': description: Response - list of organization roles @@ -44633,7 +45635,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &354 + items: &366 title: Organization Role description: Organization roles type: object @@ -44793,7 +45795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *78 + - *83 requestBody: required: true content: @@ -44840,7 +45842,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *366 examples: default: value: @@ -44869,7 +45871,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44891,8 +45893,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: - - *78 - - *184 + - *83 + - *195 responses: '204': description: Response @@ -44917,9 +45919,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: - - *78 - - *184 - - *300 + - *83 + - *195 + - *314 responses: '204': description: Response @@ -44948,9 +45950,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: - - *78 - - *184 - - *300 + - *83 + - *195 + - *314 responses: '204': description: Response @@ -44975,8 +45977,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: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -45001,9 +46003,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: - - *78 - - *182 - - *300 + - *83 + - *192 + - *314 responses: '204': description: Response @@ -45033,9 +46035,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: - - *78 - - *182 - - *300 + - *83 + - *192 + - *314 responses: '204': description: Response @@ -45063,14 +46065,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *78 - - *300 + - *83 + - *314 responses: '200': description: Response content: application/json: - schema: *354 + schema: *366 examples: default: value: @@ -45127,8 +46129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *78 - - *300 + - *83 + - *314 requestBody: required: true content: @@ -45167,7 +46169,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *366 examples: default: value: @@ -45195,7 +46197,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *109 + '409': *114 '404': *6 x-github: githubCloudOnly: true @@ -45220,8 +46222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *78 - - *300 + - *83 + - *314 responses: '204': description: Response @@ -45246,8 +46248,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: - - *78 - - *300 + - *83 + - *314 - *17 - *19 responses: @@ -45325,8 +46327,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *355 - required: *356 + properties: *367 + required: *368 nullable: true type: description: The ownership type of the team @@ -45358,7 +46360,7 @@ paths: - type - parent examples: - default: *357 + default: *369 headers: Link: *43 '404': @@ -45387,8 +46389,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: - - *78 - - *300 + - *83 + - *314 - *17 - *19 responses: @@ -45416,13 +46418,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &413 + items: &425 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *355 - required: *356 + properties: *367 + required: *368 name: nullable: true type: string @@ -45517,7 +46519,7 @@ paths: - type - url examples: - default: *181 + default: *191 headers: Link: *43 '404': @@ -45541,7 +46543,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: - - *78 + - *83 - 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) @@ -45568,7 +46570,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 x-github: @@ -45593,8 +46595,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: - - *78 - - *182 + - *83 + - *192 requestBody: required: false content: @@ -45651,8 +46653,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: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -45709,8 +46711,8 @@ paths: - docker - nuget - container - - *78 - - &807 + - *83 + - &818 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -45746,12 +46748,12 @@ paths: application/json: schema: type: array - items: *358 + items: *370 examples: - default: *359 + default: *371 '403': *29 '401': *25 - '400': &809 + '400': &820 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45773,7 +46775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &360 + - &372 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 @@ -45791,20 +46793,20 @@ paths: - docker - nuget - container - - &361 + - &373 name: package_name description: The name of the package. in: path required: true schema: type: string - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *358 + schema: *370 examples: default: value: @@ -45856,9 +46858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *360 - - *361 - - *78 + - *372 + - *373 + - *83 responses: '204': description: Response @@ -45890,9 +46892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *360 - - *361 - - *78 + - *372 + - *373 + - *83 - name: token description: package token schema: @@ -45924,9 +46926,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: - - *360 - - *361 - - *78 + - *372 + - *373 + - *83 - *19 - *17 - name: state @@ -45946,7 +46948,7 @@ paths: application/json: schema: type: array - items: &362 + items: &374 title: Package Version description: A version of a software package type: object @@ -46071,10 +47073,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: - - *360 - - *361 - - *78 - - &363 + - *372 + - *373 + - *83 + - &375 name: package_version_id description: Unique identifier of the package version. in: path @@ -46086,7 +47088,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *374 examples: default: value: @@ -46122,10 +47124,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *360 - - *361 - - *78 - - *363 + - *372 + - *373 + - *83 + - *375 responses: '204': description: Response @@ -46157,10 +47159,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *360 - - *361 - - *78 - - *363 + - *372 + - *373 + - *83 + - *375 responses: '204': description: Response @@ -46187,10 +47189,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: - - *78 + - *83 - *17 - *19 - - &365 + - &377 name: sort description: The property by which to sort the results. in: query @@ -46200,8 +47202,8 @@ paths: enum: - created_at default: created_at - - *101 - - &366 + - *106 + - &378 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -46212,7 +47214,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &367 + - &379 name: repository description: The name of the repository to use to filter the results. in: query @@ -46220,7 +47222,7 @@ paths: schema: type: string example: Hello-World - - &368 + - &380 name: permission description: The permission to use to filter the results. in: query @@ -46228,7 +47230,7 @@ paths: schema: type: string example: issues_read - - &369 + - &381 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) @@ -46238,7 +47240,7 @@ paths: schema: type: string format: date-time - - &370 + - &382 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) @@ -46248,7 +47250,7 @@ paths: schema: type: string format: date-time - - &371 + - &383 name: token_id description: The ID of the token in: query @@ -46412,7 +47414,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: - - *78 + - *83 requestBody: required: true content: @@ -46478,7 +47480,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: - - *78 + - *83 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -46518,7 +47520,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *133 + '204': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46539,7 +47541,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: - - *78 + - *83 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -46559,9 +47561,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 x-github: @@ -46584,17 +47586,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: - - *78 + - *83 - *17 - *19 - - *365 - - *101 - - *366 - - *367 - - *368 - - *369 - - *370 - - *371 + - *377 + - *106 + - *378 + - *379 + - *380 + - *381 + - *382 + - *383 responses: '500': *40 '422': *15 @@ -46743,7 +47745,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: - - *78 + - *83 requestBody: required: true content: @@ -46803,7 +47805,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: - - *78 + - *83 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -46833,7 +47835,7 @@ paths: responses: '500': *40 '404': *6 - '204': *133 + '204': *143 '403': *29 '422': *15 x-github: @@ -46855,7 +47857,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: - - *78 + - *83 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -46874,9 +47876,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 x-github: @@ -46900,7 +47902,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: - - *78 + - *83 - *17 - *19 responses: @@ -46918,7 +47920,7 @@ paths: type: integer configurations: type: array - items: &372 + items: &384 title: Organization private registry description: Private registry configuration for an organization type: object @@ -47006,7 +48008,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: - - *78 + - *83 requestBody: required: true content: @@ -47171,7 +48173,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &373 + org-private-registry-with-selected-visibility: &385 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -47212,7 +48214,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: - - *78 + - *83 responses: '200': description: Response @@ -47260,16 +48262,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: - - *78 - - *265 + - *83 + - *279 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *372 + schema: *384 examples: - default: *373 + default: *385 '404': *6 x-github: githubCloudOnly: false @@ -47290,8 +48292,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: - - *78 - - *265 + - *83 + - *279 requestBody: required: true content: @@ -47386,8 +48388,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: - - *78 - - *265 + - *83 + - *279 responses: '204': description: Response @@ -47412,7 +48414,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects parameters: - - *78 + - *83 - name: state description: Indicates the state of the projects to return. in: query @@ -47433,7 +48435,7 @@ paths: application/json: schema: type: array - items: &374 + items: &386 title: Project description: Projects are a way to organize columns and cards of work. @@ -47580,7 +48582,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project parameters: - - *78 + - *83 requestBody: required: true content: @@ -47606,7 +48608,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *386 examples: default: value: @@ -47644,7 +48646,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &457 + '410': &469 description: Gone content: application/json: @@ -47670,15 +48672,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-organization parameters: - - *78 + - *83 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *99 - - *100 + - *104 + - *105 - *17 responses: '200': @@ -47687,7 +48689,7 @@ paths: application/json: schema: type: array - items: &375 + items: &387 title: Projects v2 Project description: A projects v2 project type: object @@ -47757,7 +48759,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &885 + properties: &896 id: type: number description: The unique identifier of the status update. @@ -47805,7 +48807,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &886 + required: &897 - id - node_id - created_at @@ -47830,7 +48832,7 @@ paths: - deleted_at - deleted_by examples: - default: &376 + default: &388 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -47933,22 +48935,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &377 + - &389 name: project_number description: The project's number. in: path required: true schema: type: integer - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *375 + schema: *387 examples: - default: *376 + default: *388 headers: Link: *43 '304': *37 @@ -47970,11 +48972,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *377 - - *78 + - *389 + - *83 - *17 - - *99 - - *100 + - *104 + - *105 responses: '200': description: Response @@ -47982,7 +48984,7 @@ paths: application/json: schema: type: array - items: &378 + items: &390 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -48129,7 +49131,7 @@ paths: - updated_at - project_url examples: - default: &379 + default: &391 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -48172,23 +49174,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *377 - - &826 + - *389 + - &837 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *378 + schema: *390 examples: - default: *379 + default: *391 headers: Link: *43 '304': *37 @@ -48211,8 +49213,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: - - *377 - - *78 + - *389 + - *83 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -48221,18 +49223,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 - example: fields[]=123,fields[]=456,fields[]=789 - - *99 - - *100 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - *104 + - *105 - *17 responses: '200': @@ -48241,7 +49246,7 @@ paths: application/json: schema: type: array - items: &385 + items: &397 title: Projects v2 Item description: An item belonging to a project type: object @@ -48257,7 +49262,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &383 + content_type: &395 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -48307,7 +49312,7 @@ paths: - updated_at - archived_at examples: - default: &386 + default: &398 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -49001,8 +50006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - - *78 - - *377 + - *83 + - *389 requestBody: required: true description: Details of the item to add to the project. @@ -49039,7 +50044,7 @@ paths: description: Response content: application/json: - schema: &827 + schema: &838 title: Projects v2 Item description: An item belonging to a project type: object @@ -49052,8 +50057,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *189 - - &568 + - *200 + - &580 title: Pull Request Simple description: Pull Request Simple type: object @@ -49159,8 +50164,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *392 + required: *393 nullable: true active_lock_reason: type: string @@ -49205,7 +50210,7 @@ paths: nullable: true requested_teams: type: array - items: *282 + items: *296 nullable: true head: type: object @@ -49214,7 +50219,7 @@ paths: type: string ref: type: string - repo: *69 + repo: *74 sha: type: string user: @@ -49237,7 +50242,7 @@ paths: type: string ref: type: string - repo: *69 + repo: *74 sha: type: string user: @@ -49256,7 +50261,7 @@ paths: _links: type: object properties: - comments: &382 + comments: &394 title: Link description: Hypermedia Link type: object @@ -49265,13 +50270,13 @@ paths: type: string required: - href - commits: *382 - statuses: *382 - html: *382 - issue: *382 - review_comments: *382 - review_comment: *382 - self: *382 + commits: *394 + statuses: *394 + html: *394 + issue: *394 + review_comments: *394 + review_comment: *394 + self: *394 required: - comments - commits @@ -49281,8 +50286,8 @@ paths: - review_comments - review_comment - self - author_association: *190 - auto_merge: &679 + author_association: *201 + auto_merge: &691 title: Auto merge description: The status of auto merging a pull request. type: object @@ -49384,7 +50389,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *383 + content_type: *395 creator: *4 created_at: type: string @@ -49417,7 +50422,7 @@ paths: - updated_at - archived_at examples: - issue: &384 + issue: &396 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -49472,7 +50477,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: *384 + pull_request: *396 '304': *37 '403': *29 '401': *25 @@ -49492,9 +50497,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: - - *377 - - *78 - - &387 + - *389 + - *83 + - &399 name: item_id description: The unique identifier of the project item. in: path @@ -49502,24 +50507,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *385 + schema: *397 examples: - default: *386 + default: *398 headers: Link: *43 '304': *37 @@ -49540,9 +50548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *377 - - *78 - - *387 + - *389 + - *83 + - *399 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -49612,13 +50620,13 @@ paths: description: Response content: application/json: - schema: *385 + schema: *397 examples: - text_field: *386 - number_field: *386 - date_field: *386 - single_select_field: *386 - iteration_field: *386 + text_field: *398 + number_field: *398 + date_field: *398 + single_select_field: *398 + iteration_field: *398 '401': *25 '403': *29 '404': *6 @@ -49638,9 +50646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *377 - - *78 - - *387 + - *389 + - *83 + - *399 responses: '204': description: Response @@ -49664,7 +50672,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: - - *78 + - *83 responses: '200': description: Response @@ -49672,9 +50680,9 @@ paths: application/json: schema: type: array - items: *129 + items: *139 examples: - default: *130 + default: *140 '403': *29 '404': *6 x-github: @@ -49701,7 +50709,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: - - *78 + - *83 requestBody: required: true content: @@ -49712,7 +50720,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *129 + items: *139 minItems: 1 maxItems: 100 required: @@ -49742,9 +50750,9 @@ paths: application/json: schema: type: array - items: *129 + items: *139 examples: - default: *130 + default: *140 '403': *29 '404': *6 x-github: @@ -49765,16 +50773,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: - - *78 - - *131 + - *83 + - *141 responses: '200': description: Response content: application/json: - schema: *129 + schema: *139 examples: - default: *132 + default: *142 '403': *29 '404': *6 x-github: @@ -49797,13 +50805,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: - - *78 - - *131 + - *83 + - *141 requestBody: required: true content: application/json: - schema: *388 + schema: *400 examples: default: value: @@ -49819,9 +50827,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *139 examples: - default: *132 + default: *142 '403': *29 '404': *6 x-github: @@ -49844,10 +50852,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: - - *78 - - *131 + - *83 + - *141 responses: - '204': *133 + '204': *143 '403': *29 '404': *6 x-github: @@ -49868,7 +50876,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: - - *78 + - *83 - *17 - *19 - name: repository_query @@ -49906,7 +50914,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &389 + items: &401 title: Custom Property Value description: Custom property name and associated value type: object @@ -49973,7 +50981,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: - - *78 + - *83 requestBody: required: true content: @@ -49993,7 +51001,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *389 + items: *401 required: - repository_names - properties @@ -50034,7 +51042,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *78 + - *83 - *17 - *19 responses: @@ -50046,7 +51054,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 x-github: @@ -50065,8 +51073,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: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response if user is a public member @@ -50090,8 +51098,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: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -50112,8 +51120,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: - - *78 - - *182 + - *83 + - *192 responses: '204': description: Response @@ -50137,7 +51145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *78 + - *83 - 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 @@ -50184,9 +51192,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 x-github: @@ -50207,7 +51215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *78 + - *83 requestBody: required: true content: @@ -50389,7 +51397,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &471 title: Full Repository description: Full Repository type: object @@ -50666,8 +51674,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *390 - required: *391 + properties: *402 + required: *403 nullable: true temp_clone_token: type: string @@ -50754,8 +51762,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true organization: title: Simple User @@ -50764,8 +51772,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *69 - source: *69 + parent: *74 + source: *74 forks: type: integer master_branch: @@ -50782,7 +51790,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &573 + properties: &585 url: type: string format: uri @@ -50798,12 +51806,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &574 + required: &586 - url - key - name - html_url - security_and_analysis: *392 + security_and_analysis: *404 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -50887,7 +51895,7 @@ paths: - network_count - subscribers_count examples: - default: &461 + default: &473 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51405,7 +52413,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: - - *78 + - *83 responses: '200': description: Response @@ -51413,9 +52421,9 @@ paths: application/json: schema: type: array - items: *393 + items: *405 examples: - default: *394 + default: *406 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51437,10 +52445,10 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *83 - *17 - *19 - - &702 + - &714 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51458,7 +52466,7 @@ paths: application/json: schema: type: array - items: *162 + items: *172 examples: default: value: @@ -51505,7 +52513,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *83 requestBody: description: Request body required: true @@ -51526,30 +52534,20 @@ paths: - push - repository default: branch - enforcement: *140 + enforcement: *150 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *395 + items: *151 + conditions: *407 rules: type: array description: An array of rules within the ruleset. - items: &397 + items: &409 title: Repository Rule type: object description: A repository rule. oneOf: - - *142 - - *143 - - *144 - - *145 - - *146 - - *147 - - *148 - - *149 - - *150 - - *151 - *152 - *153 - *154 @@ -51560,6 +52558,16 @@ paths: - *159 - *160 - *161 + - *162 + - *163 + - *164 + - *165 + - *166 + - *167 + - *168 + - *169 + - *170 + - *171 required: - name - enforcement @@ -51597,9 +52605,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: &396 + default: &408 value: id: 21 name: super cool ruleset @@ -51653,8 +52661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *78 - - &704 + - *83 + - &716 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 @@ -51664,16 +52672,16 @@ paths: schema: type: string x-multi-segment: true - - *279 - - *96 - - &705 + - *293 + - *101 + - &717 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 - - &706 + - &718 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51693,7 +52701,7 @@ paths: description: Response content: application/json: - schema: &707 + schema: &719 title: Rule Suites description: Response type: array @@ -51748,7 +52756,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &708 + default: &720 value: - id: 21 actor_id: 12 @@ -51791,8 +52799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *78 - - &709 + - *83 + - &721 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51808,7 +52816,7 @@ paths: description: Response content: application/json: - schema: &710 + schema: &722 title: Rule Suite description: Response type: object @@ -51907,7 +52915,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &711 + default: &723 value: id: 21 actor_id: 12 @@ -51968,7 +52976,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *83 - name: ruleset_id description: The ID of the ruleset. in: path @@ -51980,9 +52988,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: *396 + default: *408 '404': *6 '500': *40 put: @@ -52000,7 +53008,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *83 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52026,16 +53034,16 @@ paths: - tag - push - repository - enforcement: *140 + enforcement: *150 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *395 + items: *151 + conditions: *407 rules: description: An array of rules within the ruleset. type: array - items: *397 + items: *409 examples: default: value: @@ -52070,9 +53078,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: *396 + default: *408 '404': *6 '500': *40 delete: @@ -52090,7 +53098,7 @@ paths: category: orgs subcategory: rules parameters: - - *78 + - *83 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52113,7 +53121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *78 + - *83 - *17 - *19 - name: ruleset_id @@ -52129,9 +53137,9 @@ paths: application/json: schema: type: array - items: *166 + items: *176 examples: - default: *398 + default: *410 '404': *6 '500': *40 x-github: @@ -52150,7 +53158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *78 + - *83 - name: ruleset_id description: The ID of the ruleset. in: path @@ -52168,7 +53176,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *411 examples: default: value: @@ -52230,15 +53238,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: - - *78 - - *400 - - *401 - - *402 - - *403 - - *101 + - *83 + - *412 + - *413 + - *414 + - *415 + - *106 - *19 - *17 - - &713 + - &725 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 @@ -52248,7 +53256,7 @@ paths: required: false schema: type: string - - &714 + - &726 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 @@ -52258,10 +53266,10 @@ paths: required: false schema: type: string - - *404 - - *405 - - *406 - - *407 + - *416 + - *417 + - *418 + - *419 responses: '200': description: Response @@ -52269,13 +53277,13 @@ paths: application/json: schema: type: array - items: *408 + items: *420 examples: - default: *409 + default: *421 headers: Link: *43 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52300,15 +53308,15 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *410 + schema: *422 examples: - default: *411 + default: *423 '403': *29 '404': *6 patch: @@ -52329,7 +53337,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *78 + - *83 requestBody: required: true content: @@ -52337,7 +53345,7 @@ paths: schema: type: object properties: - pattern_config_version: *169 + pattern_config_version: *179 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -52363,7 +53371,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *169 + custom_pattern_version: *179 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -52399,7 +53407,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *15 "/orgs/{org}/security-advisories": get: @@ -52417,8 +53425,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: - - *78 - - *101 + - *83 + - *106 - name: sort description: The property to sort the results by. in: query @@ -52430,8 +53438,8 @@ paths: - updated - published default: created - - *99 - - *100 + - *104 + - *105 - 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)." @@ -52461,7 +53469,7 @@ paths: application/json: schema: type: array - items: &735 + items: &747 description: A repository security advisory. type: object properties: @@ -52648,7 +53656,7 @@ paths: required: - vector_string - score - cvss_severities: *115 + cvss_severities: *125 cwes: type: array nullable: true @@ -52681,7 +53689,7 @@ paths: login: type: string description: The username of the user credited. - type: *412 + type: *424 credits_detailed: type: array nullable: true @@ -52691,7 +53699,7 @@ paths: type: object properties: user: *4 - type: *412 + type: *424 state: type: string description: The state of the user's acceptance of the @@ -52715,14 +53723,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *282 + items: *296 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *110 + - *115 required: - ghsa_id - cve_id @@ -52752,7 +53760,7 @@ paths: - private_fork additionalProperties: false examples: - default: &736 + default: &748 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -53131,7 +54139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *78 + - *83 responses: '200': description: Response @@ -53139,9 +54147,9 @@ paths: application/json: schema: type: array - items: *413 + items: *425 examples: - default: *357 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53164,8 +54172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *78 - - *184 + - *83 + - *195 responses: '204': description: Response @@ -53190,8 +54198,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *78 - - *184 + - *83 + - *195 responses: '204': description: Response @@ -53220,15 +54228,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *414 + schema: *426 examples: - default: *415 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53252,8 +54260,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: - - *78 - - *416 + - *83 + - *428 - *17 - *19 responses: @@ -53261,9 +54269,9 @@ paths: description: Success content: application/json: - schema: *417 + schema: *429 examples: - default: *418 + default: *430 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -53285,15 +54293,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53315,15 +54323,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *421 + schema: *433 examples: - default: *422 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53343,7 +54351,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: - - *78 + - *83 responses: '200': description: Immutable releases settings response @@ -53392,7 +54400,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: - - *78 + - *83 responses: '204': description: Response @@ -53449,7 +54457,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: - - *78 + - *83 - *19 - *17 responses: @@ -53467,9 +54475,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *269 examples: - default: *269 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53488,7 +54496,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: - - *78 + - *83 requestBody: required: true content: @@ -53537,8 +54545,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: - - *78 - - *249 + - *83 + - *263 responses: '204': description: Response @@ -53560,8 +54568,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: - - *78 - - *249 + - *83 + - *263 responses: '204': description: Response @@ -53584,7 +54592,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: - - *78 + - *83 - *17 - *19 responses: @@ -53602,9 +54610,9 @@ paths: type: integer network_configurations: type: array - items: *126 + items: *136 examples: - default: *423 + default: *435 headers: Link: *43 x-github: @@ -53625,7 +54633,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: - - *78 + - *83 requestBody: required: true content: @@ -53667,9 +54675,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *136 examples: - default: *127 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53689,16 +54697,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: - - *78 - - *128 + - *83 + - *138 responses: '200': description: Response content: application/json: - schema: *126 + schema: *136 examples: - default: *127 + default: *137 headers: Link: *43 x-github: @@ -53719,8 +54727,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: - - *78 - - *128 + - *83 + - *138 requestBody: required: true content: @@ -53759,9 +54767,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *136 examples: - default: *127 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53780,8 +54788,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: - - *78 - - *128 + - *83 + - *138 responses: '204': description: Response @@ -53804,16 +54812,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: - - *78 - - *424 + - *83 + - *436 responses: '200': description: Response content: application/json: - schema: *425 + schema: *437 examples: - default: *426 + default: *438 headers: Link: *43 x-github: @@ -53832,7 +54840,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: - - *78 + - *83 - *17 - name: page description: Page token @@ -53851,7 +54859,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &460 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -53897,7 +54905,7 @@ paths: type: string nullable: true examples: - default: &449 + default: &461 value: groups: - group_id: '123' @@ -53942,8 +54950,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: - - *78 - - *184 + - *83 + - *195 - 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`). @@ -53975,13 +54983,13 @@ paths: application/json: schema: type: array - items: *175 + items: *185 examples: - default: *176 + default: *186 '500': *40 '403': *29 '404': *6 - '422': *177 + '422': *187 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53999,7 +55007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *78 + - *83 - *17 - *19 responses: @@ -54009,9 +55017,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: *357 + default: *369 headers: Link: *43 '403': *29 @@ -54033,7 +55041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *78 + - *83 requestBody: required: true content: @@ -54105,7 +55113,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &439 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -54168,8 +55176,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *355 - required: *356 + properties: *367 + required: *368 nullable: true members_count: type: integer @@ -54432,7 +55440,7 @@ paths: - repos_count - organization examples: - default: &428 + default: &440 value: id: 1 node_id: MDQ6VGVhbTE= @@ -54502,16 +55510,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *78 - - *184 + - *83 + - *195 responses: '200': description: Response content: application/json: - schema: *427 + schema: *439 examples: - default: *428 + default: *440 '404': *6 x-github: githubCloudOnly: false @@ -54532,8 +55540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *78 - - *184 + - *83 + - *195 requestBody: required: false content: @@ -54595,16 +55603,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *427 + schema: *439 examples: - default: *428 + default: *440 '201': description: Response content: application/json: - schema: *427 + schema: *439 examples: - default: *428 + default: *440 '404': *6 '422': *15 '403': *29 @@ -54629,8 +55637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *78 - - *184 + - *83 + - *195 responses: '204': description: Response @@ -54656,9 +55664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *78 - - *184 - - *101 + - *83 + - *195 + - *106 - *17 - *19 - name: pinned @@ -54674,7 +55682,7 @@ paths: application/json: schema: type: array - items: &429 + items: &441 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -54753,7 +55761,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *191 + reactions: *202 required: - author - body @@ -54773,7 +55781,7 @@ paths: - updated_at - url examples: - default: &779 + default: &791 value: - author: login: octocat @@ -54847,8 +55855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *78 - - *184 + - *83 + - *195 requestBody: required: true content: @@ -54882,9 +55890,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *441 examples: - default: &430 + default: &442 value: author: login: octocat @@ -54956,9 +55964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *78 - - *184 - - &431 + - *83 + - *195 + - &443 name: discussion_number description: The number that identifies the discussion. in: path @@ -54970,9 +55978,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *441 examples: - default: *430 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54994,9 +56002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *78 - - *184 - - *431 + - *83 + - *195 + - *443 requestBody: required: false content: @@ -55019,9 +56027,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *441 examples: - default: &780 + default: &792 value: author: login: octocat @@ -55091,9 +56099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *78 - - *184 - - *431 + - *83 + - *195 + - *443 responses: '204': description: Response @@ -55119,10 +56127,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *78 - - *184 - - *431 - - *101 + - *83 + - *195 + - *443 + - *106 - *17 - *19 responses: @@ -55132,7 +56140,7 @@ paths: application/json: schema: type: array - items: &432 + items: &444 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -55189,7 +56197,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *191 + reactions: *202 required: - author - body @@ -55204,7 +56212,7 @@ paths: - updated_at - url examples: - default: &781 + default: &793 value: - author: login: octocat @@ -55272,9 +56280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *78 - - *184 - - *431 + - *83 + - *195 + - *443 requestBody: required: true content: @@ -55296,9 +56304,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: &433 + default: &445 value: author: login: octocat @@ -55364,10 +56372,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *78 - - *184 - - *431 - - &434 + - *83 + - *195 + - *443 + - &446 name: comment_number description: The number that identifies the comment. in: path @@ -55379,9 +56387,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: *433 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55403,10 +56411,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *78 - - *184 - - *431 - - *434 + - *83 + - *195 + - *443 + - *446 requestBody: required: true content: @@ -55428,9 +56436,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: &782 + default: &794 value: author: login: octocat @@ -55494,10 +56502,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *78 - - *184 - - *431 - - *434 + - *83 + - *195 + - *443 + - *446 responses: '204': description: Response @@ -55523,10 +56531,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: - - *78 - - *184 - - *431 - - *434 + - *83 + - *195 + - *443 + - *446 - 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. @@ -55552,7 +56560,7 @@ paths: application/json: schema: type: array - items: &435 + items: &447 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -55595,7 +56603,7 @@ paths: - content - created_at examples: - default: &437 + default: &449 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55645,10 +56653,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: - - *78 - - *184 - - *431 - - *434 + - *83 + - *195 + - *443 + - *446 requestBody: required: true content: @@ -55681,9 +56689,9 @@ paths: team discussion comment content: application/json: - schema: *435 + schema: *447 examples: - default: &436 + default: &448 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55712,9 +56720,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55737,11 +56745,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *78 - - *184 - - *431 - - *434 - - &438 + - *83 + - *195 + - *443 + - *446 + - &450 name: reaction_id description: The unique identifier of the reaction. in: path @@ -55773,9 +56781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *78 - - *184 - - *431 + - *83 + - *195 + - *443 - 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. @@ -55801,9 +56809,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 x-github: @@ -55829,9 +56837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *78 - - *184 - - *431 + - *83 + - *195 + - *443 requestBody: required: true content: @@ -55863,16 +56871,16 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '201': description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55895,10 +56903,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *78 - - *184 - - *431 - - *438 + - *83 + - *195 + - *443 + - *450 responses: '204': description: Response @@ -55921,16 +56929,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: - - *78 - - *184 + - *83 + - *195 responses: '200': description: Response content: application/json: - schema: *439 + schema: *451 examples: - default: *440 + default: *452 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55949,8 +56957,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: - - *78 - - *184 + - *83 + - *195 requestBody: required: true content: @@ -55973,9 +56981,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *453 examples: - default: *442 + default: *454 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -55994,8 +57002,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: - - *78 - - *184 + - *83 + - *195 responses: '204': description: Response @@ -56019,8 +57027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *78 - - *184 + - *83 + - *195 - *17 - *19 responses: @@ -56030,9 +57038,9 @@ paths: application/json: schema: type: array - items: *339 + items: *351 examples: - default: *340 + default: *352 headers: Link: *43 x-github: @@ -56054,8 +57062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *78 - - *184 + - *83 + - *195 - name: role description: Filters members returned by their role in the team. in: query @@ -56078,7 +57086,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 x-github: @@ -56108,15 +57116,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *78 - - *184 - - *182 + - *83 + - *195 + - *192 responses: '200': description: Response content: application/json: - schema: &443 + schema: &455 title: Team Membership description: Team Membership type: object @@ -56143,7 +57151,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &783 + response-if-user-is-a-team-maintainer: &795 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -56179,9 +57187,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: - - *78 - - *184 - - *182 + - *83 + - *195 + - *192 requestBody: required: false content: @@ -56206,9 +57214,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *455 examples: - response-if-users-membership-with-team-is-now-pending: &784 + response-if-users-membership-with-team-is-now-pending: &796 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -56243,9 +57251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *78 - - *184 - - *182 + - *83 + - *195 + - *192 responses: '204': description: Response @@ -56270,8 +57278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *78 - - *184 + - *83 + - *195 - *17 - *19 responses: @@ -56281,7 +57289,7 @@ paths: application/json: schema: type: array - items: &444 + items: &456 title: Team Project description: A team's access to a project. type: object @@ -56349,7 +57357,7 @@ paths: - updated_at - permissions examples: - default: &785 + default: &797 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -56412,9 +57420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *78 - - *184 - - &445 + - *83 + - *195 + - &457 name: project_id description: The unique identifier of the project. in: path @@ -56426,9 +57434,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *456 examples: - default: &786 + default: &798 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -56490,9 +57498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *78 - - *184 - - *445 + - *83 + - *195 + - *457 requestBody: required: false content: @@ -56558,9 +57566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *78 - - *184 - - *445 + - *83 + - *195 + - *457 responses: '204': description: Response @@ -56587,8 +57595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *78 - - *184 + - *83 + - *195 - *17 - *19 responses: @@ -56598,9 +57606,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 x-github: @@ -56629,16 +57637,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *78 - - *184 - - *446 - - *447 + - *83 + - *195 + - *458 + - *459 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &787 + schema: &799 title: Team Repository description: A team's access to a repository. type: object @@ -56661,8 +57669,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true forks: type: integer @@ -57207,10 +58215,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *78 - - *184 - - *446 - - *447 + - *83 + - *195 + - *458 + - *459 requestBody: required: false content: @@ -57255,10 +58263,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *78 - - *184 - - *446 - - *447 + - *83 + - *195 + - *458 + - *459 responses: '204': description: Response @@ -57284,16 +58292,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: - - *78 - - *184 + - *83 + - *195 responses: '200': description: Response content: application/json: - schema: *448 + schema: *460 examples: - default: *449 + default: *461 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57315,8 +58323,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: - - *78 - - *184 + - *83 + - *195 requestBody: required: true content: @@ -57359,7 +58367,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *460 examples: default: value: @@ -57391,8 +58399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *78 - - *184 + - *83 + - *195 - *17 - *19 responses: @@ -57402,9 +58410,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - response-if-child-teams-exist: &788 + response-if-child-teams-exist: &800 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -57457,7 +58465,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: - - *78 + - *83 - name: security_product in: path description: The security feature to enable or disable. @@ -57531,7 +58539,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &450 + - &462 name: card_id description: The unique identifier of the card. in: path @@ -57543,7 +58551,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &463 title: Project Card description: Project cards represent a scope of work. type: object @@ -57610,7 +58618,7 @@ paths: - created_at - updated_at examples: - default: &452 + default: &464 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -57666,7 +58674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *450 + - *462 requestBody: required: false content: @@ -57693,9 +58701,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *463 examples: - default: *452 + default: *464 '304': *37 '403': *29 '401': *25 @@ -57722,7 +58730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *450 + - *462 responses: '204': description: Response @@ -57766,7 +58774,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *450 + - *462 requestBody: required: true content: @@ -57877,7 +58885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &453 + - &465 name: column_id description: The unique identifier of the column. in: path @@ -57889,7 +58897,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &466 title: Project Column description: Project columns contain cards of work. type: object @@ -57935,7 +58943,7 @@ paths: - created_at - updated_at examples: - default: &455 + default: &467 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -57970,7 +58978,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *453 + - *465 requestBody: required: true content: @@ -57994,9 +59002,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *466 examples: - default: *455 + default: *467 '304': *37 '403': *29 '401': *25 @@ -58021,7 +59029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *453 + - *465 responses: '204': description: Response @@ -58050,7 +59058,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *453 + - *465 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -58071,7 +59079,7 @@ paths: application/json: schema: type: array - items: *451 + items: *463 examples: default: value: @@ -58130,7 +59138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *453 + - *465 requestBody: required: true content: @@ -58170,9 +59178,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *463 examples: - default: *452 + default: *464 '304': *37 '403': *29 '401': *25 @@ -58182,8 +59190,8 @@ paths: application/json: schema: oneOf: - - *232 - - *233 + - *244 + - *245 '503': description: Response content: @@ -58228,7 +59236,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *453 + - *465 requestBody: required: true content: @@ -58288,15 +59296,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *445 + - *457 responses: '200': description: Response content: application/json: - schema: *374 + schema: *386 examples: - default: &456 + default: &468 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -58353,7 +59361,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *445 + - *457 requestBody: required: false content: @@ -58399,9 +59407,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *386 examples: - default: *456 + default: *468 '404': description: Not Found if the authenticated user does not have access to the project @@ -58422,7 +59430,7 @@ paths: items: type: string '401': *25 - '410': *457 + '410': *469 '422': *7 x-github: githubCloudOnly: false @@ -58445,7 +59453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *445 + - *457 responses: '204': description: Delete Success @@ -58466,7 +59474,7 @@ paths: items: type: string '401': *25 - '410': *457 + '410': *469 '404': *6 x-github: githubCloudOnly: false @@ -58490,7 +59498,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *445 + - *457 - 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 @@ -58517,7 +59525,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 '404': *6 @@ -58547,8 +59555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *445 - - *182 + - *457 + - *192 requestBody: required: false content: @@ -58600,8 +59608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *445 - - *182 + - *457 + - *192 responses: '204': description: Response @@ -58632,8 +59640,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: - - *445 - - *182 + - *457 + - *192 responses: '200': description: Response @@ -58706,7 +59714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *445 + - *457 - *17 - *19 responses: @@ -58716,7 +59724,7 @@ paths: application/json: schema: type: array - items: *454 + items: *466 examples: default: value: @@ -58754,7 +59762,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *445 + - *457 requestBody: required: true content: @@ -58777,7 +59785,7 @@ paths: description: Response content: application/json: - schema: *454 + schema: *466 examples: default: value: @@ -58842,7 +59850,7 @@ paths: resources: type: object properties: - core: &458 + core: &470 title: Rate Limit type: object properties: @@ -58859,21 +59867,21 @@ paths: - remaining - reset - used - graphql: *458 - search: *458 - code_search: *458 - source_import: *458 - integration_manifest: *458 - code_scanning_upload: *458 - actions_runner_registration: *458 - scim: *458 - dependency_snapshots: *458 - dependency_sbom: *458 - code_scanning_autofix: *458 + graphql: *470 + search: *470 + code_search: *470 + source_import: *470 + integration_manifest: *470 + code_scanning_upload: *470 + actions_runner_registration: *470 + scim: *470 + dependency_snapshots: *470 + dependency_sbom: *470 + code_scanning_autofix: *470 required: - core - search - rate: *458 + rate: *470 required: - rate - resources @@ -58978,14 +59986,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *459 + schema: *471 examples: default-response: summary: Default response @@ -59490,7 +60498,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *460 + '301': *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59508,8 +60516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: false content: @@ -59766,10 +60774,10 @@ paths: description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: *461 - '307': &462 + default: *473 + '307': &474 description: Temporary Redirect content: application/json: @@ -59798,8 +60806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -59821,9 +60829,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': *462 + '307': *474 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59845,11 +60853,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 - - &477 + - &489 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59872,7 +60880,7 @@ paths: type: integer artifacts: type: array - items: &463 + items: &475 title: Artifact description: An artifact type: object @@ -59950,7 +60958,7 @@ paths: - expires_at - updated_at examples: - default: &478 + default: &490 value: total_count: 2 artifacts: @@ -60011,9 +61019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *446 - - *447 - - &464 + - *458 + - *459 + - &476 name: artifact_id description: The unique identifier of the artifact. in: path @@ -60025,7 +61033,7 @@ paths: description: Response content: application/json: - schema: *463 + schema: *475 examples: default: value: @@ -60063,9 +61071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *446 - - *447 - - *464 + - *458 + - *459 + - *476 responses: '204': description: Response @@ -60089,9 +61097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *446 - - *447 - - *464 + - *458 + - *459 + - *476 - name: archive_format in: path required: true @@ -60105,7 +61113,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': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60128,14 +61136,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *465 + schema: *477 examples: default: value: @@ -60161,11 +61169,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: - - *446 - - *447 + - *458 + - *459 - *17 - *19 - - &466 + - &478 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 @@ -60193,13 +61201,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *101 + - *106 responses: '200': description: Response content: application/json: - schema: &467 + schema: &479 title: Repository actions caches description: Repository actions caches type: object @@ -60241,7 +61249,7 @@ paths: - total_count - actions_caches examples: - default: &468 + default: &480 value: total_count: 1 actions_caches: @@ -60273,23 +61281,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: - - *446 - - *447 + - *458 + - *459 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *466 + - *478 responses: '200': description: Response content: application/json: - schema: *467 + schema: *479 examples: - default: *468 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60309,8 +61317,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: - - *446 - - *447 + - *458 + - *459 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -60341,9 +61349,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: - - *446 - - *447 - - &469 + - *458 + - *459 + - &481 name: job_id description: The unique identifier of the job. in: path @@ -60355,7 +61363,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &493 title: Job description: Information of a job execution in a workflow run type: object @@ -60662,9 +61670,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: - - *446 - - *447 - - *469 + - *458 + - *459 + - *481 responses: '302': description: Response @@ -60692,9 +61700,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: - - *446 - - *447 - - *469 + - *458 + - *459 + - *481 requestBody: required: false content: @@ -60715,7 +61723,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -60739,8 +61747,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Status response @@ -60790,8 +61798,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -60825,7 +61833,7 @@ paths: description: Empty response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -60854,8 +61862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -60873,7 +61881,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &495 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -60893,7 +61901,7 @@ paths: - created_at - updated_at examples: - default: &484 + default: &496 value: total_count: 2 secrets: @@ -60926,9 +61934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *446 - - *447 - - *470 + - *458 + - *459 + - *482 - *19 responses: '200': @@ -60945,7 +61953,7 @@ paths: type: integer variables: type: array - items: &487 + items: &499 title: Actions Variable type: object properties: @@ -60975,7 +61983,7 @@ paths: - created_at - updated_at examples: - default: &488 + default: &500 value: total_count: 2 variables: @@ -61008,8 +62016,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -61018,12 +62026,12 @@ paths: schema: type: object properties: - enabled: &471 + enabled: &483 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *51 - selected_actions_url: *242 - sha_pinning_required: *52 + allowed_actions: *56 + selected_actions_url: *256 + sha_pinning_required: *57 required: - enabled examples: @@ -61053,8 +62061,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -61065,9 +62073,9 @@ paths: schema: type: object properties: - enabled: *471 - allowed_actions: *51 - sha_pinning_required: *52 + enabled: *483 + allowed_actions: *56 + sha_pinning_required: *57 required: - enabled examples: @@ -61098,14 +62106,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: &472 + schema: &484 type: object properties: access_level: @@ -61123,7 +62131,7 @@ paths: required: - access_level examples: - default: &473 + default: &485 value: access_level: organization x-github: @@ -61148,15 +62156,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: application/json: - schema: *472 + schema: *484 examples: - default: *473 + default: *485 responses: '204': description: Response @@ -61180,14 +62188,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *244 + schema: *258 examples: default: value: @@ -61211,8 +62219,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Empty response for successful settings update @@ -61222,7 +62230,7 @@ paths: required: true content: application/json: - schema: *245 + schema: *259 examples: default: summary: Set retention days @@ -61246,16 +62254,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *53 + schema: *58 examples: - default: *246 + default: *260 '404': *6 x-github: enabledForGitHubApps: true @@ -61274,8 +62282,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -61285,7 +62293,7 @@ paths: required: true content: application/json: - schema: *53 + schema: *58 examples: default: summary: Set approval policy to first time contributors @@ -61309,16 +62317,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *247 + schema: *261 examples: - default: *54 + default: *59 '403': *29 '404': *6 x-github: @@ -61338,15 +62346,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: application/json: - schema: *248 + schema: *262 examples: - default: *54 + default: *59 responses: '204': description: Empty response for successful settings update @@ -61370,16 +62378,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *56 + schema: *61 examples: - default: *57 + default: *62 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61402,8 +62410,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -61411,9 +62419,9 @@ paths: required: false content: application/json: - schema: *56 + schema: *61 examples: - selected_actions: *57 + selected_actions: *62 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -61435,16 +62443,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *251 + schema: *265 examples: - default: *60 + default: *65 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61465,8 +62473,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Success response @@ -61477,9 +62485,9 @@ paths: required: true content: application/json: - schema: *252 + schema: *266 examples: - default: *60 + default: *65 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61506,8 +62514,8 @@ paths: in: query schema: type: string - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -61525,9 +62533,9 @@ paths: type: integer runners: type: array - items: *67 + items: *72 examples: - default: *68 + default: *73 headers: Link: *43 x-github: @@ -61551,8 +62559,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -61560,9 +62568,9 @@ paths: application/json: schema: type: array - items: *256 + items: *270 examples: - default: *257 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61584,8 +62592,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -61628,10 +62636,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *258 + '201': *272 '404': *6 '422': *7 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61659,16 +62667,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: - - *446 - - *447 + - *458 + - *459 responses: '201': description: Response content: application/json: - schema: *70 + schema: *75 examples: - default: *259 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61696,16 +62704,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: - - *446 - - *447 + - *458 + - *459 responses: '201': description: Response content: application/json: - schema: *70 + schema: *75 examples: - default: *260 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61727,17 +62735,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: - - *446 - - *447 - - *66 + - *458 + - *459 + - *71 responses: '200': description: Response content: application/json: - schema: *67 + schema: *72 examples: - default: *261 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61758,9 +62766,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: - - *446 - - *447 - - *66 + - *458 + - *459 + - *71 responses: '204': description: Response @@ -61786,11 +62794,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: - - *446 - - *447 - - *66 + - *458 + - *459 + - *71 responses: - '200': *72 + '200': *77 '404': *6 x-github: githubCloudOnly: false @@ -61812,9 +62820,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: - - *446 - - *447 - - *66 + - *458 + - *459 + - *71 requestBody: required: true content: @@ -61838,7 +62846,7 @@ paths: - gpu - accelerated responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -61862,9 +62870,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: - - *446 - - *447 - - *66 + - *458 + - *459 + - *71 requestBody: required: true content: @@ -61889,7 +62897,7 @@ paths: - gpu - accelerated responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -61913,11 +62921,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: - - *446 - - *447 - - *66 + - *458 + - *459 + - *71 responses: - '200': *262 + '200': *276 '404': *6 x-github: githubCloudOnly: false @@ -61944,12 +62952,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: - - *446 - - *447 - - *66 - - *263 + - *458 + - *459 + - *71 + - *277 responses: - '200': *72 + '200': *77 '404': *6 '422': *7 x-github: @@ -61975,9 +62983,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: - - *446 - - *447 - - &491 + - *458 + - *459 + - &503 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. @@ -61985,7 +62993,7 @@ paths: required: false schema: type: string - - &492 + - &504 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -61993,7 +63001,7 @@ paths: required: false schema: type: string - - &493 + - &505 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -62002,7 +63010,7 @@ paths: required: false schema: type: string - - &494 + - &506 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 @@ -62029,7 +63037,7 @@ paths: - pending - *17 - *19 - - &495 + - &507 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)." @@ -62038,7 +63046,7 @@ paths: schema: type: string format: date-time - - &474 + - &486 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -62047,13 +63055,13 @@ paths: schema: type: boolean default: false - - &496 + - &508 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &497 + - &509 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -62076,7 +63084,7 @@ paths: type: integer workflow_runs: type: array - items: &475 + items: &487 title: Workflow Run description: An invocation of a workflow type: object @@ -62171,7 +63179,7 @@ paths: that triggered the run. type: array nullable: true - items: *194 + items: *205 created_at: type: string format: date-time @@ -62224,7 +63232,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &519 + properties: &531 id: type: string description: SHA for the commit @@ -62275,7 +63283,7 @@ paths: - name - email nullable: true - required: &520 + required: &532 - id - tree_id - message @@ -62283,8 +63291,8 @@ paths: - author - committer nullable: true - repository: *255 - head_repository: *255 + repository: *269 + head_repository: *269 head_repository_id: type: integer example: 5 @@ -62322,7 +63330,7 @@ paths: - workflow_url - pull_requests examples: - default: &498 + default: &510 value: total_count: 1 workflow_runs: @@ -62558,24 +63566,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *446 - - *447 - - &476 + - *458 + - *459 + - &488 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *474 + - *486 responses: '200': description: Response content: application/json: - schema: *475 + schema: *487 examples: - default: &479 + default: &491 value: id: 30433642 name: Build @@ -62816,9 +63824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '204': description: Response @@ -62841,9 +63849,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '200': description: Response @@ -62962,15 +63970,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '201': description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -62997,12 +64005,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 - *17 - *19 - - *477 + - *489 responses: '200': description: Response @@ -63018,9 +64026,9 @@ paths: type: integer artifacts: type: array - items: *463 + items: *475 examples: - default: *478 + default: *490 headers: Link: *43 x-github: @@ -63044,25 +64052,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *446 - - *447 - - *476 - - &480 + - *458 + - *459 + - *488 + - &492 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *474 + - *486 responses: '200': description: Response content: application/json: - schema: *475 + schema: *487 examples: - default: *479 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63085,10 +64093,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: - - *446 - - *447 - - *476 - - *480 + - *458 + - *459 + - *488 + - *492 - *17 - *19 responses: @@ -63106,9 +64114,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *493 examples: - default: &482 + default: &494 value: total_count: 1 jobs: @@ -63221,10 +64229,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *446 - - *447 - - *476 - - *480 + - *458 + - *459 + - *488 + - *492 responses: '302': description: Response @@ -63252,19 +64260,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '202': description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63287,9 +64295,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 requestBody: required: true content: @@ -63356,19 +64364,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '202': description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63391,9 +64399,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 - 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 @@ -63423,9 +64431,9 @@ paths: type: integer jobs: type: array - items: *481 + items: *493 examples: - default: *482 + default: *494 headers: Link: *43 x-github: @@ -63450,9 +64458,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '302': description: Response @@ -63479,9 +64487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '204': description: Response @@ -63508,9 +64516,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '200': description: Response @@ -63570,7 +64578,7 @@ paths: items: type: object properties: - type: &604 + type: &616 type: string description: The type of reviewer. enum: @@ -63580,7 +64588,7 @@ paths: reviewer: anyOf: - *4 - - *282 + - *296 required: - environment - wait_timer @@ -63655,9 +64663,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 requestBody: required: true content: @@ -63704,7 +64712,7 @@ paths: application/json: schema: type: array - items: &590 + items: &602 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -63792,8 +64800,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 required: - id - node_id @@ -63810,7 +64818,7 @@ paths: - created_at - updated_at examples: - default: &591 + default: &603 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -63866,9 +64874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 requestBody: required: false content: @@ -63889,7 +64897,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -63912,9 +64920,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: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 requestBody: required: false content: @@ -63935,7 +64943,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -63968,9 +64976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *446 - - *447 - - *476 + - *458 + - *459 + - *488 responses: '200': description: Response @@ -64107,8 +65115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -64126,9 +65134,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *495 examples: - default: *484 + default: *496 headers: Link: *43 x-github: @@ -64153,16 +65161,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *485 + schema: *497 examples: - default: *486 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64184,17 +65192,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 responses: '200': description: Response content: application/json: - schema: *483 + schema: *495 examples: - default: &617 + default: &629 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -64220,9 +65228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 requestBody: required: true content: @@ -64253,7 +65261,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -64279,9 +65287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 responses: '204': description: Response @@ -64306,9 +65314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *446 - - *447 - - *470 + - *458 + - *459 + - *482 - *19 responses: '200': @@ -64325,9 +65333,9 @@ paths: type: integer variables: type: array - items: *487 + items: *499 examples: - default: *488 + default: *500 headers: Link: *43 x-github: @@ -64350,8 +65358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -64378,7 +65386,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -64403,17 +65411,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *446 - - *447 - - *268 + - *458 + - *459 + - *282 responses: '200': description: Response content: application/json: - schema: *487 + schema: *499 examples: - default: &618 + default: &630 value: name: USERNAME value: octocat @@ -64439,9 +65447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *446 - - *447 - - *268 + - *458 + - *459 + - *282 requestBody: required: true content: @@ -64483,9 +65491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *446 - - *447 - - *268 + - *458 + - *459 + - *282 responses: '204': description: Response @@ -64510,8 +65518,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -64529,7 +65537,7 @@ paths: type: integer workflows: type: array - items: &489 + items: &501 title: Workflow description: A GitHub Actions workflow type: object @@ -64636,9 +65644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *446 - - *447 - - &490 + - *458 + - *459 + - &502 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -64653,7 +65661,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *501 examples: default: value: @@ -64686,9 +65694,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *446 - - *447 - - *490 + - *458 + - *459 + - *502 responses: '204': description: Response @@ -64713,9 +65721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *446 - - *447 - - *490 + - *458 + - *459 + - *502 responses: '204': description: Response @@ -64766,9 +65774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *446 - - *447 - - *490 + - *458 + - *459 + - *502 responses: '204': description: Response @@ -64795,19 +65803,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: - - *446 - - *447 - - *490 - - *491 - - *492 - - *493 - - *494 + - *458 + - *459 + - *502 + - *503 + - *504 + - *505 + - *506 - *17 - *19 - - *495 - - *474 - - *496 - - *497 + - *507 + - *486 + - *508 + - *509 responses: '200': description: Response @@ -64823,9 +65831,9 @@ paths: type: integer workflow_runs: type: array - items: *475 + items: *487 examples: - default: *498 + default: *510 headers: Link: *43 x-github: @@ -64858,9 +65866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *446 - - *447 - - *490 + - *458 + - *459 + - *502 responses: '200': description: Response @@ -64921,12 +65929,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *446 - - *447 - - *101 + - *458 + - *459 + - *106 - *17 - - *99 - - *100 + - *104 + - *105 - name: ref description: |- The Git reference for the activities you want to list. @@ -65086,8 +66094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -65099,7 +66107,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 '404': *6 @@ -65124,8 +66132,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: - - *446 - - *447 + - *458 + - *459 - name: assignee in: path required: true @@ -65161,8 +66169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -65274,11 +66282,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *446 - - *447 + - *458 + - *459 - *17 - - *99 - - *100 + - *104 + - *105 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -65331,7 +66339,7 @@ paths: initiator: type: string examples: - default: *499 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65351,8 +66359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -65360,7 +66368,7 @@ paths: application/json: schema: type: array - items: &500 + items: &512 title: Autolink reference description: An autolink reference. type: object @@ -65414,8 +66422,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -65454,9 +66462,9 @@ paths: description: response content: application/json: - schema: *500 + schema: *512 examples: - default: &501 + default: &513 value: id: 1 key_prefix: TICKET- @@ -65487,9 +66495,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: - - *446 - - *447 - - &502 + - *458 + - *459 + - &514 name: autolink_id description: The unique identifier of the autolink. in: path @@ -65501,9 +66509,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *512 examples: - default: *501 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -65523,9 +66531,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: - - *446 - - *447 - - *502 + - *458 + - *459 + - *514 responses: '204': description: Response @@ -65549,8 +66557,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response if Dependabot is enabled @@ -65598,8 +66606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -65620,8 +66628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -65641,8 +66649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *446 - - *447 + - *458 + - *459 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -65680,7 +66688,7 @@ paths: - url protected: type: boolean - protection: &504 + protection: &516 title: Branch Protection description: Branch Protection type: object @@ -65722,7 +66730,7 @@ paths: required: - contexts - checks - enforce_admins: &507 + enforce_admins: &519 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -65737,7 +66745,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &509 + required_pull_request_reviews: &521 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -65758,7 +66766,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *282 + items: *296 apps: description: The list of apps with review dismissal access. @@ -65787,7 +66795,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *282 + items: *296 apps: description: The list of apps allowed to bypass pull request requirements. @@ -65813,7 +66821,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &506 + restrictions: &518 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -65876,7 +66884,7 @@ paths: type: string teams: type: array - items: *282 + items: *296 apps: type: array items: @@ -66090,9 +67098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *446 - - *447 - - &505 + - *458 + - *459 + - &517 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). @@ -66106,14 +67114,14 @@ paths: description: Response content: application/json: - schema: &515 + schema: &527 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &564 + commit: &576 title: Commit description: Commit type: object @@ -66147,7 +67155,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &503 + properties: &515 name: type: string example: '"Chris Wanstrath"' @@ -66162,7 +67170,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *503 + properties: *515 nullable: true message: type: string @@ -66183,7 +67191,7 @@ paths: required: - sha - url - verification: &624 + verification: &636 title: Verification type: object properties: @@ -66217,12 +67225,12 @@ paths: nullable: true oneOf: - *4 - - *266 + - *280 committer: nullable: true oneOf: - *4 - - *266 + - *280 parents: type: array items: @@ -66253,7 +67261,7 @@ paths: type: integer files: type: array - items: &577 + items: &589 title: Diff Entry description: Diff Entry type: object @@ -66337,7 +67345,7 @@ paths: - self protected: type: boolean - protection: *504 + protection: *516 protection_url: type: string format: uri @@ -66444,7 +67452,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *460 + '301': *472 '404': *6 x-github: githubCloudOnly: false @@ -66466,15 +67474,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *504 + schema: *516 examples: default: value: @@ -66668,9 +67676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -66925,7 +67933,7 @@ paths: url: type: string format: uri - required_status_checks: &512 + required_status_checks: &524 title: Status Check Policy description: Status Check Policy type: object @@ -67001,7 +68009,7 @@ paths: items: *4 teams: type: array - items: *282 + items: *296 apps: type: array items: *5 @@ -67019,7 +68027,7 @@ paths: items: *4 teams: type: array - items: *282 + items: *296 apps: type: array items: *5 @@ -67077,7 +68085,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *506 + restrictions: *518 required_conversation_resolution: type: object properties: @@ -67189,9 +68197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '204': description: Response @@ -67216,17 +68224,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *507 + schema: *519 examples: - default: &508 + default: &520 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -67248,17 +68256,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *507 + schema: *519 examples: - default: *508 + default: *520 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67277,9 +68285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '204': description: Response @@ -67304,17 +68312,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *509 + schema: *521 examples: - default: &510 + default: &522 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -67410,9 +68418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: false content: @@ -67510,9 +68518,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *521 examples: - default: *510 + default: *522 '422': *15 x-github: githubCloudOnly: false @@ -67533,9 +68541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '204': description: Response @@ -67562,17 +68570,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *507 + schema: *519 examples: - default: &511 + default: &523 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -67595,17 +68603,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *507 + schema: *519 examples: - default: *511 + default: *523 '404': *6 x-github: githubCloudOnly: false @@ -67625,9 +68633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '204': description: Response @@ -67652,17 +68660,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *512 + schema: *524 examples: - default: &513 + default: &525 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -67688,9 +68696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: false content: @@ -67742,9 +68750,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *524 examples: - default: *513 + default: *525 '404': *6 '422': *15 x-github: @@ -67766,9 +68774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '204': description: Response @@ -67792,9 +68800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response @@ -67828,9 +68836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: false content: @@ -67897,9 +68905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: false content: @@ -67963,9 +68971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: content: application/json: @@ -68031,15 +69039,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response content: application/json: - schema: *506 + schema: *518 examples: default: value: @@ -68130,9 +69138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '204': description: Response @@ -68155,9 +69163,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: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response @@ -68167,7 +69175,7 @@ paths: type: array items: *5 examples: - default: &514 + default: &526 value: - id: 1 slug: octoapp @@ -68224,9 +69232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68260,7 +69268,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *526 '422': *15 x-github: githubCloudOnly: false @@ -68281,9 +69289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68317,7 +69325,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *526 '422': *15 x-github: githubCloudOnly: false @@ -68338,9 +69346,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68374,7 +69382,7 @@ paths: type: array items: *5 examples: - default: *514 + default: *526 '422': *15 x-github: githubCloudOnly: false @@ -68396,9 +69404,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: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response @@ -68406,9 +69414,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: *357 + default: *369 '404': *6 x-github: githubCloudOnly: false @@ -68428,9 +69436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: false content: @@ -68466,9 +69474,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: *357 + default: *369 '422': *15 x-github: githubCloudOnly: false @@ -68489,9 +69497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: false content: @@ -68527,9 +69535,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: *357 + default: *369 '422': *15 x-github: githubCloudOnly: false @@ -68550,9 +69558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: content: application/json: @@ -68587,9 +69595,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: *357 + default: *369 '422': *15 x-github: githubCloudOnly: false @@ -68611,9 +69619,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: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 responses: '200': description: Response @@ -68623,7 +69631,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 '404': *6 x-github: githubCloudOnly: false @@ -68647,9 +69655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68682,7 +69690,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 '422': *15 x-github: githubCloudOnly: false @@ -68707,9 +69715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68742,7 +69750,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 '422': *15 x-github: githubCloudOnly: false @@ -68767,9 +69775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68802,7 +69810,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 '422': *15 x-github: githubCloudOnly: false @@ -68829,9 +69837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 requestBody: required: true content: @@ -68853,7 +69861,7 @@ paths: description: Response content: application/json: - schema: *515 + schema: *527 examples: default: value: @@ -68967,12 +69975,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *446 - - *447 - - *94 - - *95 - - *96 - - *97 + - *458 + - *459 + - *99 + - *100 + - *101 + - *102 - *17 - *19 responses: @@ -68982,9 +69990,9 @@ paths: application/json: schema: type: array - items: *277 + items: *291 examples: - default: *278 + default: *292 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -69004,8 +70012,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *446 - - *447 + - *458 + - *459 - name: bypass_request_number in: path required: true @@ -69019,7 +70027,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *291 examples: default: value: @@ -69078,12 +70086,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 - - *94 - - *95 - - *96 - - *97 + - *458 + - *459 + - *99 + - *100 + - *101 + - *102 - *17 - *19 responses: @@ -69093,9 +70101,9 @@ paths: application/json: schema: type: array - items: *280 + items: *294 examples: - default: *281 + default: *295 '404': *6 '403': *29 '500': *40 @@ -69119,8 +70127,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *458 + - *459 - name: bypass_request_number in: path required: true @@ -69132,7 +70140,7 @@ paths: description: A single bypass request. content: application/json: - schema: *280 + schema: *294 examples: default: value: @@ -69190,8 +70198,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *458 + - *459 - name: bypass_request_number in: path required: true @@ -69262,8 +70270,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *446 - - *447 + - *458 + - *459 - name: bypass_response_id in: path required: true @@ -69296,8 +70304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -69576,7 +70584,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &528 title: CheckRun description: A check performed on the code of a given code change type: object @@ -69687,16 +70695,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *194 - deployment: &843 + items: *205 + deployment: &854 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69763,8 +70771,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 required: - id - node_id @@ -69976,9 +70984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *446 - - *447 - - &517 + - *458 + - *459 + - &529 name: check_run_id description: The unique identifier of the check run. in: path @@ -69990,9 +70998,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *528 examples: - default: &518 + default: &530 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -70092,9 +71100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *446 - - *447 - - *517 + - *458 + - *459 + - *529 requestBody: required: true content: @@ -70334,9 +71342,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *528 examples: - default: *518 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70356,9 +71364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *446 - - *447 - - *517 + - *458 + - *459 + - *529 - *17 - *19 responses: @@ -70453,15 +71461,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *446 - - *447 - - *517 + - *458 + - *459 + - *529 responses: '201': description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -70499,8 +71507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -70522,7 +71530,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &521 + schema: &533 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -70586,7 +71594,7 @@ paths: nullable: true pull_requests: type: array - items: *194 + items: *205 nullable: true app: title: GitHub app @@ -70597,9 +71605,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - repository: *255 + properties: *197 + required: *198 + repository: *269 created_at: type: string format: date-time @@ -70608,12 +71616,12 @@ paths: type: string format: date-time nullable: true - head_commit: &869 + head_commit: &880 title: Simple Commit description: A commit. type: object - properties: *519 - required: *520 + properties: *531 + required: *532 latest_check_runs_count: type: integer check_runs_url: @@ -70641,7 +71649,7 @@ paths: - check_runs_url - pull_requests examples: - default: &522 + default: &534 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -70932,9 +71940,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *521 + schema: *533 examples: - default: *522 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70953,8 +71961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -71015,7 +72023,7 @@ paths: required: - app_id - setting - repository: *255 + repository: *269 examples: default: value: @@ -71263,9 +72271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *446 - - *447 - - &523 + - *458 + - *459 + - &535 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -71277,9 +72285,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *533 examples: - default: *522 + default: *534 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71302,17 +72310,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: - - *446 - - *447 - - *523 - - &570 + - *458 + - *459 + - *535 + - &582 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &571 + - &583 name: status description: Returns check runs with the specified `status`. in: query @@ -71351,9 +72359,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *528 examples: - default: &572 + default: &584 value: total_count: 1 check_runs: @@ -71455,15 +72463,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *446 - - *447 - - *523 + - *458 + - *459 + - *535 responses: '201': description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -71490,30 +72498,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: - - *446 - - *447 - - *286 - - *287 + - *458 + - *459 + - *300 + - *301 - *19 - *17 - - &539 + - &551 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: *524 - - &540 + schema: *536 + - &552 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *101 - - *99 - - *100 + - *106 + - *104 + - *105 - name: sort description: The property by which to sort the results. in: query @@ -71529,13 +72537,13 @@ paths: be returned. in: query required: false - schema: *288 + schema: *302 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *525 + schema: *537 responses: '200': description: Response @@ -71546,14 +72554,14 @@ paths: items: type: object properties: - number: *113 - created_at: *120 - updated_at: *121 - url: *118 - html_url: *119 - instances_url: *526 - state: *104 - fixed_at: *123 + number: *123 + created_at: *130 + updated_at: *131 + url: *128 + html_url: *129 + instances_url: *538 + state: *109 + fixed_at: *133 dismissed_by: title: Simple User description: A GitHub user. @@ -71561,12 +72569,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *122 - dismissed_reason: *527 - dismissed_comment: *528 - rule: *529 - tool: *530 - most_recent_instance: *531 + dismissed_at: *132 + dismissed_reason: *539 + dismissed_comment: *540 + rule: *541 + tool: *542 + most_recent_instance: *543 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71692,14 +72700,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &532 + '403': &544 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71719,9 +72727,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: - - *446 - - *447 - - &533 + - *458 + - *459 + - &545 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71729,23 +72737,23 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *113 + schema: *123 responses: '200': description: Response content: application/json: - schema: &534 + schema: &546 type: object properties: - number: *113 - created_at: *120 - updated_at: *121 - url: *118 - html_url: *119 - instances_url: *526 - state: *104 - fixed_at: *123 + number: *123 + created_at: *130 + updated_at: *131 + url: *128 + html_url: *129 + instances_url: *538 + state: *109 + fixed_at: *133 dismissed_by: title: Simple User description: A GitHub user. @@ -71753,9 +72761,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *122 - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_at: *132 + dismissed_reason: *539 + dismissed_comment: *540 rule: type: object properties: @@ -71809,8 +72817,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *530 - most_recent_instance: *531 + tool: *542 + most_recent_instance: *543 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -71909,9 +72917,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71929,9 +72937,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 requestBody: required: true content: @@ -71946,8 +72954,8 @@ paths: enum: - open - dismissed - dismissed_reason: *527 - dismissed_comment: *528 + dismissed_reason: *539 + dismissed_comment: *540 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -71966,7 +72974,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *546 examples: default: value: @@ -72042,14 +73050,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &538 + '403': &550 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': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72069,15 +73077,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 responses: '200': description: Response content: application/json: - schema: &535 + schema: &547 type: object properties: status: @@ -72103,13 +73111,13 @@ paths: - description - started_at examples: - default: &536 + default: &548 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &537 + '400': &549 description: Bad Request content: application/json: @@ -72120,9 +73128,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': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72145,29 +73153,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 responses: '200': description: OK content: application/json: - schema: *535 + schema: *547 examples: - default: *536 + default: *548 '202': description: Accepted content: application/json: - schema: *535 + schema: *547 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *537 + '400': *549 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72177,7 +73185,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72199,9 +73207,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 requestBody: required: false content: @@ -72246,12 +73254,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *537 - '403': *538 + '400': *549 + '403': *550 '404': *6 '422': description: Unprocessable Entity - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72271,13 +73279,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 - *19 - *17 - - *539 - - *540 + - *551 + - *552 responses: '200': description: Response @@ -72285,7 +73293,7 @@ paths: application/json: schema: type: array - items: *531 + items: *543 examples: default: value: @@ -72324,9 +73332,9 @@ paths: end_column: 50 classifications: - source - '403': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72358,29 +73366,29 @@ 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: - - *446 - - *447 - - *286 - - *287 + - *458 + - *459 + - *300 + - *301 - *19 - *17 - - *540 + - *552 - 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: *524 + schema: *536 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &543 + schema: &555 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *101 + - *106 - name: sort description: The property by which to sort the results. in: query @@ -72397,23 +73405,23 @@ paths: application/json: schema: type: array - items: &544 + items: &556 type: object properties: - ref: *524 - commit_sha: &552 + ref: *536 + commit_sha: &564 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: *541 + analysis_key: *553 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *542 + category: *554 error: type: string example: error reading field xyz @@ -72437,8 +73445,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *543 - tool: *530 + sarif_id: *555 + tool: *542 deletable: type: boolean warning: @@ -72499,9 +73507,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72535,8 +73543,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: - - *446 - - *447 + - *458 + - *459 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72549,7 +73557,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *556 examples: response: summary: application/json response @@ -72603,14 +73611,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *532 + '403': *544 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72690,8 +73698,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: - - *446 - - *447 + - *458 + - *459 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72744,9 +73752,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': *538 + '403': *550 '404': *6 - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -72766,8 +73774,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -72775,7 +73783,7 @@ paths: application/json: schema: type: array - items: &545 + items: &557 title: CodeQL Database description: A CodeQL database. type: object @@ -72886,9 +73894,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': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72915,8 +73923,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: - - *446 - - *447 + - *458 + - *459 - name: language in: path description: The language of the CodeQL database. @@ -72928,7 +73936,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *557 examples: default: value: @@ -72960,11 +73968,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': &579 + '302': &591 description: Found - '403': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72984,8 +73992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *446 - - *447 + - *458 + - *459 - name: language in: path description: The language of the CodeQL database. @@ -72995,9 +74003,9 @@ paths: responses: '204': description: Response - '403': *538 + '403': *550 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73023,8 +74031,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -73033,7 +74041,7 @@ paths: type: object additionalProperties: false properties: - language: &546 + language: &558 type: string description: The language targeted by the CodeQL query enum: @@ -73112,7 +74120,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &550 + schema: &562 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73120,9 +74128,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *110 + controller_repo: *115 actor: *4 - query_language: *546 + query_language: *558 query_pack_url: type: string description: The download url for the query pack. @@ -73169,7 +74177,7 @@ paths: items: type: object properties: - repository: &547 + repository: &559 title: Repository Identifier description: Repository Identifier type: object @@ -73205,7 +74213,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &551 + analysis_status: &563 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73237,7 +74245,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &548 + access_mismatch_repos: &560 type: object properties: repository_count: @@ -73251,7 +74259,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: *547 + items: *559 required: - repository_count - repositories @@ -73273,8 +74281,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *548 - over_limit_repos: *548 + no_codeql_db_repos: *560 + over_limit_repos: *560 required: - access_mismatch_repos - not_found_repos @@ -73290,7 +74298,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &549 + value: &561 summary: Default response value: id: 1 @@ -73442,17 +74450,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *549 + value: *561 repository_lists: summary: Response for a successful variant analysis submission - value: *549 + value: *561 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73473,8 +74481,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: - - *446 - - *447 + - *458 + - *459 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -73486,11 +74494,11 @@ paths: description: Response content: application/json: - schema: *550 + schema: *562 examples: - default: *549 + default: *561 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73511,7 +74519,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: - - *446 + - *458 - name: repo in: path description: The name of the controller repository. @@ -73545,8 +74553,8 @@ paths: schema: type: object properties: - repository: *110 - analysis_status: *551 + repository: *115 + analysis_status: *563 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -73650,7 +74658,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73671,8 +74679,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -73757,9 +74765,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *532 + '403': *544 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73778,8 +74786,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -73846,7 +74854,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -73871,7 +74879,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *538 + '403': *550 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -73885,7 +74893,7 @@ paths: content: application/json: schema: *3 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73942,8 +74950,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -73951,7 +74959,7 @@ paths: schema: type: object properties: - commit_sha: *552 + commit_sha: *564 ref: type: string description: |- @@ -74009,7 +75017,7 @@ paths: schema: type: object properties: - id: *543 + id: *555 url: type: string description: The REST API URL for checking the status of the upload. @@ -74023,11 +75031,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': *538 + '403': *550 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74046,8 +75054,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: - - *446 - - *447 + - *458 + - *459 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -74093,10 +75101,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': *532 + '403': *544 '404': description: Not Found if the sarif id does not match any upload - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74118,8 +75126,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -74143,7 +75151,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *105 + configuration: *110 examples: default: value: @@ -74175,7 +75183,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': *133 + '204': *143 '304': *37 '403': *29 '404': *6 @@ -74200,8 +75208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *446 - - *447 + - *458 + - *459 - 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 @@ -74321,8 +75329,8 @@ paths: parameters: - *17 - *19 - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -74338,7 +75346,7 @@ paths: type: integer codespaces: type: array - items: *347 + items: *359 examples: default: value: @@ -74636,8 +75644,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -74700,22 +75708,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '400': *14 '401': *25 '403': *29 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74739,8 +75747,8 @@ paths: parameters: - *17 - *19 - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -74804,8 +75812,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: - - *446 - - *447 + - *458 + - *459 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -74840,14 +75848,14 @@ paths: type: integer machines: type: array - items: &795 + items: &807 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *554 - required: *555 + properties: *566 + required: *567 examples: - default: &796 + default: &808 value: total_count: 2 machines: @@ -74887,8 +75895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *446 - - *447 + - *458 + - *459 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -74972,8 +75980,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: - - *446 - - *447 + - *458 + - *459 - 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 @@ -75018,7 +76026,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75039,8 +76047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -75058,7 +76066,7 @@ paths: type: integer secrets: type: array - items: &559 + items: &571 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75078,7 +76086,7 @@ paths: - created_at - updated_at examples: - default: *556 + default: *568 headers: Link: *43 x-github: @@ -75101,16 +76109,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *557 + schema: *569 examples: - default: *558 + default: *570 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75130,17 +76138,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 responses: '200': description: Response content: application/json: - schema: *559 + schema: *571 examples: - default: *560 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75160,9 +76168,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: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 requestBody: required: true content: @@ -75190,7 +76198,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -75214,9 +76222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 responses: '204': description: Response @@ -75244,8 +76252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *446 - - *447 + - *458 + - *459 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -75287,7 +76295,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &561 + properties: &573 login: type: string example: octocat @@ -75380,7 +76388,7 @@ paths: user_view_type: type: string example: public - required: &562 + required: &574 - avatar_url - events_url - followers_url @@ -75454,9 +76462,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: - - *446 - - *447 - - *182 + - *458 + - *459 + - *192 responses: '204': description: Response if user is a collaborator @@ -75502,9 +76510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *446 - - *447 - - *182 + - *458 + - *459 + - *192 requestBody: required: false content: @@ -75530,7 +76538,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &637 + schema: &649 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -75541,7 +76549,7 @@ paths: example: 42 type: integer format: int64 - repository: *255 + repository: *269 invitee: title: Simple User description: A GitHub user. @@ -75719,7 +76727,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *232 + schema: *244 '403': *29 x-github: triggersNotification: true @@ -75759,9 +76767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *446 - - *447 - - *182 + - *458 + - *459 + - *192 responses: '204': description: No Content when collaborator was removed from the repository. @@ -75792,9 +76800,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *446 - - *447 - - *182 + - *458 + - *459 + - *192 responses: '200': description: if user has admin permissions @@ -75814,8 +76822,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *561 - required: *562 + properties: *573 + required: *574 nullable: true required: - permission @@ -75870,8 +76878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -75881,7 +76889,7 @@ paths: application/json: schema: type: array - items: &563 + items: &575 title: Commit Comment description: Commit Comment type: object @@ -75922,8 +76930,8 @@ paths: updated_at: type: string format: date-time - author_association: *190 - reactions: *191 + author_association: *201 + reactions: *202 required: - url - html_url @@ -75939,7 +76947,7 @@ paths: - created_at - updated_at examples: - default: &566 + default: &578 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75998,17 +77006,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 responses: '200': description: Response content: application/json: - schema: *563 + schema: *575 examples: - default: &567 + default: &579 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76065,9 +77073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 requestBody: required: true content: @@ -76089,7 +77097,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *575 examples: default: value: @@ -76140,9 +77148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 responses: '204': description: Response @@ -76163,9 +77171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 - 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. @@ -76191,9 +77199,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 '404': *6 @@ -76214,9 +77222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 requestBody: required: true content: @@ -76248,16 +77256,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '201': description: Reaction created content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '422': *15 x-github: githubCloudOnly: false @@ -76279,10 +77287,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *446 - - *447 - - *205 - - *438 + - *458 + - *459 + - *216 + - *450 responses: '204': description: Response @@ -76331,8 +77339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *446 - - *447 + - *458 + - *459 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -76388,9 +77396,9 @@ paths: application/json: schema: type: array - items: *564 + items: *576 examples: - default: &686 + default: &698 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76464,7 +77472,7 @@ paths: '500': *40 '400': *14 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76484,9 +77492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *446 - - *447 - - &565 + - *458 + - *459 + - &577 name: commit_sha description: The SHA of the commit. in: path @@ -76533,7 +77541,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76558,9 +77566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *446 - - *447 - - *565 + - *458 + - *459 + - *577 - *17 - *19 responses: @@ -76570,9 +77578,9 @@ paths: application/json: schema: type: array - items: *563 + items: *575 examples: - default: *566 + default: *578 headers: Link: *43 x-github: @@ -76600,9 +77608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *446 - - *447 - - *565 + - *458 + - *459 + - *577 requestBody: required: true content: @@ -76637,9 +77645,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *575 examples: - default: *567 + default: *579 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76667,9 +77675,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: - - *446 - - *447 - - *565 + - *458 + - *459 + - *577 - *17 - *19 responses: @@ -76679,9 +77687,9 @@ paths: application/json: schema: type: array - items: *568 + items: *580 examples: - default: &678 + default: &690 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77161,7 +78169,7 @@ paths: draft: false headers: Link: *43 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77218,11 +78226,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *446 - - *447 + - *458 + - *459 - *19 - *17 - - &569 + - &581 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)" @@ -77237,9 +78245,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *576 examples: - default: &665 + default: &677 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77326,8 +78334,8 @@ paths: '422': *15 '404': *6 '500': *40 - '503': *167 - '409': *109 + '503': *177 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77352,11 +78360,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: - - *446 - - *447 - - *569 - - *570 - - *571 + - *458 + - *459 + - *581 + - *582 + - *583 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -77390,9 +78398,9 @@ paths: type: integer check_runs: type: array - items: *516 + items: *528 examples: - default: *572 + default: *584 headers: Link: *43 x-github: @@ -77417,9 +78425,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: - - *446 - - *447 - - *569 + - *458 + - *459 + - *581 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -77427,7 +78435,7 @@ paths: schema: type: integer example: 1 - - *570 + - *582 - *17 - *19 responses: @@ -77445,7 +78453,7 @@ paths: type: integer check_suites: type: array - items: *521 + items: *533 examples: default: value: @@ -77645,9 +78653,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: - - *446 - - *447 - - *569 + - *458 + - *459 + - *581 - *17 - *19 responses: @@ -77714,7 +78722,7 @@ paths: type: string total_count: type: integer - repository: *255 + repository: *269 commit_url: type: string format: uri @@ -77845,9 +78853,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *446 - - *447 - - *569 + - *458 + - *459 + - *581 - *17 - *19 responses: @@ -77857,7 +78865,7 @@ paths: application/json: schema: type: array - items: &740 + items: &752 title: Status description: The status of a commit. type: object @@ -77938,7 +78946,7 @@ paths: site_admin: false headers: Link: *43 - '301': *460 + '301': *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77966,8 +78974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -77996,20 +79004,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *573 - required: *574 + properties: *585 + required: *586 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &575 + properties: &587 url: type: string format: uri html_url: type: string format: uri - required: &576 + required: &588 - url - html_url nullable: true @@ -78017,32 +79025,32 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true contributing: title: Community Health File type: object - properties: *575 - required: *576 + properties: *587 + required: *588 nullable: true readme: title: Community Health File type: object - properties: *575 - required: *576 + properties: *587 + required: *588 nullable: true issue_template: title: Community Health File type: object - properties: *575 - required: *576 + properties: *587 + required: *588 nullable: true pull_request_template: title: Community Health File type: object - properties: *575 - required: *576 + properties: *587 + required: *588 nullable: true required: - code_of_conduct @@ -78169,8 +79177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *446 - - *447 + - *458 + - *459 - *19 - *17 - name: basehead @@ -78213,8 +79221,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *564 - merge_base_commit: *564 + base_commit: *576 + merge_base_commit: *576 status: type: string enum: @@ -78234,10 +79242,10 @@ paths: example: 6 commits: type: array - items: *564 + items: *576 files: type: array - items: *577 + items: *589 required: - url - html_url @@ -78481,7 +79489,7 @@ paths: module Test" '404': *6 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78523,8 +79531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *446 - - *447 + - *458 + - *459 - name: path description: path parameter in: path @@ -78667,7 +79675,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &578 + response-if-content-is-a-file: &590 summary: Response if content is a file value: type: file @@ -78799,7 +79807,7 @@ paths: - size - type - url - - &691 + - &703 title: Content File description: Content File type: object @@ -79000,7 +80008,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *578 + response-if-content-is-a-file: *590 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -79069,7 +80077,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *579 + '302': *591 '304': *37 x-github: githubCloudOnly: false @@ -79092,8 +80100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *446 - - *447 + - *458 + - *459 - name: path description: path parameter in: path @@ -79186,7 +80194,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &592 title: File Commit description: File Commit type: object @@ -79338,7 +80346,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *592 examples: example-for-creating-a-file: value: @@ -79392,7 +80400,7 @@ paths: schema: oneOf: - *3 - - &619 + - &631 description: Repository rule violation was detected type: object properties: @@ -79413,7 +80421,7 @@ paths: items: type: object properties: - placeholder_id: &732 + placeholder_id: &744 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79445,8 +80453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *446 - - *447 + - *458 + - *459 - name: path description: path parameter in: path @@ -79507,7 +80515,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *592 examples: default: value: @@ -79541,8 +80549,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *109 - '503': *167 + '409': *114 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79562,8 +80570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *446 - - *447 + - *458 + - *459 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -79686,31 +80694,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *446 - - *447 - - *303 - - *304 - - *305 - - *306 + - *458 + - *459 + - *317 + - *318 + - *319 + - *320 - 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 - - *307 - - *581 - - *308 - - *309 - - *101 - - 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 + - *321 + - *593 + - *322 + - *323 + - *106 - 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)." @@ -79719,10 +80719,8 @@ paths: schema: type: integer default: 30 - - *99 - - *100 - - *310 - - *311 + - *104 + - *105 responses: '200': description: Response @@ -79730,11 +80728,11 @@ paths: application/json: schema: type: array - items: &584 + items: &596 type: object description: A Dependabot alert. properties: - number: *113 + number: *123 state: type: string description: The state of the Dependabot alert. @@ -79749,7 +80747,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *114 + package: *124 manifest_path: type: string description: The full path to the dependency manifest file, @@ -79776,13 +80774,13 @@ paths: - unknown - direct - transitive - security_advisory: *582 - security_vulnerability: *117 - url: *118 - html_url: *119 - created_at: *120 - updated_at: *121 - dismissed_at: *122 + security_advisory: *594 + security_vulnerability: *127 + url: *128 + html_url: *129 + created_at: *130 + updated_at: *131 + dismissed_at: *132 dismissed_by: title: Simple User description: A GitHub user. @@ -79806,8 +80804,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *123 - auto_dismissed_at: *583 + fixed_at: *133 + auto_dismissed_at: *595 required: - number - state @@ -80037,9 +81035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *446 - - *447 - - &585 + - *458 + - *459 + - &597 name: alert_number in: path description: |- @@ -80048,13 +81046,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *113 + schema: *123 responses: '200': description: Response content: application/json: - schema: *584 + schema: *596 examples: default: value: @@ -80167,9 +81165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *446 - - *447 - - *585 + - *458 + - *459 + - *597 requestBody: required: true content: @@ -80214,7 +81212,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *596 examples: default: value: @@ -80320,7 +81318,7 @@ paths: '400': *14 '403': *29 '404': *6 - '409': *109 + '409': *114 '422': *7 x-github: githubCloudOnly: false @@ -80343,8 +81341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -80362,7 +81360,7 @@ paths: type: integer secrets: type: array - items: &588 + items: &600 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -80415,16 +81413,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *586 + schema: *598 examples: - default: *587 + default: *599 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80444,15 +81442,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 responses: '200': description: Response content: application/json: - schema: *588 + schema: *600 examples: default: value: @@ -80478,9 +81476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 requestBody: required: true content: @@ -80508,7 +81506,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -80532,9 +81530,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *446 - - *447 - - *265 + - *458 + - *459 + - *279 responses: '204': description: Response @@ -80556,8 +81554,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: - - *446 - - *447 + - *458 + - *459 - 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 @@ -80717,8 +81715,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -80957,8 +81955,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -81033,7 +82031,7 @@ paths: - version - url additionalProperties: false - metadata: &589 + metadata: &601 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81066,7 +82064,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *589 + metadata: *601 resolved: type: object description: A collection of resolved package dependencies. @@ -81079,7 +82077,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *589 + metadata: *601 relationship: type: string description: A notation of whether a dependency is requested @@ -81208,8 +82206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *446 - - *447 + - *458 + - *459 - name: sha description: The SHA recorded at creation time. in: query @@ -81249,9 +82247,9 @@ paths: application/json: schema: type: array - items: *590 + items: *602 examples: - default: *591 + default: *603 headers: Link: *43 x-github: @@ -81317,8 +82315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -81399,7 +82397,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *602 examples: simple-example: summary: Simple example @@ -81472,9 +82470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *446 - - *447 - - &592 + - *458 + - *459 + - &604 name: deployment_id description: deployment_id parameter in: path @@ -81486,7 +82484,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *602 examples: default: value: @@ -81551,9 +82549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *446 - - *447 - - *592 + - *458 + - *459 + - *604 responses: '204': description: Response @@ -81575,9 +82573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *446 - - *447 - - *592 + - *458 + - *459 + - *604 - *17 - *19 responses: @@ -81587,7 +82585,7 @@ paths: application/json: schema: type: array - items: &593 + items: &605 title: Deployment Status description: The status of a deployment. type: object @@ -81678,8 +82676,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 required: - id - node_id @@ -81748,9 +82746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *446 - - *447 - - *592 + - *458 + - *459 + - *604 requestBody: required: true content: @@ -81825,9 +82823,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *605 examples: - default: &594 + default: &606 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -81883,9 +82881,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *446 - - *447 - - *592 + - *458 + - *459 + - *604 - name: status_id in: path required: true @@ -81896,9 +82894,9 @@ paths: description: Response content: application/json: - schema: *593 + schema: *605 examples: - default: *594 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -81925,12 +82923,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 - - *595 - - *596 - - *597 - - *598 + - *458 + - *459 + - *607 + - *608 + - *609 + - *610 - *17 - *19 responses: @@ -81940,9 +82938,9 @@ paths: application/json: schema: type: array - items: *599 + items: *611 examples: - default: *600 + default: *612 '404': *6 '403': *29 '500': *40 @@ -81966,8 +82964,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *458 + - *459 - name: alert_number in: path required: true @@ -81979,7 +82977,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *599 + schema: *611 examples: default: value: @@ -82035,8 +83033,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *458 + - *459 - name: alert_number in: path required: true @@ -82095,12 +83093,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 - - *94 - - *95 - - *96 - - *601 + - *458 + - *459 + - *99 + - *100 + - *101 + - *613 - *17 - *19 responses: @@ -82110,9 +83108,9 @@ paths: application/json: schema: type: array - items: *602 + items: *614 examples: - default: *603 + default: *615 '404': *6 '403': *29 '500': *40 @@ -82137,8 +83135,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *458 + - *459 - name: alert_number in: path required: true @@ -82150,7 +83148,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *602 + schema: *614 examples: default: value: @@ -82208,8 +83206,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *446 - - *447 + - *458 + - *459 - name: alert_number in: path required: true @@ -82278,8 +83276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -82336,8 +83334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -82354,7 +83352,7 @@ paths: type: integer environments: type: array - items: &605 + items: &617 title: Environment description: Details of a deployment environment type: object @@ -82406,7 +83404,7 @@ paths: type: type: string example: wait_timer - wait_timer: &607 + wait_timer: &619 type: integer example: 30 description: The amount of time to delay a job after @@ -82443,11 +83441,11 @@ paths: items: type: object properties: - type: *604 + type: *616 reviewer: anyOf: - *4 - - *282 + - *296 required: - id - node_id @@ -82467,7 +83465,7 @@ paths: - id - node_id - type - deployment_branch_policy: &608 + deployment_branch_policy: &620 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -82583,9 +83581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *446 - - *447 - - &606 + - *458 + - *459 + - &618 name: environment_name in: path required: true @@ -82598,9 +83596,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *617 examples: - default: &609 + default: &621 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -82684,9 +83682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 requestBody: required: false content: @@ -82695,7 +83693,7 @@ paths: type: object nullable: true properties: - wait_timer: *607 + wait_timer: *619 prevent_self_review: type: boolean example: false @@ -82712,13 +83710,13 @@ paths: items: type: object properties: - type: *604 + type: *616 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *608 + deployment_branch_policy: *620 additionalProperties: false examples: default: @@ -82738,9 +83736,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *617 examples: - default: *609 + default: *621 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -82764,9 +83762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 responses: '204': description: Default response @@ -82791,9 +83789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 - *17 - *19 responses: @@ -82811,7 +83809,7 @@ paths: example: 2 branch_policies: type: array - items: &610 + items: &622 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -82868,9 +83866,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 requestBody: required: true content: @@ -82916,9 +83914,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *622 examples: - example-wildcard: &611 + example-wildcard: &623 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -82960,10 +83958,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *446 - - *447 - - *606 - - &612 + - *458 + - *459 + - *618 + - &624 name: branch_policy_id in: path required: true @@ -82975,9 +83973,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *622 examples: - default: *611 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82996,10 +83994,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *446 - - *447 - - *606 - - *612 + - *458 + - *459 + - *618 + - *624 requestBody: required: true content: @@ -83027,9 +84025,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *622 examples: - default: *611 + default: *623 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83048,10 +84046,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *446 - - *447 - - *606 - - *612 + - *458 + - *459 + - *618 + - *624 responses: '204': description: Response @@ -83076,9 +84074,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: - - *606 - - *447 - - *446 + - *618 + - *459 + - *458 responses: '200': description: List of deployment protection rules @@ -83094,7 +84092,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &613 + items: &625 title: Deployment protection rule description: Deployment protection rule type: object @@ -83113,7 +84111,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &614 + app: &626 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -83212,9 +84210,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: - - *606 - - *447 - - *446 + - *618 + - *459 + - *458 requestBody: content: application/json: @@ -83235,9 +84233,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *613 + schema: *625 examples: - default: &615 + default: &627 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -83272,9 +84270,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: - - *606 - - *447 - - *446 + - *618 + - *459 + - *458 - *19 - *17 responses: @@ -83293,7 +84291,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *614 + items: *626 examples: default: value: @@ -83328,10 +84326,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: - - *446 - - *447 - - *606 - - &616 + - *458 + - *459 + - *618 + - &628 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -83343,9 +84341,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *625 examples: - default: *615 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83366,10 +84364,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: - - *606 - - *447 - - *446 - - *616 + - *618 + - *459 + - *458 + - *628 responses: '204': description: Response @@ -83395,9 +84393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 - *17 - *19 responses: @@ -83415,9 +84413,9 @@ paths: type: integer secrets: type: array - items: *483 + items: *495 examples: - default: *484 + default: *496 headers: Link: *43 x-github: @@ -83442,17 +84440,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 responses: '200': description: Response content: application/json: - schema: *485 + schema: *497 examples: - default: *486 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83474,18 +84472,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *446 - - *447 - - *606 - - *265 + - *458 + - *459 + - *618 + - *279 responses: '200': description: Response content: application/json: - schema: *483 + schema: *495 examples: - default: *617 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83507,10 +84505,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *446 - - *447 - - *606 - - *265 + - *458 + - *459 + - *618 + - *279 requestBody: required: true content: @@ -83541,7 +84539,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -83567,10 +84565,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *446 - - *447 - - *606 - - *265 + - *458 + - *459 + - *618 + - *279 responses: '204': description: Default response @@ -83595,10 +84593,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *446 - - *447 - - *606 - - *470 + - *458 + - *459 + - *618 + - *482 - *19 responses: '200': @@ -83615,9 +84613,9 @@ paths: type: integer variables: type: array - items: *487 + items: *499 examples: - default: *488 + default: *500 headers: Link: *43 x-github: @@ -83640,9 +84638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *446 - - *447 - - *606 + - *458 + - *459 + - *618 requestBody: required: true content: @@ -83669,7 +84667,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -83694,18 +84692,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *446 - - *447 - - *606 - - *268 + - *458 + - *459 + - *618 + - *282 responses: '200': description: Response content: application/json: - schema: *487 + schema: *499 examples: - default: *618 + default: *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83726,10 +84724,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *446 - - *447 - - *268 - - *606 + - *458 + - *459 + - *282 + - *618 requestBody: required: true content: @@ -83771,10 +84769,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *446 - - *447 - - *268 - - *606 + - *458 + - *459 + - *282 + - *618 responses: '204': description: Response @@ -83796,8 +84794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -83807,7 +84805,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: 200-response: value: @@ -83865,8 +84863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *446 - - *447 + - *458 + - *459 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -83888,7 +84886,7 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: default: value: @@ -84025,8 +85023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: false content: @@ -84058,9 +85056,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: *461 + default: *473 '400': *14 '422': *15 '403': *29 @@ -84081,8 +85079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -84133,7 +85131,7 @@ paths: schema: type: string '404': *6 - '409': *109 + '409': *114 '403': *29 '422': description: Validation failed @@ -84141,8 +85139,8 @@ paths: application/json: schema: oneOf: - - *232 - - *619 + - *244 + - *631 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84167,8 +85165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *446 - - *447 + - *458 + - *459 - name: file_sha in: path required: true @@ -84219,7 +85217,7 @@ paths: '404': *6 '422': *15 '403': *29 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84267,8 +85265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -84377,7 +85375,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &632 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -84541,7 +85539,7 @@ paths: type: string '422': *15 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84591,15 +85589,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *446 - - *447 - - *565 + - *458 + - *459 + - *577 responses: '200': description: Response content: application/json: - schema: *620 + schema: *632 examples: default: value: @@ -84630,7 +85628,7 @@ paths: payload: verified_at: '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84655,9 +85653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *446 - - *447 - - &621 + - *458 + - *459 + - &633 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. @@ -84674,7 +85672,7 @@ paths: application/json: schema: type: array - items: &622 + items: &634 title: Git Reference description: Git references within a repository type: object @@ -84728,7 +85726,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *43 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84749,17 +85747,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *446 - - *447 - - *621 + - *458 + - *459 + - *633 responses: '200': description: Response content: application/json: - schema: *622 + schema: *634 examples: - default: &623 + default: &635 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -84769,7 +85767,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84788,8 +85786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -84818,16 +85816,16 @@ paths: description: Response content: application/json: - schema: *622 + schema: *634 examples: - default: *623 + default: *635 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84846,9 +85844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *446 - - *447 - - *621 + - *458 + - *459 + - *633 requestBody: required: true content: @@ -84877,11 +85875,11 @@ paths: description: Response content: application/json: - schema: *622 + schema: *634 examples: - default: *623 + default: *635 '422': *15 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84897,16 +85895,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *446 - - *447 - - *621 + - *458 + - *459 + - *633 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84954,8 +85952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -85022,7 +86020,7 @@ paths: description: Response content: application/json: - schema: &625 + schema: &637 title: Git Tag description: Metadata for a Git tag type: object @@ -85073,7 +86071,7 @@ paths: - sha - type - url - verification: *624 + verification: *636 required: - sha - url @@ -85083,7 +86081,7 @@ paths: - tag - message examples: - default: &626 + default: &638 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -85110,7 +86108,7 @@ paths: schema: type: string '422': *15 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85156,8 +86154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *446 - - *447 + - *458 + - *459 - name: tag_sha in: path required: true @@ -85168,11 +86166,11 @@ paths: description: Response content: application/json: - schema: *625 + schema: *637 examples: - default: *626 + default: *638 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85194,8 +86192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -85268,7 +86266,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &639 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -85341,7 +86339,7 @@ paths: '422': *15 '404': *6 '403': *29 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85364,8 +86362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *446 - - *447 + - *458 + - *459 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -85388,7 +86386,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *639 examples: default-response: summary: Default response @@ -85429,7 +86427,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85447,8 +86445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -85458,7 +86456,7 @@ paths: application/json: schema: type: array - items: &628 + items: &640 title: Webhook description: Webhooks for repositories. type: object @@ -85512,7 +86510,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &877 + last_response: &888 title: Hook Response type: object properties: @@ -85586,8 +86584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: false content: @@ -85639,9 +86637,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *640 examples: - default: &629 + default: &641 value: type: Repository id: 12345678 @@ -85689,17 +86687,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 responses: '200': description: Response content: application/json: - schema: *628 + schema: *640 examples: - default: *629 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -85719,9 +86717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 requestBody: required: true content: @@ -85766,9 +86764,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *640 examples: - default: *629 + default: *641 '422': *15 '404': *6 x-github: @@ -85789,9 +86787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 responses: '204': description: Response @@ -85815,9 +86813,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: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 responses: '200': description: Response @@ -85844,9 +86842,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: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 requestBody: required: false content: @@ -85890,11 +86888,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 - *17 - - *320 + - *332 responses: '200': description: Response @@ -85902,9 +86900,9 @@ paths: application/json: schema: type: array - items: *321 + items: *333 examples: - default: *322 + default: *334 '400': *14 '422': *15 x-github: @@ -85923,18 +86921,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: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 - *16 responses: '200': description: Response content: application/json: - schema: *323 + schema: *335 examples: - default: *324 + default: *336 '400': *14 '422': *15 x-github: @@ -85953,9 +86951,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: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 - *16 responses: '202': *39 @@ -85978,9 +86976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 responses: '204': description: Response @@ -86005,9 +87003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *446 - - *447 - - *319 + - *458 + - *459 + - *331 responses: '204': description: Response @@ -86030,8 +87028,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response if immutable releases are enabled @@ -86077,11 +87075,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *446 - - *447 + - *458 + - *459 responses: - '204': *133 - '409': *109 + '204': *143 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86098,11 +87096,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *446 - - *447 + - *458 + - *459 responses: - '204': *133 - '409': *109 + '204': *143 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86156,14 +87154,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: &630 + schema: &642 title: Import description: A repository import from an external source. type: object @@ -86262,7 +87260,7 @@ paths: - html_url - authors_url examples: - default: &633 + default: &645 value: vcs: subversion use_lfs: true @@ -86278,7 +87276,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': &631 + '503': &643 description: Unavailable due to service under maintenance. content: application/json: @@ -86307,8 +87305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -86356,7 +87354,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *642 examples: default: value: @@ -86381,7 +87379,7 @@ paths: type: string '422': *15 '404': *6 - '503': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86409,8 +87407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: false content: @@ -86459,7 +87457,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *642 examples: example-1: summary: Example 1 @@ -86507,7 +87505,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': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86530,12 +87528,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response - '503': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86561,9 +87559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *446 - - *447 - - &818 + - *458 + - *459 + - &829 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86577,7 +87575,7 @@ paths: application/json: schema: type: array - items: &632 + items: &644 title: Porter Author description: Porter Author type: object @@ -86631,7 +87629,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': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86656,8 +87654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *446 - - *447 + - *458 + - *459 - name: author_id in: path required: true @@ -86687,7 +87685,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *644 examples: default: value: @@ -86700,7 +87698,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86724,8 +87722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -86766,7 +87764,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86794,8 +87792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -86822,11 +87820,11 @@ paths: description: Response content: application/json: - schema: *630 + schema: *642 examples: - default: *633 + default: *645 '422': *15 - '503': *631 + '503': *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86849,8 +87847,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -86858,8 +87856,8 @@ paths: application/json: schema: *22 examples: - default: *634 - '301': *460 + default: *646 + '301': *472 '404': *6 x-github: githubCloudOnly: false @@ -86879,8 +87877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -86888,12 +87886,12 @@ paths: application/json: schema: anyOf: - - *337 + - *349 - type: object properties: {} additionalProperties: false examples: - default: &636 + default: &648 value: limit: collaborators_only origin: repository @@ -86918,13 +87916,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: application/json: - schema: *635 + schema: *647 examples: default: summary: Example request body @@ -86936,9 +87934,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *349 examples: - default: *636 + default: *648 '409': description: Response x-github: @@ -86960,8 +87958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -86984,8 +87982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -86995,9 +87993,9 @@ paths: application/json: schema: type: array - items: *637 + items: *649 examples: - default: &811 + default: &822 value: - id: 1 repository: @@ -87128,9 +88126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *446 - - *447 - - *341 + - *458 + - *459 + - *353 requestBody: required: false content: @@ -87159,7 +88157,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *649 examples: default: value: @@ -87290,9 +88288,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *446 - - *447 - - *341 + - *458 + - *459 + - *353 responses: '204': description: Response @@ -87323,8 +88321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *446 - - *447 + - *458 + - *459 - 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 @@ -87372,7 +88370,7 @@ paths: required: false schema: type: string - - *345 + - *357 - name: sort description: What to sort results by. in: query @@ -87384,8 +88382,8 @@ paths: - updated - comments default: created - - *101 - - *196 + - *106 + - *207 - *17 - *19 responses: @@ -87395,9 +88393,9 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: &646 + default: &658 value: - id: 1 node_id: MDU6SXNzdWUx @@ -87545,7 +88543,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *460 + '301': *472 '422': *15 '404': *6 x-github: @@ -87574,8 +88572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -87657,9 +88655,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: &643 + default: &655 value: id: 1 node_id: MDU6SXNzdWUx @@ -87813,9 +88811,9 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *167 + '503': *177 '404': *6 - '410': *457 + '410': *469 x-github: triggersNotification: true githubCloudOnly: false @@ -87843,9 +88841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *446 - - *447 - - *213 + - *458 + - *459 + - *224 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -87855,7 +88853,7 @@ paths: enum: - asc - desc - - *196 + - *207 - *17 - *19 responses: @@ -87865,9 +88863,9 @@ paths: application/json: schema: type: array - items: *638 + items: *650 examples: - default: &645 + default: &657 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87925,17 +88923,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 responses: '200': description: Response content: application/json: - schema: *638 + schema: *650 examples: - default: &639 + default: &651 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87989,9 +88987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 requestBody: required: true content: @@ -88013,9 +89011,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *650 examples: - default: *639 + default: *651 '422': *15 x-github: githubCloudOnly: false @@ -88033,9 +89031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 responses: '204': description: Response @@ -88055,9 +89053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 - 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. @@ -88083,9 +89081,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 '404': *6 @@ -88106,9 +89104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 requestBody: required: true content: @@ -88140,16 +89138,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '201': description: Reaction created content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '422': *15 x-github: githubCloudOnly: false @@ -88171,10 +89169,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *446 - - *447 - - *205 - - *438 + - *458 + - *459 + - *216 + - *450 responses: '204': description: Response @@ -88194,8 +89192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -88205,7 +89203,7 @@ paths: application/json: schema: type: array - items: &642 + items: &654 title: Issue Event description: Issue Event type: object @@ -88248,8 +89246,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *640 - required: *641 + properties: *652 + required: *653 nullable: true label: title: Issue Event Label @@ -88293,7 +89291,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *282 + requested_team: *296 dismissed_review: title: Issue Event Dismissed Review type: object @@ -88358,7 +89356,7 @@ paths: required: - from - to - author_association: *190 + author_association: *201 lock_reason: type: string nullable: true @@ -88371,8 +89369,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 required: - id - node_id @@ -88556,8 +89554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *446 - - *447 + - *458 + - *459 - name: event_id in: path required: true @@ -88568,7 +89566,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *654 examples: default: value: @@ -88761,7 +89759,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *457 + '410': *469 '403': *29 x-github: githubCloudOnly: false @@ -88795,9 +89793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *446 - - *447 - - &644 + - *458 + - *459 + - &656 name: issue_number description: The number that identifies the issue. in: path @@ -88809,12 +89807,12 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 - '301': *460 + default: *655 + '301': *472 '404': *6 - '410': *457 + '410': *469 '304': *37 x-github: githubCloudOnly: false @@ -88839,9 +89837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: false content: @@ -88945,15 +89943,15 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 '422': *15 - '503': *167 + '503': *177 '403': *29 - '301': *460 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88971,9 +89969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: false content: @@ -88999,9 +89997,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89017,9 +90015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: content: application/json: @@ -89044,9 +90042,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89068,9 +90066,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: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - name: assignee in: path required: true @@ -89110,10 +90108,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *446 - - *447 - - *644 - - *196 + - *458 + - *459 + - *656 + - *207 - *17 - *19 responses: @@ -89123,13 +90121,13 @@ paths: application/json: schema: type: array - items: *638 + items: *650 examples: - default: *645 + default: *657 headers: Link: *43 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89158,9 +90156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: true content: @@ -89182,16 +90180,16 @@ paths: description: Response content: application/json: - schema: *638 + schema: *650 examples: - default: *639 + default: *651 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *457 + '410': *469 '422': *15 '404': *6 x-github: @@ -89219,9 +90217,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: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - *17 - *19 responses: @@ -89231,14 +90229,14 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: *646 + default: *658 headers: Link: *43 - '301': *460 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89266,9 +90264,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: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: true content: @@ -89290,17 +90288,17 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *460 + '301': *472 '403': *29 - '410': *457 + '410': *469 '422': *15 '404': *6 x-github: @@ -89331,9 +90329,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: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -89345,15 +90343,15 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 - '301': *460 + default: *655 + '301': *472 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *457 + '410': *469 x-github: triggersNotification: true githubCloudOnly: false @@ -89379,9 +90377,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: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - *17 - *19 responses: @@ -89391,14 +90389,14 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: *646 + default: *658 headers: Link: *43 - '301': *460 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89415,9 +90413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - *17 - *19 responses: @@ -89431,7 +90429,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &648 + - &660 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -89462,8 +90460,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 label: type: object properties: @@ -89485,7 +90483,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &661 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -89516,8 +90514,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 label: type: object properties: @@ -89605,8 +90603,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 assignee: *4 assigner: *4 required: @@ -89621,7 +90619,7 @@ paths: - performed_via_github_app - assignee - assigner - - &650 + - &662 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -89652,8 +90650,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 milestone: type: object properties: @@ -89672,7 +90670,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &663 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -89703,8 +90701,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 milestone: type: object properties: @@ -89723,7 +90721,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &664 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -89754,8 +90752,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 rename: type: object properties: @@ -89777,7 +90775,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &665 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -89808,10 +90806,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 review_requester: *4 - requested_team: *282 + requested_team: *296 requested_reviewer: *4 required: - review_requester @@ -89824,7 +90822,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &666 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -89855,10 +90853,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 review_requester: *4 - requested_team: *282 + requested_team: *296 requested_reviewer: *4 required: - review_requester @@ -89871,7 +90869,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &667 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -89902,8 +90900,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 dismissed_review: type: object properties: @@ -89931,7 +90929,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &656 + - &668 title: Locked Issue Event description: Locked Issue Event type: object @@ -89962,8 +90960,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 lock_reason: type: string example: '"off-topic"' @@ -89979,7 +90977,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &657 + - &669 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -90010,8 +91008,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 project_card: type: object properties: @@ -90045,7 +91043,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &658 + - &670 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -90076,8 +91074,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 project_card: type: object properties: @@ -90111,7 +91109,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &659 + - &671 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -90142,8 +91140,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 project_card: type: object properties: @@ -90177,7 +91175,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &660 + - &672 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -90268,7 +91266,7 @@ paths: color: red headers: Link: *43 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90285,9 +91283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - *17 - *19 responses: @@ -90297,9 +91295,9 @@ paths: application/json: schema: type: array - items: *188 + items: *199 examples: - default: &647 + default: &659 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -90317,9 +91315,9 @@ paths: default: false headers: Link: *43 - '301': *460 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90336,9 +91334,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: false content: @@ -90397,12 +91395,12 @@ paths: application/json: schema: type: array - items: *188 + items: *199 examples: - default: *647 - '301': *460 + default: *659 + '301': *472 '404': *6 - '410': *457 + '410': *469 '422': *15 x-github: githubCloudOnly: false @@ -90419,9 +91417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: false content: @@ -90481,12 +91479,12 @@ paths: application/json: schema: type: array - items: *188 + items: *199 examples: - default: *647 - '301': *460 + default: *659 + '301': *472 '404': *6 - '410': *457 + '410': *469 '422': *15 x-github: githubCloudOnly: false @@ -90503,15 +91501,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 responses: '204': description: Response - '301': *460 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90530,9 +91528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - name: name in: path required: true @@ -90545,7 +91543,7 @@ paths: application/json: schema: type: array - items: *188 + items: *199 examples: default: value: @@ -90556,9 +91554,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *460 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90578,9 +91576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: false content: @@ -90608,7 +91606,7 @@ paths: '204': description: Response '403': *29 - '410': *457 + '410': *469 '404': *6 '422': *15 x-github: @@ -90626,9 +91624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 responses: '204': description: Response @@ -90658,20 +91656,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 responses: '200': description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 - '301': *460 + default: *655 + '301': *472 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90688,9 +91686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - 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. @@ -90716,13 +91714,13 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90740,9 +91738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: true content: @@ -90774,16 +91772,16 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '201': description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '422': *15 x-github: githubCloudOnly: false @@ -90805,10 +91803,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *446 - - *447 - - *644 - - *438 + - *458 + - *459 + - *656 + - *450 responses: '204': description: Response @@ -90837,9 +91835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: true content: @@ -90861,9 +91859,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -90896,9 +91894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - *17 - *19 responses: @@ -90908,13 +91906,13 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: *646 + default: *658 headers: Link: *43 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90942,9 +91940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: true content: @@ -90971,16 +91969,16 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *457 + '410': *469 '422': *15 '404': *6 x-github: @@ -91000,9 +91998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 requestBody: required: true content: @@ -91033,13 +92031,13 @@ paths: description: Response content: application/json: - schema: *189 + schema: *200 examples: - default: *643 + default: *655 '403': *29 '404': *6 '422': *7 - '503': *167 + '503': *177 x-github: triggersNotification: true githubCloudOnly: false @@ -91057,9 +92055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *446 - - *447 - - *644 + - *458 + - *459 + - *656 - *17 - *19 responses: @@ -91074,19 +92072,19 @@ paths: description: Timeline Event type: object anyOf: - - *648 - - *649 - - *650 - - *651 - - *652 - - *653 - - *654 - - *655 - - *656 - - *657 - - *658 - - *659 - *660 + - *661 + - *662 + - *663 + - *664 + - *665 + - *666 + - *667 + - *668 + - *669 + - *670 + - *671 + - *672 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -91129,7 +92127,7 @@ paths: issue_url: type: string format: uri - author_association: *190 + author_association: *201 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -91139,9 +92137,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - reactions: *191 + properties: *197 + required: *198 + reactions: *202 required: - event - actor @@ -91172,7 +92170,7 @@ paths: properties: type: type: string - issue: *189 + issue: *200 required: - event - created_at @@ -91372,7 +92370,7 @@ paths: type: string body_text: type: string - author_association: *190 + author_association: *201 required: - event - id @@ -91395,7 +92393,7 @@ paths: type: string comments: type: array - items: &680 + items: &692 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -91484,7 +92482,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *190 + author_association: *201 _links: type: object properties: @@ -91568,7 +92566,7 @@ paths: enum: - line - file - reactions: *191 + reactions: *202 body_html: type: string example: '"

comment body

"' @@ -91604,7 +92602,7 @@ paths: type: string comments: type: array - items: *563 + items: *575 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -91635,8 +92633,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 assignee: *4 required: - id @@ -91679,8 +92677,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 assignee: *4 required: - id @@ -91723,8 +92721,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 state_reason: type: string nullable: true @@ -91893,7 +92891,7 @@ paths: headers: Link: *43 '404': *6 - '410': *457 + '410': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91910,8 +92908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -91921,7 +92919,7 @@ paths: application/json: schema: type: array - items: &661 + items: &673 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -91987,8 +92985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -92024,9 +93022,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *673 examples: - default: &662 + default: &674 value: id: 1 key: ssh-rsa AAA... @@ -92060,9 +93058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *446 - - *447 - - &663 + - *458 + - *459 + - &675 name: key_id description: The unique identifier of the key. in: path @@ -92074,9 +93072,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *673 examples: - default: *662 + default: *674 '404': *6 x-github: githubCloudOnly: false @@ -92094,9 +93092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *446 - - *447 - - *663 + - *458 + - *459 + - *675 responses: '204': description: Response @@ -92116,8 +93114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -92127,9 +93125,9 @@ paths: application/json: schema: type: array - items: *188 + items: *199 examples: - default: *647 + default: *659 headers: Link: *43 '404': *6 @@ -92150,8 +93148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -92187,9 +93185,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *199 examples: - default: &664 + default: &676 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92221,8 +93219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *446 - - *447 + - *458 + - *459 - name: name in: path required: true @@ -92233,9 +93231,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *199 examples: - default: *664 + default: *676 '404': *6 x-github: githubCloudOnly: false @@ -92252,8 +93250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *446 - - *447 + - *458 + - *459 - name: name in: path required: true @@ -92292,7 +93290,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *199 examples: default: value: @@ -92318,8 +93316,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *446 - - *447 + - *458 + - *459 - name: name in: path required: true @@ -92345,8 +93343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -92382,8 +93380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '202': *39 '403': @@ -92411,8 +93409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -92438,9 +93436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *446 - - *447 - - *539 + - *458 + - *459 + - *551 responses: '200': description: Response @@ -92502,8 +93500,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true required: - _links @@ -92585,8 +93583,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -92651,8 +93649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -92686,9 +93684,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *564 + schema: *576 examples: - default: *665 + default: *677 '204': description: Response when already merged '404': @@ -92713,8 +93711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *446 - - *447 + - *458 + - *459 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -92755,12 +93753,12 @@ paths: application/json: schema: type: array - items: &666 + items: &678 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *392 + required: *393 examples: default: value: @@ -92816,8 +93814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -92857,9 +93855,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *678 examples: - default: &667 + default: &679 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -92918,9 +93916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *446 - - *447 - - &668 + - *458 + - *459 + - &680 name: milestone_number description: The number that identifies the milestone. in: path @@ -92932,9 +93930,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *678 examples: - default: *667 + default: *679 '404': *6 x-github: githubCloudOnly: false @@ -92951,9 +93949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *446 - - *447 - - *668 + - *458 + - *459 + - *680 requestBody: required: false content: @@ -92991,9 +93989,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *678 examples: - default: *667 + default: *679 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93009,9 +94007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *446 - - *447 - - *668 + - *458 + - *459 + - *680 responses: '204': description: Response @@ -93032,9 +94030,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: - - *446 - - *447 - - *668 + - *458 + - *459 + - *680 - *17 - *19 responses: @@ -93044,9 +94042,9 @@ paths: application/json: schema: type: array - items: *188 + items: *199 examples: - default: *647 + default: *659 headers: Link: *43 x-github: @@ -93065,12 +94063,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: - - *446 - - *447 - - *669 - - *670 - - *196 - - *671 + - *458 + - *459 + - *681 + - *682 + - *207 + - *683 - *17 - *19 responses: @@ -93080,9 +94078,9 @@ paths: application/json: schema: type: array - items: *216 + items: *227 examples: - default: *672 + default: *684 headers: Link: *43 x-github: @@ -93106,8 +94104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: false content: @@ -93165,14 +94163,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: &673 + schema: &685 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -93297,7 +94295,7 @@ paths: - custom_404 - public examples: - default: &674 + default: &686 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -93338,8 +94336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -93393,11 +94391,11 @@ paths: description: Response content: application/json: - schema: *673 + schema: *685 examples: - default: *674 + default: *686 '422': *15 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93418,8 +94416,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -93505,7 +94503,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93526,14 +94524,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response '422': *15 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93553,8 +94551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -93564,7 +94562,7 @@ paths: application/json: schema: type: array - items: &675 + items: &687 title: Page Build description: Page Build type: object @@ -93658,8 +94656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *446 - - *447 + - *458 + - *459 responses: '201': description: Response @@ -93704,16 +94702,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *675 + schema: *687 examples: - default: &676 + default: &688 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -93761,8 +94759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *446 - - *447 + - *458 + - *459 - name: build_id in: path required: true @@ -93773,9 +94771,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *687 examples: - default: *676 + default: *688 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93795,8 +94793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -93901,9 +94899,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: - - *446 - - *447 - - &677 + - *458 + - *459 + - &689 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -93961,11 +94959,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *446 - - *447 - - *677 + - *458 + - *459 + - *689 responses: - '204': *133 + '204': *143 '404': *6 x-github: githubCloudOnly: false @@ -93990,8 +94988,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -94222,7 +95220,7 @@ paths: description: Empty response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -94249,8 +95247,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Private vulnerability reporting status @@ -94287,10 +95285,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: - - *446 - - *447 + - *458 + - *459 responses: - '204': *133 + '204': *143 '422': *14 x-github: githubCloudOnly: false @@ -94309,10 +95307,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: - - *446 - - *447 + - *458 + - *459 responses: - '204': *133 + '204': *143 '422': *14 x-github: githubCloudOnly: false @@ -94333,8 +95331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *446 - - *447 + - *458 + - *459 - name: state description: Indicates the state of the projects to return. in: query @@ -94355,7 +95353,7 @@ paths: application/json: schema: type: array - items: *374 + items: *386 examples: default: value: @@ -94395,7 +95393,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *457 + '410': *469 '422': *7 x-github: githubCloudOnly: false @@ -94418,8 +95416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -94445,13 +95443,13 @@ paths: description: Response content: application/json: - schema: *374 + schema: *386 examples: - default: *456 + default: *468 '401': *25 '403': *29 '404': *6 - '410': *457 + '410': *469 '422': *7 x-github: githubCloudOnly: false @@ -94474,8 +95472,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -94483,7 +95481,7 @@ paths: application/json: schema: type: array - items: *389 + items: *401 examples: default: value: @@ -94514,8 +95512,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -94527,7 +95525,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *389 + items: *401 required: - properties examples: @@ -94577,8 +95575,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *446 - - *447 + - *458 + - *459 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -94638,9 +95636,9 @@ paths: application/json: schema: type: array - items: *568 + items: *580 examples: - default: *678 + default: *690 headers: Link: *43 '304': *37 @@ -94672,8 +95670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -94738,7 +95736,7 @@ paths: description: Response content: application/json: - schema: &682 + schema: &694 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -94849,8 +95847,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *392 + required: *393 nullable: true active_lock_reason: type: string @@ -94895,7 +95893,7 @@ paths: nullable: true requested_teams: type: array - items: *413 + items: *425 nullable: true head: type: object @@ -94904,7 +95902,7 @@ paths: type: string ref: type: string - repo: *69 + repo: *74 sha: type: string user: *4 @@ -94921,7 +95919,7 @@ paths: type: string ref: type: string - repo: *69 + repo: *74 sha: type: string user: *4 @@ -94934,14 +95932,14 @@ paths: _links: type: object properties: - comments: *382 - commits: *382 - statuses: *382 - html: *382 - issue: *382 - review_comments: *382 - review_comment: *382 - self: *382 + comments: *394 + commits: *394 + statuses: *394 + html: *394 + issue: *394 + review_comments: *394 + review_comment: *394 + self: *394 required: - comments - commits @@ -94951,8 +95949,8 @@ paths: - review_comments - review_comment - self - author_association: *190 - auto_merge: *679 + author_association: *201 + auto_merge: *691 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -95044,7 +96042,7 @@ paths: - merged_by - review_comments examples: - default: &683 + default: &695 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -95571,8 +96569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *446 - - *447 + - *458 + - *459 - name: sort in: query required: false @@ -95591,7 +96589,7 @@ paths: enum: - asc - desc - - *196 + - *207 - *17 - *19 responses: @@ -95601,9 +96599,9 @@ paths: application/json: schema: type: array - items: *680 + items: *692 examples: - default: &685 + default: &697 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95680,17 +96678,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: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 responses: '200': description: Response content: application/json: - schema: *680 + schema: *692 examples: - default: &681 + default: &693 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95765,9 +96763,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: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 requestBody: required: true content: @@ -95789,9 +96787,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *692 examples: - default: *681 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95807,9 +96805,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: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 responses: '204': description: Response @@ -95830,9 +96828,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: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 - 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. @@ -95858,9 +96856,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 '404': *6 @@ -95881,9 +96879,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: - - *446 - - *447 - - *205 + - *458 + - *459 + - *216 requestBody: required: true content: @@ -95915,16 +96913,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '201': description: Reaction created content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '422': *15 x-github: githubCloudOnly: false @@ -95946,10 +96944,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *446 - - *447 - - *205 - - *438 + - *458 + - *459 + - *216 + - *450 responses: '204': description: Response @@ -95992,9 +96990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *446 - - *447 - - &684 + - *458 + - *459 + - &696 name: pull_number description: The number that identifies the pull request. in: path @@ -96007,9 +97005,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *682 + schema: *694 examples: - default: *683 + default: *695 '304': *37 '404': *6 '406': @@ -96018,7 +97016,7 @@ paths: application/json: schema: *3 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96044,9 +97042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: false content: @@ -96088,9 +97086,9 @@ paths: description: Response content: application/json: - schema: *682 + schema: *694 examples: - default: *683 + default: *695 '422': *15 '403': *29 x-github: @@ -96112,9 +97110,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: true content: @@ -96174,21 +97172,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '401': *25 '403': *29 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96214,10 +97212,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: - - *446 - - *447 - - *684 - - *213 + - *458 + - *459 + - *696 + - *224 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -96227,7 +97225,7 @@ paths: enum: - asc - desc - - *196 + - *207 - *17 - *19 responses: @@ -96237,9 +97235,9 @@ paths: application/json: schema: type: array - items: *680 + items: *692 examples: - default: *685 + default: *697 headers: Link: *43 x-github: @@ -96272,9 +97270,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: true content: @@ -96379,7 +97377,7 @@ paths: description: Response content: application/json: - schema: *680 + schema: *692 examples: example-for-a-multi-line-comment: value: @@ -96467,10 +97465,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: - - *446 - - *447 - - *684 - - *205 + - *458 + - *459 + - *696 + - *216 requestBody: required: true content: @@ -96492,7 +97490,7 @@ paths: description: Response content: application/json: - schema: *680 + schema: *692 examples: default: value: @@ -96578,9 +97576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 - *17 - *19 responses: @@ -96590,9 +97588,9 @@ paths: application/json: schema: type: array - items: *564 + items: *576 examples: - default: *686 + default: *698 headers: Link: *43 x-github: @@ -96622,9 +97620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 - *17 - *19 responses: @@ -96634,7 +97632,7 @@ paths: application/json: schema: type: array - items: *577 + items: *589 examples: default: value: @@ -96653,7 +97651,7 @@ paths: Link: *43 '422': *15 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96672,9 +97670,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 responses: '204': description: Response if pull request has been merged @@ -96697,9 +97695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: false content: @@ -96810,9 +97808,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 responses: '200': description: Response @@ -96828,7 +97826,7 @@ paths: items: *4 teams: type: array - items: *282 + items: *296 required: - users - teams @@ -96887,9 +97885,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: false content: @@ -96926,7 +97924,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *580 examples: default: value: @@ -97462,9 +98460,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: true content: @@ -97498,7 +98496,7 @@ paths: description: Response content: application/json: - schema: *568 + schema: *580 examples: default: value: @@ -98003,9 +99001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 - *17 - *19 responses: @@ -98015,7 +99013,7 @@ paths: application/json: schema: type: array - items: &687 + items: &699 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -98084,7 +99082,7 @@ paths: type: string body_text: type: string - author_association: *190 + author_association: *201 required: - id - node_id @@ -98166,9 +99164,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: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: false content: @@ -98254,9 +99252,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *699 examples: - default: &689 + default: &701 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98319,10 +99317,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: - - *446 - - *447 - - *684 - - &688 + - *458 + - *459 + - *696 + - &700 name: review_id description: The unique identifier of the review. in: path @@ -98334,9 +99332,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *699 examples: - default: &690 + default: &702 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98395,10 +99393,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: - - *446 - - *447 - - *684 - - *688 + - *458 + - *459 + - *696 + - *700 requestBody: required: true content: @@ -98421,7 +99419,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *699 examples: default: value: @@ -98483,18 +99481,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: - - *446 - - *447 - - *684 - - *688 + - *458 + - *459 + - *696 + - *700 responses: '200': description: Response content: application/json: - schema: *687 + schema: *699 examples: - default: *689 + default: *701 '422': *7 '404': *6 x-github: @@ -98521,10 +99519,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: - - *446 - - *447 - - *684 - - *688 + - *458 + - *459 + - *696 + - *700 - *17 - *19 responses: @@ -98603,13 +99601,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *190 + author_association: *201 _links: type: object properties: - self: *382 - html: *382 - pull_request: *382 + self: *394 + html: *394 + pull_request: *394 required: - self - html @@ -98618,7 +99616,7 @@ paths: type: string body_html: type: string - reactions: *191 + reactions: *202 side: description: The side of the first line of the range for a multi-line comment. @@ -98759,10 +99757,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: - - *446 - - *447 - - *684 - - *688 + - *458 + - *459 + - *696 + - *700 requestBody: required: true content: @@ -98790,7 +99788,7 @@ paths: description: Response content: application/json: - schema: *687 + schema: *699 examples: default: value: @@ -98853,10 +99851,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: - - *446 - - *447 - - *684 - - *688 + - *458 + - *459 + - *696 + - *700 requestBody: required: true content: @@ -98891,9 +99889,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *699 examples: - default: *690 + default: *702 '404': *6 '422': *7 '403': *29 @@ -98915,9 +99913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *446 - - *447 - - *684 + - *458 + - *459 + - *696 requestBody: required: false content: @@ -98980,8 +99978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *446 - - *447 + - *458 + - *459 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -98994,9 +99992,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *703 examples: - default: &692 + default: &704 value: type: file encoding: base64 @@ -99038,8 +100036,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: - - *446 - - *447 + - *458 + - *459 - name: dir description: The alternate path to look for a README file in: path @@ -99059,9 +100057,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *703 examples: - default: *692 + default: *704 '404': *6 '422': *15 x-github: @@ -99083,8 +100081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -99094,7 +100092,7 @@ paths: application/json: schema: type: array - items: *693 + items: *705 examples: default: value: @@ -99188,8 +100186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -99265,9 +100263,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *705 examples: - default: &697 + default: &709 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -99372,9 +100370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *446 - - *447 - - &695 + - *458 + - *459 + - &707 name: asset_id description: The unique identifier of the asset. in: path @@ -99386,9 +100384,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *706 examples: - default: &696 + default: &708 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 @@ -99423,7 +100421,7 @@ paths: type: User site_admin: false '404': *6 - '302': *579 + '302': *591 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99439,9 +100437,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *446 - - *447 - - *695 + - *458 + - *459 + - *707 requestBody: required: false content: @@ -99469,9 +100467,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *706 examples: - default: *696 + default: *708 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99487,9 +100485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *446 - - *447 - - *695 + - *458 + - *459 + - *707 responses: '204': description: Response @@ -99513,8 +100511,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -99599,16 +100597,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response content: application/json: - schema: *693 + schema: *705 examples: - default: *697 + default: *709 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99625,8 +100623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *446 - - *447 + - *458 + - *459 - name: tag description: tag parameter in: path @@ -99639,9 +100637,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *705 examples: - default: *697 + default: *709 '404': *6 x-github: githubCloudOnly: false @@ -99663,9 +100661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *446 - - *447 - - &698 + - *458 + - *459 + - &710 name: release_id description: The unique identifier of the release. in: path @@ -99679,9 +100677,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: *693 + schema: *705 examples: - default: *697 + default: *709 '401': description: Unauthorized x-github: @@ -99699,9 +100697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *446 - - *447 - - *698 + - *458 + - *459 + - *710 requestBody: required: false content: @@ -99765,9 +100763,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *705 examples: - default: *697 + default: *709 '404': description: Not Found if the discussion category name is invalid content: @@ -99788,9 +100786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *446 - - *447 - - *698 + - *458 + - *459 + - *710 responses: '204': description: Response @@ -99810,9 +100808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *446 - - *447 - - *698 + - *458 + - *459 + - *710 - *17 - *19 responses: @@ -99822,7 +100820,7 @@ paths: application/json: schema: type: array - items: *694 + items: *706 examples: default: value: @@ -99904,9 +100902,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: - - *446 - - *447 - - *698 + - *458 + - *459 + - *710 - name: name in: query required: true @@ -99932,7 +100930,7 @@ paths: description: Response for successful upload content: application/json: - schema: *694 + schema: *706 examples: response-for-successful-upload: value: @@ -99987,9 +100985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *446 - - *447 - - *698 + - *458 + - *459 + - *710 - 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. @@ -100013,9 +101011,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 '404': *6 @@ -100036,9 +101034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *446 - - *447 - - *698 + - *458 + - *459 + - *710 requestBody: required: true content: @@ -100068,16 +101066,16 @@ paths: description: Reaction exists content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '201': description: Reaction created content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 '422': *15 x-github: githubCloudOnly: false @@ -100099,10 +101097,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *446 - - *447 - - *698 - - *438 + - *458 + - *459 + - *710 + - *450 responses: '204': description: Response @@ -100126,9 +101124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *446 - - *447 - - *505 + - *458 + - *459 + - *517 - *17 - *19 responses: @@ -100144,8 +101142,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *142 - - &699 + - *152 + - &711 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -100165,68 +101163,68 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *143 - - *699 + - *153 + - *711 - allOf: - - *144 - - *699 + - *154 + - *711 - allOf: - - *145 - - *699 + - *155 + - *711 - allOf: - - *700 - - *699 + - *712 + - *711 - allOf: - - *146 - - *699 + - *156 + - *711 - allOf: - - *147 - - *699 + - *157 + - *711 - allOf: - - *148 - - *699 + - *158 + - *711 - allOf: - - *149 - - *699 + - *159 + - *711 - allOf: - - *150 - - *699 + - *160 + - *711 - allOf: - - *151 - - *699 + - *161 + - *711 - allOf: - - *152 - - *699 + - *162 + - *711 - allOf: - - *153 - - *699 + - *163 + - *711 - allOf: - - *154 - - *699 + - *164 + - *711 - allOf: - - *155 - - *699 + - *165 + - *711 - allOf: - - *156 - - *699 + - *166 + - *711 - allOf: - - *157 - - *699 + - *167 + - *711 - allOf: - - *158 - - *699 + - *168 + - *711 - allOf: - - *159 - - *699 + - *169 + - *711 - allOf: - - *160 - - *699 + - *170 + - *711 - allOf: - - *161 - - *699 + - *171 + - *711 - allOf: - - *701 - - *699 + - *713 + - *711 examples: default: value: @@ -100265,8 +101263,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 - name: includes_parents @@ -100277,7 +101275,7 @@ paths: schema: type: boolean default: true - - *702 + - *714 responses: '200': description: Response @@ -100285,7 +101283,7 @@ paths: application/json: schema: type: array - items: *162 + items: *172 examples: default: value: @@ -100332,8 +101330,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *458 + - *459 requestBody: description: Request body required: true @@ -100353,16 +101351,16 @@ paths: - tag - push default: branch - enforcement: *140 + enforcement: *150 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *136 + items: *151 + conditions: *146 rules: type: array description: An array of rules within the ruleset. - items: *703 + items: *715 required: - name - enforcement @@ -100393,9 +101391,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: &712 + default: &724 value: id: 42 name: super cool ruleset @@ -100442,12 +101440,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *446 - - *447 - - *704 - - *96 - - *705 - - *706 + - *458 + - *459 + - *716 + - *101 + - *717 + - *718 - *17 - *19 responses: @@ -100455,9 +101453,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *719 examples: - default: *708 + default: *720 '404': *6 '500': *40 x-github: @@ -100478,17 +101476,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *446 - - *447 - - *709 + - *458 + - *459 + - *721 responses: '200': description: Response content: application/json: - schema: *710 + schema: *722 examples: - default: *711 + default: *723 '404': *6 '500': *40 x-github: @@ -100516,8 +101514,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *458 + - *459 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100537,9 +101535,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: *712 + default: *724 '404': *6 '500': *40 put: @@ -100557,8 +101555,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *458 + - *459 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100583,16 +101581,16 @@ paths: - branch - tag - push - enforcement: *140 + enforcement: *150 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *141 - conditions: *136 + items: *151 + conditions: *146 rules: description: An array of rules within the ruleset. type: array - items: *703 + items: *715 examples: default: value: @@ -100620,9 +101618,9 @@ paths: description: Response content: application/json: - schema: *162 + schema: *172 examples: - default: *712 + default: *724 '404': *6 '500': *40 delete: @@ -100640,8 +101638,8 @@ paths: category: repos subcategory: rules parameters: - - *446 - - *447 + - *458 + - *459 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100664,8 +101662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 - name: ruleset_id @@ -100681,9 +101679,9 @@ paths: application/json: schema: type: array - items: *166 + items: *176 examples: - default: *398 + default: *410 '404': *6 '500': *40 x-github: @@ -100702,8 +101700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *446 - - *447 + - *458 + - *459 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100721,7 +101719,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *411 examples: default: value: @@ -100776,21 +101774,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: - - *446 - - *447 - - *400 - - *401 - - *402 - - *403 - - *101 + - *458 + - *459 + - *412 + - *413 + - *414 + - *415 + - *106 - *19 - *17 - - *713 - - *714 - - *404 - - *405 - - *406 - - *407 + - *725 + - *726 + - *416 + - *417 + - *418 + - *419 responses: '200': description: Response @@ -100798,11 +101796,11 @@ paths: application/json: schema: type: array - items: &718 + items: &730 type: object properties: - number: *113 - created_at: *120 + number: *123 + created_at: *130 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -100810,15 +101808,15 @@ paths: format: date-time readOnly: true nullable: true - url: *118 - html_url: *119 + url: *128 + html_url: *129 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *715 - resolution: *716 + state: *727 + resolution: *728 resolved_at: type: string format: date-time @@ -100914,7 +101912,7 @@ paths: pull request. ' - oneOf: *717 + oneOf: *729 nullable: true has_more_locations: type: boolean @@ -101041,7 +102039,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101063,16 +102061,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: - - *446 - - *447 - - *533 - - *407 + - *458 + - *459 + - *545 + - *419 responses: '200': description: Response content: application/json: - schema: *718 + schema: *730 examples: default: value: @@ -101103,7 +102101,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101124,9 +102122,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 requestBody: required: true content: @@ -101134,8 +102132,8 @@ paths: schema: type: object properties: - state: *715 - resolution: *716 + state: *727 + resolution: *728 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -101153,7 +102151,7 @@ paths: description: Response content: application/json: - schema: *718 + schema: *730 examples: default: value: @@ -101206,7 +102204,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -101228,9 +102226,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: - - *446 - - *447 - - *533 + - *458 + - *459 + - *545 - *19 - *17 responses: @@ -101241,7 +102239,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &899 + items: &910 type: object properties: type: @@ -101267,19 +102265,19 @@ paths: example: commit details: oneOf: - - *719 - - *720 - - *721 - - *722 - - *723 - - *724 - - *725 - - *726 - - *727 - - *728 - - *729 - - *730 - *731 + - *732 + - *733 + - *734 + - *735 + - *736 + - *737 + - *738 + - *739 + - *740 + - *741 + - *742 + - *743 examples: default: value: @@ -101343,7 +102341,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101365,8 +102363,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -101374,14 +102372,14 @@ paths: schema: type: object properties: - reason: &733 + reason: &745 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *732 + placeholder_id: *744 required: - reason - placeholder_id @@ -101398,7 +102396,7 @@ paths: schema: type: object properties: - reason: *733 + reason: *745 expire_at: type: string format: date-time @@ -101421,7 +102419,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *167 + '503': *177 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -101433,6 +102431,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 @@ -101441,13 +102442,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: - - *446 - - *447 + - *458 + - *459 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *167 + '503': *177 '200': description: Response content: @@ -101457,7 +102458,7 @@ paths: properties: incremental_scans: type: array - items: &734 + items: &746 description: Information on a single scan performed by secret scanning on the repository type: object @@ -101483,15 +102484,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *734 + items: *746 backfill_scans: type: array - items: *734 + items: *746 custom_pattern_backfill_scans: type: array items: allOf: - - *734 + - *746 - type: object properties: pattern_name: @@ -101561,9 +102562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *446 - - *447 - - *101 + - *458 + - *459 + - *106 - name: sort description: The property to sort the results by. in: query @@ -101575,8 +102576,8 @@ paths: - updated - published default: created - - *99 - - *100 + - *104 + - *105 - 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)." @@ -101606,9 +102607,9 @@ paths: application/json: schema: type: array - items: *735 + items: *747 examples: - default: *736 + default: *748 '400': *14 '404': *6 x-github: @@ -101631,8 +102632,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -101705,7 +102706,7 @@ paths: login: type: string description: The username of the user credited. - type: *412 + type: *424 required: - login - type @@ -101792,9 +102793,9 @@ paths: description: Response content: application/json: - schema: *735 + schema: *747 examples: - default: &738 + default: &750 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -102027,8 +103028,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -102132,7 +103133,7 @@ paths: description: Response content: application/json: - schema: *735 + schema: *747 examples: default: value: @@ -102279,17 +103280,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: - - *446 - - *447 - - *737 + - *458 + - *459 + - *749 responses: '200': description: Response content: application/json: - schema: *735 + schema: *747 examples: - default: *738 + default: *750 '403': *29 '404': *6 x-github: @@ -102313,9 +103314,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: - - *446 - - *447 - - *737 + - *458 + - *459 + - *749 requestBody: required: true content: @@ -102388,7 +103389,7 @@ paths: login: type: string description: The username of the user credited. - type: *412 + type: *424 required: - login - type @@ -102474,17 +103475,17 @@ paths: description: Response content: application/json: - schema: *735 + schema: *747 examples: - default: *738 - add_credit: *738 + default: *750 + add_credit: *750 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *232 + schema: *244 examples: invalid_state_transition: value: @@ -102515,9 +103516,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: - - *446 - - *447 - - *737 + - *458 + - *459 + - *749 responses: '202': *39 '400': *14 @@ -102544,17 +103545,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: - - *446 - - *447 - - *737 + - *458 + - *459 + - *749 responses: '202': description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: *461 + default: *473 '400': *14 '422': *15 '403': *29 @@ -102580,8 +103581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -102680,8 +103681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -102690,7 +103691,7 @@ paths: application/json: schema: type: array - items: &739 + items: &751 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -102703,7 +103704,7 @@ paths: - 1124 - -435 '202': *39 - '204': *133 + '204': *143 '422': description: Repository contains more than 10,000 commits x-github: @@ -102723,8 +103724,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -102773,7 +103774,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *133 + '204': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102800,8 +103801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -102875,7 +103876,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *133 + '204': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102897,8 +103898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -103052,8 +104053,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -103063,7 +104064,7 @@ paths: application/json: schema: type: array - items: *739 + items: *751 examples: default: value: @@ -103076,7 +104077,7 @@ paths: - - 0 - 2 - 21 - '204': *133 + '204': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103096,8 +104097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *446 - - *447 + - *458 + - *459 - name: sha in: path required: true @@ -103151,7 +104152,7 @@ paths: description: Response content: application/json: - schema: *740 + schema: *752 examples: default: value: @@ -103205,8 +104206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -103218,7 +104219,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 x-github: @@ -103238,14 +104239,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &741 + schema: &753 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -103313,8 +104314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: false content: @@ -103340,7 +104341,7 @@ paths: description: Response content: application/json: - schema: *741 + schema: *753 examples: default: value: @@ -103367,8 +104368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -103388,8 +104389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -103468,8 +104469,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: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -103477,7 +104478,7 @@ paths: application/json: schema: type: array - items: &742 + items: &754 title: Tag protection description: Tag protection type: object @@ -103529,8 +104530,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: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -103553,7 +104554,7 @@ paths: description: Response content: application/json: - schema: *742 + schema: *754 examples: default: value: @@ -103584,8 +104585,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: - - *446 - - *447 + - *458 + - *459 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -103622,8 +104623,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *446 - - *447 + - *458 + - *459 - name: ref in: path required: true @@ -103659,8 +104660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *446 - - *447 + - *458 + - *459 - *17 - *19 responses: @@ -103670,9 +104671,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - default: *357 + default: *369 headers: Link: *43 '404': *6 @@ -103692,8 +104693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *446 - - *447 + - *458 + - *459 - *19 - *17 responses: @@ -103701,7 +104702,7 @@ paths: description: Response content: application/json: - schema: &743 + schema: &755 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -103713,7 +104714,7 @@ paths: required: - names examples: - default: &744 + default: &756 value: names: - octocat @@ -103736,8 +104737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -103768,9 +104769,9 @@ paths: description: Response content: application/json: - schema: *743 + schema: *755 examples: - default: *744 + default: *756 '404': *6 '422': *7 x-github: @@ -103791,9 +104792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *446 - - *447 - - &745 + - *458 + - *459 + - &757 name: per description: The time frame to display results for. in: query @@ -103822,7 +104823,7 @@ paths: example: 128 clones: type: array - items: &746 + items: &758 title: Traffic type: object properties: @@ -103909,8 +104910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -104000,8 +105001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *446 - - *447 + - *458 + - *459 responses: '200': description: Response @@ -104061,9 +105062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *446 - - *447 - - *745 + - *458 + - *459 + - *757 responses: '200': description: Response @@ -104082,7 +105083,7 @@ paths: example: 3782 views: type: array - items: *746 + items: *758 required: - uniques - count @@ -104159,8 +105160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *446 - - *447 + - *458 + - *459 requestBody: required: true content: @@ -104196,7 +105197,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *269 examples: default: value: @@ -104434,8 +105435,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -104458,8 +105459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -104481,8 +105482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -104508,8 +105509,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *446 - - *447 + - *458 + - *459 - name: ref in: path required: true @@ -104601,9 +105602,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: *461 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104644,7 +105645,7 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: default: value: @@ -104754,7 +105755,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &754 + - &766 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -104763,7 +105764,7 @@ paths: schema: type: string example: members - - &759 + - &771 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -104774,7 +105775,7 @@ paths: default: 1 format: int32 example: 1 - - &760 + - &772 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -104816,7 +105817,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &749 + items: &761 allOf: - type: object required: @@ -104891,7 +105892,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: &761 + meta: &773 type: object description: The metadata associated with the creation/updates to the user. @@ -104951,30 +105952,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &750 + '400': &762 description: Bad request content: application/json: - schema: *747 + schema: *759 application/scim+json: - schema: *747 - '401': *748 - '403': &751 + schema: *759 + '401': *760 + '403': &763 description: Permission denied - '429': &752 + '429': &764 description: Too many requests content: application/json: - schema: *747 + schema: *759 application/scim+json: - schema: *747 - '500': &753 + schema: *759 + '500': &765 description: Internal server error content: application/json: - schema: *747 + schema: *759 application/scim+json: - schema: *747 + schema: *759 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104998,7 +105999,7 @@ paths: required: true content: application/json: - schema: &757 + schema: &769 type: object required: - schemas @@ -105058,9 +106059,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *749 + schema: *761 examples: - group: &755 + group: &767 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -105079,13 +106080,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': *750 - '401': *748 - '403': *751 - '409': &758 + '400': *762 + '401': *760 + '403': *763 + '409': &770 description: Duplicate record detected - '429': *752 - '500': *753 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105102,7 +106103,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: - - &756 + - &768 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -105110,22 +106111,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *754 + - *766 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *749 + schema: *761 examples: - default: *755 - '400': *750 - '401': *748 - '403': *751 + default: *767 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '429': *752 - '500': *753 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105144,13 +106145,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: - - *756 + - *768 - *41 requestBody: required: true content: application/json: - schema: *757 + schema: *769 examples: group: summary: Group @@ -105176,17 +106177,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *749 + schema: *761 examples: - group: *755 - groupWithMembers: *755 - '400': *750 - '401': *748 - '403': *751 + group: *767 + groupWithMembers: *767 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *770 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105210,13 +106211,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: - - *756 + - *768 - *41 requestBody: required: true content: application/json: - schema: &768 + schema: &780 type: object required: - Operations @@ -105276,17 +106277,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *749 + schema: *761 examples: - updateGroup: *755 - addMembers: *755 - '400': *750 - '401': *748 - '403': *751 + updateGroup: *767 + addMembers: *767 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *770 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105302,17 +106303,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: - - *756 + - *768 - *41 responses: '204': description: Group was deleted, no content - '400': *750 - '401': *748 - '403': *751 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '429': *752 - '500': *753 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105346,8 +106347,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *759 - - *760 + - *771 + - *772 - *41 responses: '200': @@ -105380,7 +106381,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &763 + items: &775 allOf: - type: object required: @@ -105459,7 +106460,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &762 + roles: &774 type: array description: The roles assigned to the user. items: @@ -105515,7 +106516,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *761 + meta: *773 startIndex: type: integer description: A starting index for the returned page @@ -105552,11 +106553,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *750 - '401': *748 - '403': *751 - '429': *752 - '500': *753 + '400': *762 + '401': *760 + '403': *763 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105580,7 +106581,7 @@ paths: required: true content: application/json: - schema: &766 + schema: &778 type: object required: - schemas @@ -105662,9 +106663,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *762 + roles: *774 examples: - user: &767 + user: &779 summary: User value: schemas: @@ -105711,9 +106712,9 @@ paths: description: User has been created content: application/scim+json: - schema: *763 + schema: *775 examples: - user: &764 + user: &776 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -105739,13 +106740,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: *764 - '400': *750 - '401': *748 - '403': *751 - '409': *758 - '429': *752 - '500': *753 + enterpriseOwner: *776 + '400': *762 + '401': *760 + '403': *763 + '409': *770 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105762,7 +106763,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: - - &765 + - &777 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -105775,15 +106776,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *763 + schema: *775 examples: - default: *764 - '400': *750 - '401': *748 - '403': *751 + default: *776 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '429': *752 - '500': *753 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105805,30 +106806,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: - - *765 + - *777 - *41 requestBody: required: true content: application/json: - schema: *766 + schema: *778 examples: - user: *767 + user: *779 responses: '200': description: User was updated content: application/scim+json: - schema: *763 + schema: *775 examples: - user: *764 - '400': *750 - '401': *748 - '403': *751 + user: *776 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *770 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105863,13 +106864,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: - - *765 + - *777 - *41 requestBody: required: true content: application/json: - schema: *768 + schema: *780 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -105909,18 +106910,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *763 + schema: *775 examples: - userMultiValuedProperties: *764 - userSingleValuedProperties: *764 - disableUser: *764 - '400': *750 - '401': *748 - '403': *751 + userMultiValuedProperties: *776 + userSingleValuedProperties: *776 + disableUser: *776 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '409': *758 - '429': *752 - '500': *753 + '409': *770 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105940,17 +106941,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: - - *765 + - *777 - *41 responses: '204': description: User was deleted, no content - '400': *750 - '401': *748 - '403': *751 + '400': *762 + '401': *760 + '403': *763 '404': *6 - '429': *752 - '500': *753 + '429': *764 + '500': *765 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105983,7 +106984,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *78 + - *83 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -106037,7 +107038,7 @@ paths: example: 1 Resources: type: array - items: &769 + items: &781 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -106268,22 +107269,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &770 + '404': &782 description: Resource not found content: application/json: - schema: *747 + schema: *759 application/scim+json: - schema: *747 - '403': &771 + schema: *759 + '403': &783 description: Forbidden content: application/json: - schema: *747 + schema: *759 application/scim+json: - schema: *747 - '400': *750 - '429': *752 + schema: *759 + '400': *762 + '429': *764 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -106303,15 +107304,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *78 + - *83 responses: '201': description: Response content: application/scim+json: - schema: *769 + schema: *781 examples: - default: &772 + default: &784 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106334,17 +107335,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *770 - '403': *771 - '500': *753 + '404': *782 + '403': *783 + '500': *765 '409': description: Conflict content: application/json: - schema: *747 + schema: *759 application/scim+json: - schema: *747 - '400': *750 + schema: *759 + '400': *762 requestBody: required: true content: @@ -106441,18 +107442,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: - - *78 - - *765 + - *83 + - *777 responses: '200': description: Response content: application/scim+json: - schema: *769 + schema: *781 examples: - default: *772 - '404': *770 - '403': *771 + default: *784 + '404': *782 + '403': *783 '304': *37 x-github: githubCloudOnly: true @@ -106475,19 +107476,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *78 - - *765 + - *83 + - *777 responses: '200': description: Response content: application/scim+json: - schema: *769 + schema: *781 examples: - default: *772 + default: *784 '304': *37 - '404': *770 - '403': *771 + '404': *782 + '403': *783 requestBody: required: true content: @@ -106599,20 +107600,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: - - *78 - - *765 + - *83 + - *777 responses: '200': description: Response content: application/scim+json: - schema: *769 + schema: *781 examples: - default: *772 + default: *784 '304': *37 - '404': *770 - '403': *771 - '400': *750 + '404': *782 + '403': *783 + '400': *762 '429': description: Response content: @@ -106702,13 +107703,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: - - *78 - - *765 + - *83 + - *777 responses: '204': description: Response - '404': *770 - '403': *771 + '404': *782 + '403': *783 '304': *37 x-github: githubCloudOnly: true @@ -106823,7 +107824,7 @@ paths: html_url: type: string format: uri - repository: *255 + repository: *269 score: type: number file_size: @@ -106841,7 +107842,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &773 + text_matches: &785 title: Search Result Text Matches type: array items: @@ -106955,7 +107956,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *167 + '503': *177 '422': *15 '403': *29 x-github: @@ -107004,7 +108005,7 @@ paths: enum: - author-date - committer-date - - &774 + - &786 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 @@ -107075,7 +108076,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *503 + properties: *515 nullable: true comment_count: type: integer @@ -107095,7 +108096,7 @@ paths: url: type: string format: uri - verification: *624 + verification: *636 required: - author - committer @@ -107114,7 +108115,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *503 + properties: *515 nullable: true parents: type: array @@ -107127,12 +108128,12 @@ paths: type: string sha: type: string - repository: *255 + repository: *269 score: type: number node_id: type: string - text_matches: *773 + text_matches: *785 required: - sha - node_id @@ -107325,7 +108326,7 @@ paths: - interactions - created - updated - - *774 + - *786 - *17 - *19 - name: advanced_search @@ -107422,11 +108423,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: type: string state_reason: @@ -107443,8 +108444,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *380 - required: *381 + properties: *392 + required: *393 nullable: true comments: type: integer @@ -107458,7 +108459,7 @@ paths: type: string format: date-time nullable: true - text_matches: *773 + text_matches: *785 pull_request: type: object properties: @@ -107491,10 +108492,10 @@ paths: type: string score: type: number - author_association: *190 + author_association: *201 draft: type: boolean - repository: *69 + repository: *74 body_html: type: string body_text: @@ -107502,7 +108503,7 @@ paths: timeline_url: type: string format: uri - type: *342 + type: *354 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -107512,9 +108513,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 - reactions: *191 + properties: *197 + required: *198 + reactions: *202 required: - assignee - closed_at @@ -107630,7 +108631,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *167 + '503': *177 '422': *15 '304': *37 '403': *29 @@ -107683,7 +108684,7 @@ paths: enum: - created - updated - - *774 + - *786 - *17 - *19 responses: @@ -107727,7 +108728,7 @@ paths: nullable: true score: type: number - text_matches: *773 + text_matches: *785 required: - id - node_id @@ -107813,7 +108814,7 @@ paths: - forks - help-wanted-issues - updated - - *774 + - *786 - *17 - *19 responses: @@ -108032,8 +109033,8 @@ paths: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true permissions: type: object @@ -108052,7 +109053,7 @@ paths: - admin - pull - push - text_matches: *773 + text_matches: *785 temp_clone_token: type: string allow_merge_commit: @@ -108254,7 +109255,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *167 + '503': *177 '422': *15 '304': *37 x-github: @@ -108353,7 +109354,7 @@ paths: type: string format: uri nullable: true - text_matches: *773 + text_matches: *785 related: type: array nullable: true @@ -108546,7 +109547,7 @@ paths: - followers - repositories - joined - - *774 + - *786 - *17 - *19 responses: @@ -108650,7 +109651,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *773 + text_matches: *785 blog: type: string nullable: true @@ -108709,7 +109710,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *167 + '503': *177 '422': *15 x-github: githubCloudOnly: false @@ -108729,7 +109730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &778 + - &790 name: team_id description: The unique identifier of the team. in: path @@ -108741,9 +109742,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *439 examples: - default: *428 + default: *440 '404': *6 x-github: githubCloudOnly: false @@ -108770,7 +109771,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *778 + - *790 requestBody: required: true content: @@ -108833,16 +109834,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *427 + schema: *439 examples: - default: *428 + default: *440 '201': description: Response content: application/json: - schema: *427 + schema: *439 examples: - default: *428 + default: *440 '404': *6 '422': *15 '403': *29 @@ -108870,7 +109871,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *778 + - *790 responses: '204': description: Response @@ -108901,8 +109902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *778 - - *101 + - *790 + - *106 - *17 - *19 responses: @@ -108912,9 +109913,9 @@ paths: application/json: schema: type: array - items: *429 + items: *441 examples: - default: *779 + default: *791 headers: Link: *43 x-github: @@ -108943,7 +109944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *778 + - *790 requestBody: required: true content: @@ -108977,9 +109978,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *441 examples: - default: *430 + default: *442 x-github: triggersNotification: true githubCloudOnly: false @@ -109006,16 +110007,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *778 - - *431 + - *790 + - *443 responses: '200': description: Response content: application/json: - schema: *429 + schema: *441 examples: - default: *430 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109040,8 +110041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *778 - - *431 + - *790 + - *443 requestBody: required: false content: @@ -109064,9 +110065,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *441 examples: - default: *780 + default: *792 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109091,8 +110092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *778 - - *431 + - *790 + - *443 responses: '204': description: Response @@ -109121,9 +110122,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *778 - - *431 - - *101 + - *790 + - *443 + - *106 - *17 - *19 responses: @@ -109133,9 +110134,9 @@ paths: application/json: schema: type: array - items: *432 + items: *444 examples: - default: *781 + default: *793 headers: Link: *43 x-github: @@ -109164,8 +110165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *778 - - *431 + - *790 + - *443 requestBody: required: true content: @@ -109187,9 +110188,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: *433 + default: *445 x-github: triggersNotification: true githubCloudOnly: false @@ -109216,17 +110217,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *778 - - *431 - - *434 + - *790 + - *443 + - *446 responses: '200': description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: *433 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109251,9 +110252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *778 - - *431 - - *434 + - *790 + - *443 + - *446 requestBody: required: true content: @@ -109275,9 +110276,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *444 examples: - default: *782 + default: *794 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109302,9 +110303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *778 - - *431 - - *434 + - *790 + - *443 + - *446 responses: '204': description: Response @@ -109333,9 +110334,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: - - *778 - - *431 - - *434 + - *790 + - *443 + - *446 - 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. @@ -109361,9 +110362,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 x-github: @@ -109392,9 +110393,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: - - *778 - - *431 - - *434 + - *790 + - *443 + - *446 requestBody: required: true content: @@ -109426,9 +110427,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109454,8 +110455,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: - - *778 - - *431 + - *790 + - *443 - 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. @@ -109481,9 +110482,9 @@ paths: application/json: schema: type: array - items: *435 + items: *447 examples: - default: *437 + default: *449 headers: Link: *43 x-github: @@ -109512,8 +110513,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: - - *778 - - *431 + - *790 + - *443 requestBody: required: true content: @@ -109545,9 +110546,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *447 examples: - default: *436 + default: *448 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109571,7 +110572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *778 + - *790 - *17 - *19 responses: @@ -109581,9 +110582,9 @@ paths: application/json: schema: type: array - items: *339 + items: *351 examples: - default: *340 + default: *352 headers: Link: *43 x-github: @@ -109609,7 +110610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *778 + - *790 - name: role description: Filters members returned by their role in the team. in: query @@ -109632,7 +110633,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 '404': *6 @@ -109660,8 +110661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *778 - - *182 + - *790 + - *192 responses: '204': description: if user is a member @@ -109697,8 +110698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *778 - - *182 + - *790 + - *192 responses: '204': description: Response @@ -109737,8 +110738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *778 - - *182 + - *790 + - *192 responses: '204': description: Response @@ -109774,16 +110775,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: - - *778 - - *182 + - *790 + - *192 responses: '200': description: Response content: application/json: - schema: *443 + schema: *455 examples: - response-if-user-is-a-team-maintainer: *783 + response-if-user-is-a-team-maintainer: *795 '404': *6 x-github: githubCloudOnly: false @@ -109816,8 +110817,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: - - *778 - - *182 + - *790 + - *192 requestBody: required: false content: @@ -109842,9 +110843,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *455 examples: - response-if-users-membership-with-team-is-now-pending: *784 + response-if-users-membership-with-team-is-now-pending: *796 '403': description: Forbidden if team synchronization is set up '422': @@ -109878,8 +110879,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: - - *778 - - *182 + - *790 + - *192 responses: '204': description: Response @@ -109907,7 +110908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *778 + - *790 - *17 - *19 responses: @@ -109917,9 +110918,9 @@ paths: application/json: schema: type: array - items: *444 + items: *456 examples: - default: *785 + default: *797 headers: Link: *43 '404': *6 @@ -109945,16 +110946,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: - - *778 - - *445 + - *790 + - *457 responses: '200': description: Response content: application/json: - schema: *444 + schema: *456 examples: - default: *786 + default: *798 '404': description: Not Found if project is not managed by this team x-github: @@ -109978,8 +110979,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: - - *778 - - *445 + - *790 + - *457 requestBody: required: false content: @@ -110046,8 +111047,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: - - *778 - - *445 + - *790 + - *457 responses: '204': description: Response @@ -110074,7 +111075,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *778 + - *790 - *17 - *19 responses: @@ -110084,9 +111085,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 '404': *6 @@ -110116,15 +111117,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: - - *778 - - *446 - - *447 + - *790 + - *458 + - *459 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *787 + schema: *799 examples: alternative-response-with-extra-repository-information: value: @@ -110275,9 +111276,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: - - *778 - - *446 - - *447 + - *790 + - *458 + - *459 requestBody: required: false content: @@ -110327,9 +111328,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: - - *778 - - *446 - - *447 + - *790 + - *458 + - *459 responses: '204': description: Response @@ -110358,15 +111359,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: - - *778 + - *790 responses: '200': description: Response content: application/json: - schema: *448 + schema: *460 examples: - default: *449 + default: *461 '403': *29 '404': *6 x-github: @@ -110393,7 +111394,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: - - *778 + - *790 requestBody: required: true content: @@ -110450,7 +111451,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *460 examples: default: value: @@ -110481,7 +111482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *778 + - *790 - *17 - *19 responses: @@ -110491,9 +111492,9 @@ paths: application/json: schema: type: array - items: *282 + items: *296 examples: - response-if-child-teams-exist: *788 + response-if-child-teams-exist: *800 headers: Link: *43 '404': *6 @@ -110526,7 +111527,7 @@ paths: application/json: schema: oneOf: - - &790 + - &802 title: Private User description: Private User type: object @@ -110729,7 +111730,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *789 + - *801 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -110882,7 +111883,7 @@ paths: description: Response content: application/json: - schema: *790 + schema: *802 examples: default: value: @@ -110961,7 +111962,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 '304': *37 '404': *6 '403': *29 @@ -110984,7 +111985,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: - - *182 + - *192 responses: '204': description: If the user is blocked @@ -111012,7 +112013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *182 + - *192 responses: '204': description: Response @@ -111036,7 +112037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *182 + - *192 responses: '204': description: Response @@ -111085,9 +112086,9 @@ paths: type: integer codespaces: type: array - items: *347 + items: *359 examples: - default: *348 + default: *360 '304': *37 '500': *40 '401': *25 @@ -111226,21 +112227,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '401': *25 '403': *29 '404': *6 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111280,7 +112281,7 @@ paths: type: integer secrets: type: array - items: &791 + items: &803 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -111320,7 +112321,7 @@ paths: - visibility - selected_repositories_url examples: - default: *556 + default: *568 headers: Link: *43 x-github: @@ -111390,13 +112391,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: - - *265 + - *279 responses: '200': description: Response content: application/json: - schema: *791 + schema: *803 examples: default: value: @@ -111426,7 +112427,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: - - *265 + - *279 requestBody: required: true content: @@ -111471,7 +112472,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -111499,7 +112500,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: - - *265 + - *279 responses: '204': description: Response @@ -111524,7 +112525,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: - - *265 + - *279 responses: '200': description: Response @@ -111540,9 +112541,9 @@ paths: type: integer repositories: type: array - items: *255 + items: *269 examples: - default: *792 + default: *804 '401': *25 '403': *29 '404': *6 @@ -111567,7 +112568,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: - - *265 + - *279 requestBody: required: true content: @@ -111621,7 +112622,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: - - *265 + - *279 - name: repository_id in: path required: true @@ -111654,7 +112655,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: - - *265 + - *279 - name: repository_id in: path required: true @@ -111686,15 +112687,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: - - *349 + - *361 responses: '200': description: Response content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '304': *37 '500': *40 '401': *25 @@ -111720,7 +112721,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: - - *349 + - *361 requestBody: required: false content: @@ -111750,9 +112751,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '401': *25 '403': *29 '404': *6 @@ -111774,7 +112775,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: - - *349 + - *361 responses: '202': *39 '304': *37 @@ -111803,13 +112804,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: - - *349 + - *361 responses: '202': description: Response content: application/json: - schema: &793 + schema: &805 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -111850,7 +112851,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &794 + default: &806 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -111882,7 +112883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *349 + - *361 - name: export_id in: path required: true @@ -111895,9 +112896,9 @@ paths: description: Response content: application/json: - schema: *793 + schema: *805 examples: - default: *794 + default: *806 '404': *6 x-github: githubCloudOnly: false @@ -111918,7 +112919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *349 + - *361 responses: '200': description: Response @@ -111934,9 +112935,9 @@ paths: type: integer machines: type: array - items: *795 + items: *807 examples: - default: *796 + default: *808 '304': *37 '500': *40 '401': *25 @@ -111965,7 +112966,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: - - *349 + - *361 requestBody: required: true content: @@ -112015,13 +113016,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *459 + repository: *471 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *554 - required: *555 + properties: *566 + required: *567 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -112795,15 +113796,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: - - *349 + - *361 responses: '200': description: Response content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '304': *37 '500': *40 '400': *14 @@ -112815,7 +113816,7 @@ paths: schema: *3 '403': *29 '404': *6 - '409': *109 + '409': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112835,15 +113836,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: - - *349 + - *361 responses: '200': description: Response content: application/json: - schema: *347 + schema: *359 examples: - default: *553 + default: *565 '500': *40 '401': *25 '403': *29 @@ -112873,9 +113874,9 @@ paths: application/json: schema: type: array - items: *358 + items: *370 examples: - default: &808 + default: &819 value: - id: 197 name: hello_docker @@ -112976,7 +113977,7 @@ paths: application/json: schema: type: array - items: &797 + items: &809 title: Email description: Email type: object @@ -113041,9 +114042,9 @@ paths: application/json: schema: type: array - items: *797 + items: *809 examples: - default: &810 + default: &821 value: - email: octocat@github.com verified: true @@ -113118,7 +114119,7 @@ paths: application/json: schema: type: array - items: *797 + items: *809 examples: default: value: @@ -113228,7 +114229,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 '304': *37 @@ -113261,7 +114262,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 '304': *37 @@ -113283,7 +114284,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: - - *182 + - *192 responses: '204': description: if the person is followed by the authenticated user @@ -113313,7 +114314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *182 + - *192 responses: '204': description: Response @@ -113338,7 +114339,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *182 + - *192 responses: '204': description: Response @@ -113374,7 +114375,7 @@ paths: application/json: schema: type: array - items: &798 + items: &810 title: GPG Key description: A unique encryption key type: object @@ -113505,7 +114506,7 @@ paths: - subkeys - revoked examples: - default: &824 + default: &835 value: - id: 3 name: Octocat's GPG Key @@ -113590,9 +114591,9 @@ paths: description: Response content: application/json: - schema: *798 + schema: *810 examples: - default: &799 + default: &811 value: id: 3 name: Octocat's GPG Key @@ -113649,7 +114650,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: - - &800 + - &812 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -113661,9 +114662,9 @@ paths: description: Response content: application/json: - schema: *798 + schema: *810 examples: - default: *799 + default: *811 '404': *6 '304': *37 '403': *29 @@ -113686,7 +114687,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: - - *800 + - *812 responses: '204': description: Response @@ -113875,9 +114876,9 @@ paths: type: string repositories: type: array - items: *69 + items: *74 examples: - default: *250 + default: *264 headers: Link: *43 '404': *6 @@ -113902,7 +114903,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *249 + - *263 responses: '204': description: Response @@ -113928,7 +114929,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *249 + - *263 responses: '204': description: Response @@ -113962,12 +114963,12 @@ paths: application/json: schema: anyOf: - - *337 + - *349 - type: object properties: {} additionalProperties: false examples: - default: *338 + default: *350 '204': description: Response when there are no restrictions x-github: @@ -113991,7 +114992,7 @@ paths: required: true content: application/json: - schema: *635 + schema: *647 examples: default: value: @@ -114002,7 +115003,7 @@ paths: description: Response content: application/json: - schema: *337 + schema: *349 examples: default: value: @@ -114083,7 +115084,7 @@ paths: - closed - all default: open - - *345 + - *357 - name: sort description: What to sort results by. in: query @@ -114095,8 +115096,8 @@ paths: - updated - comments default: created - - *101 - - *196 + - *106 + - *207 - *17 - *19 responses: @@ -114106,9 +115107,9 @@ paths: application/json: schema: type: array - items: *189 + items: *200 examples: - default: *346 + default: *358 headers: Link: *43 '404': *6 @@ -114141,7 +115142,7 @@ paths: application/json: schema: type: array - items: &801 + items: &813 title: Key description: Key type: object @@ -114242,9 +115243,9 @@ paths: description: Response content: application/json: - schema: *801 + schema: *813 examples: - default: &802 + default: &814 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -114277,15 +115278,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: - - *663 + - *675 responses: '200': description: Response content: application/json: - schema: *801 + schema: *813 examples: - default: *802 + default: *814 '404': *6 '304': *37 '403': *29 @@ -114308,7 +115309,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: - - *663 + - *675 responses: '204': description: Response @@ -114341,7 +115342,7 @@ paths: application/json: schema: type: array - items: &803 + items: &815 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -114398,7 +115399,7 @@ paths: - id - type - login - plan: *207 + plan: *218 required: - billing_cycle - next_billing_date @@ -114409,7 +115410,7 @@ paths: - account - plan examples: - default: &804 + default: &816 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -114471,9 +115472,9 @@ paths: application/json: schema: type: array - items: *803 + items: *815 examples: - default: *804 + default: *816 headers: Link: *43 '304': *37 @@ -114513,7 +115514,7 @@ paths: application/json: schema: type: array - items: *350 + items: *362 examples: default: value: @@ -114615,13 +115616,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: - - *78 + - *83 responses: '200': description: Response content: application/json: - schema: *350 + schema: *362 examples: default: value: @@ -114679,7 +115680,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: - - *78 + - *83 requestBody: required: true content: @@ -114704,7 +115705,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *362 examples: default: value: @@ -114772,7 +115773,7 @@ paths: application/json: schema: type: array - items: *352 + items: *364 examples: default: value: @@ -115025,7 +116026,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *364 examples: default: value: @@ -115205,7 +116206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *353 + - *365 - name: exclude in: query required: false @@ -115218,7 +116219,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *364 examples: default: value: @@ -115412,7 +116413,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *353 + - *365 responses: '302': description: Response @@ -115438,7 +116439,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *353 + - *365 responses: '204': description: Response @@ -115467,8 +116468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *353 - - *805 + - *365 + - *817 responses: '204': description: Response @@ -115492,7 +116493,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *353 + - *365 - *17 - *19 responses: @@ -115502,9 +116503,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 '404': *6 @@ -115539,9 +116540,9 @@ paths: application/json: schema: type: array - items: *64 + items: *69 examples: - default: *806 + default: *231 headers: Link: *43 '304': *37 @@ -115583,7 +116584,7 @@ paths: - docker - nuget - container - - *807 + - *818 - *19 - *17 responses: @@ -115593,10 +116594,10 @@ paths: application/json: schema: type: array - items: *358 + items: *370 examples: - default: *808 - '400': *809 + default: *819 + '400': *820 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115616,16 +116617,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: - - *360 - - *361 + - *372 + - *373 responses: '200': description: Response content: application/json: - schema: *358 + schema: *370 examples: - default: &825 + default: &836 value: id: 40201 name: octo-name @@ -115738,8 +116739,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: - - *360 - - *361 + - *372 + - *373 responses: '204': description: Response @@ -115769,8 +116770,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: - - *360 - - *361 + - *372 + - *373 - name: token description: package token schema: @@ -115802,8 +116803,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: - - *360 - - *361 + - *372 + - *373 - *19 - *17 - name: state @@ -115823,7 +116824,7 @@ paths: application/json: schema: type: array - items: *362 + items: *374 examples: default: value: @@ -115872,15 +116873,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: - - *360 - - *361 - - *363 + - *372 + - *373 + - *375 responses: '200': description: Response content: application/json: - schema: *362 + schema: *374 examples: default: value: @@ -115916,9 +116917,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: - - *360 - - *361 - - *363 + - *372 + - *373 + - *375 responses: '204': description: Response @@ -115948,9 +116949,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: - - *360 - - *361 - - *363 + - *372 + - *373 + - *375 responses: '204': description: Response @@ -116006,7 +117007,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *386 examples: default: value: @@ -116078,9 +117079,9 @@ paths: application/json: schema: type: array - items: *797 + items: *809 examples: - default: *810 + default: *821 headers: Link: *43 '304': *37 @@ -116191,9 +117192,9 @@ paths: application/json: schema: type: array - items: *69 + items: *74 examples: - default: &817 + default: &828 summary: Default response value: - id: 1296269 @@ -116497,9 +117498,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *471 examples: - default: *461 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -116537,9 +117538,9 @@ paths: application/json: schema: type: array - items: *637 + items: *649 examples: - default: *811 + default: *822 headers: Link: *43 '304': *37 @@ -116562,12 +117563,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *341 + - *353 responses: '204': description: Response '403': *29 - '409': *109 + '409': *114 '404': *6 '304': *37 x-github: @@ -116585,11 +117586,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *341 + - *353 responses: '204': description: Response - '409': *109 + '409': *114 '304': *37 '404': *6 '403': *29 @@ -116618,7 +117619,7 @@ paths: application/json: schema: type: array - items: &812 + items: &823 title: Social account description: Social media account type: object @@ -116633,7 +117634,7 @@ paths: - provider - url examples: - default: &813 + default: &824 value: - provider: twitter url: https://twitter.com/github @@ -116695,9 +117696,9 @@ paths: application/json: schema: type: array - items: *812 + items: *823 examples: - default: *813 + default: *824 '422': *15 '304': *37 '404': *6 @@ -116784,7 +117785,7 @@ paths: application/json: schema: type: array - items: &814 + items: &825 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -116804,7 +117805,7 @@ paths: - title - created_at examples: - default: &828 + default: &839 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116870,9 +117871,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *825 examples: - default: &815 + default: &826 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116903,7 +117904,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: - - &816 + - &827 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -116915,9 +117916,9 @@ paths: description: Response content: application/json: - schema: *814 + schema: *825 examples: - default: *815 + default: *826 '404': *6 '304': *37 '403': *29 @@ -116940,7 +117941,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: - - *816 + - *827 responses: '204': description: Response @@ -116969,7 +117970,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: - - &829 + - &840 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 @@ -116982,7 +117983,7 @@ paths: - created - updated default: created - - *101 + - *106 - *17 - *19 responses: @@ -116992,13 +117993,13 @@ paths: application/json: schema: type: array - items: *69 + items: *74 examples: - default-response: *817 + default-response: *828 application/vnd.github.v3.star+json: schema: type: array - items: &830 + items: &841 title: Starred Repository description: Starred Repository type: object @@ -117006,7 +118007,7 @@ paths: starred_at: type: string format: date-time - repo: *69 + repo: *74 required: - starred_at - repo @@ -117154,8 +118155,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response if this repository is starred by you @@ -117183,8 +118184,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -117208,8 +118209,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: - - *446 - - *447 + - *458 + - *459 responses: '204': description: Response @@ -117242,9 +118243,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 '304': *37 @@ -117281,7 +118282,7 @@ paths: application/json: schema: type: array - items: *427 + items: *439 examples: default: value: @@ -117359,7 +118360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *209 + - *220 responses: '200': description: Response @@ -117367,10 +118368,10 @@ paths: application/json: schema: oneOf: - - *790 - - *789 + - *802 + - *801 examples: - default-response: &819 + default-response: &830 summary: Default response value: login: octocat @@ -117405,7 +118406,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &820 + response-with-git-hub-plan-information: &831 summary: Response with GitHub plan information value: login: octocat @@ -117465,7 +118466,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *818 + - *829 - *17 responses: '200': @@ -117476,7 +118477,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: example: ; rel="next" @@ -117506,7 +118507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *182 + - *192 responses: '200': description: Response @@ -117514,11 +118515,11 @@ paths: application/json: schema: oneOf: - - *790 - - *789 + - *802 + - *801 examples: - default-response: *819 - response-with-git-hub-plan-information: *820 + default-response: *830 + response-with-git-hub-plan-information: *831 '404': *6 x-github: githubCloudOnly: false @@ -117542,9 +118543,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *99 - - *100 - - *182 + - *104 + - *105 + - *192 requestBody: required: true content: @@ -117567,8 +118568,8 @@ paths: required: - subject_digests examples: - default: *821 - withPredicateType: *822 + default: *832 + withPredicateType: *833 responses: '200': description: Response @@ -117621,7 +118622,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *823 + default: *834 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117639,7 +118640,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *182 + - *192 requestBody: required: true content: @@ -117704,7 +118705,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *182 + - *192 - name: subject_digest description: Subject Digest in: path @@ -117735,7 +118736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *182 + - *192 - name: attestation_id description: Attestation ID in: path @@ -117771,9 +118772,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *99 - - *100 - - *182 + - *104 + - *105 + - *192 - name: subject_digest description: Subject Digest in: path @@ -117825,12 +118826,12 @@ paths: initiator: type: string examples: - default: *499 + default: *511 '201': description: Response content: application/json: - schema: *266 + schema: *280 examples: default: value: @@ -117856,7 +118857,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: - - *182 + - *192 responses: '200': description: Response @@ -117864,9 +118865,9 @@ paths: application/json: schema: type: array - items: *358 + items: *370 examples: - default: *808 + default: *819 '403': *29 '401': *25 x-github: @@ -117889,7 +118890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *182 + - *192 - *17 - *19 responses: @@ -117899,7 +118900,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -117961,8 +118962,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: - - *182 - - *78 + - *192 + - *83 - *17 - *19 responses: @@ -117972,7 +118973,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -118049,7 +119050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *182 + - *192 - *17 - *19 responses: @@ -118059,7 +119060,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -118117,7 +119118,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *182 + - *192 - *17 - *19 responses: @@ -118129,7 +119130,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 x-github: @@ -118148,7 +119149,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *182 + - *192 - *17 - *19 responses: @@ -118160,7 +119161,7 @@ paths: type: array items: *4 examples: - default: *181 + default: *191 headers: Link: *43 x-github: @@ -118179,7 +119180,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: - - *182 + - *192 - name: target_user in: path required: true @@ -118206,8 +119207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *182 - - *196 + - *192 + - *207 - *17 - *19 responses: @@ -118217,9 +119218,9 @@ paths: application/json: schema: type: array - items: *197 + items: *208 examples: - default: *198 + default: *209 headers: Link: *43 '422': *15 @@ -118240,7 +119241,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: - - *182 + - *192 - *17 - *19 responses: @@ -118250,9 +119251,9 @@ paths: application/json: schema: type: array - items: *798 + items: *810 examples: - default: *824 + default: *835 headers: Link: *43 x-github: @@ -118276,7 +119277,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *182 + - *192 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -118348,7 +119349,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: - - *182 + - *192 responses: '200': description: Response @@ -118356,7 +119357,7 @@ paths: application/json: schema: *22 examples: - default: *634 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118374,7 +119375,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *182 + - *192 - *17 - *19 responses: @@ -118429,7 +119430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *182 + - *192 - *17 - *19 responses: @@ -118439,9 +119440,9 @@ paths: application/json: schema: type: array - items: *64 + items: *69 examples: - default: *806 + default: *231 headers: Link: *43 x-github: @@ -118480,8 +119481,8 @@ paths: - docker - nuget - container - - *807 - - *182 + - *818 + - *192 - *19 - *17 responses: @@ -118491,12 +119492,12 @@ paths: application/json: schema: type: array - items: *358 + items: *370 examples: - default: *808 + default: *819 '403': *29 '401': *25 - '400': *809 + '400': *820 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118516,17 +119517,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *360 - - *361 - - *182 + - *372 + - *373 + - *192 responses: '200': description: Response content: application/json: - schema: *358 + schema: *370 examples: - default: *825 + default: *836 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118547,9 +119548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *360 - - *361 - - *182 + - *372 + - *373 + - *192 responses: '204': description: Response @@ -118581,9 +119582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *360 - - *361 - - *182 + - *372 + - *373 + - *192 - name: token description: package token schema: @@ -118615,9 +119616,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: - - *360 - - *361 - - *182 + - *372 + - *373 + - *192 responses: '200': description: Response @@ -118625,7 +119626,7 @@ paths: application/json: schema: type: array - items: *362 + items: *374 examples: default: value: @@ -118683,16 +119684,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: - - *360 - - *361 - - *363 - - *182 + - *372 + - *373 + - *375 + - *192 responses: '200': description: Response content: application/json: - schema: *362 + schema: *374 examples: default: value: @@ -118727,10 +119728,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *360 - - *361 - - *182 - - *363 + - *372 + - *373 + - *192 + - *375 responses: '204': description: Response @@ -118762,10 +119763,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *360 - - *361 - - *182 - - *363 + - *372 + - *373 + - *192 + - *375 responses: '204': description: Response @@ -118791,7 +119792,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *182 + - *192 - name: state description: Indicates the state of the projects to return. in: query @@ -118812,7 +119813,7 @@ paths: application/json: schema: type: array - items: *374 + items: *386 examples: default: value: @@ -118870,15 +119871,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *182 + - *192 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *99 - - *100 + - *104 + - *105 - *17 responses: '200': @@ -118887,9 +119888,9 @@ paths: application/json: schema: type: array - items: *375 + items: *387 examples: - default: *376 + default: *388 headers: Link: *43 '304': *37 @@ -118911,16 +119912,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *377 - - *182 + - *389 + - *192 responses: '200': description: Response content: application/json: - schema: *375 + schema: *387 examples: - default: *376 + default: *388 headers: Link: *43 '304': *37 @@ -118942,11 +119943,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *377 - - *182 + - *389 + - *192 - *17 - - *99 - - *100 + - *104 + - *105 responses: '200': description: Response @@ -118954,9 +119955,9 @@ paths: application/json: schema: type: array - items: *378 + items: *390 examples: - default: *379 + default: *391 headers: Link: *43 '304': *37 @@ -118978,17 +119979,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *377 - - *826 - - *182 + - *389 + - *837 + - *192 responses: '200': description: Response content: application/json: - schema: *378 + schema: *390 examples: - default: *379 + default: *391 headers: Link: *43 '304': *37 @@ -119011,10 +120012,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: - - *377 - - *182 - - *99 - - *100 + - *389 + - *192 + - *104 + - *105 - *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) @@ -119024,16 +120025,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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -119041,9 +120045,9 @@ paths: application/json: schema: type: array - items: *385 + items: *397 examples: - default: *386 + default: *398 headers: Link: *43 '304': *37 @@ -119064,8 +120068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *182 - - *377 + - *192 + - *389 requestBody: required: true description: Details of the item to add to the project. @@ -119102,10 +120106,10 @@ paths: description: Response content: application/json: - schema: *827 + schema: *838 examples: - issue: *384 - pull_request: *384 + issue: *396 + pull_request: *396 '304': *37 '403': *29 '401': *25 @@ -119125,28 +120129,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: - - *377 - - *182 - - *387 + - *389 + - *192 + - *399 - 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 - example: fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *385 + schema: *397 examples: - default: *386 + default: *398 headers: Link: *43 '304': *37 @@ -119167,9 +120174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *377 - - *182 - - *387 + - *389 + - *192 + - *399 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -119239,13 +120246,13 @@ paths: description: Response content: application/json: - schema: *385 + schema: *397 examples: - text_field: *386 - number_field: *386 - date_field: *386 - single_select_field: *386 - iteration_field: *386 + text_field: *398 + number_field: *398 + date_field: *398 + single_select_field: *398 + iteration_field: *398 '401': *25 '403': *29 '404': *6 @@ -119265,9 +120272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *377 - - *182 - - *387 + - *389 + - *192 + - *399 responses: '204': description: Response @@ -119294,7 +120301,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: - - *182 + - *192 - *17 - *19 responses: @@ -119304,7 +120311,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -119369,7 +120376,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: - - *182 + - *192 - *17 - *19 responses: @@ -119379,7 +120386,7 @@ paths: application/json: schema: type: array - items: *215 + items: *226 examples: default: value: @@ -119442,7 +120449,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *182 + - *192 - name: type description: Limit results to repositories of the specified type. in: query @@ -119485,9 +120492,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 x-github: @@ -119511,15 +120518,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: - - *182 + - *192 responses: '200': description: Response content: application/json: - schema: *414 + schema: *426 examples: - default: *415 + default: *427 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119541,15 +120548,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: - - *182 + - *192 responses: '200': description: Response content: application/json: - schema: *419 + schema: *431 examples: - default: *420 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119558,7 +120565,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 @@ -119566,12 +120576,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: - - *182 - - *173 - - *222 - - *174 - - *224 - - *225 + - *192 + - *183 + - *234 + - *184 + - *236 + - *237 responses: '200': description: Response when getting a billing premium request usage report @@ -119624,19 +120634,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 @@ -119679,7 +120689,7 @@ paths: '403': *29 '404': *6 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119701,15 +120711,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: - - *182 + - *192 responses: '200': description: Response content: application/json: - schema: *421 + schema: *433 examples: - default: *422 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119729,11 +120739,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: - - *182 - - *173 - - *226 - - *174 - - *227 + - *192 + - *183 + - *238 + - *184 + - *239 responses: '200': description: Response when getting a billing usage report @@ -119804,7 +120814,7 @@ paths: '400': *14 '403': *29 '500': *40 - '503': *167 + '503': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -119822,7 +120832,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: - - *182 + - *192 - *17 - *19 responses: @@ -119832,9 +120842,9 @@ paths: application/json: schema: type: array - items: *812 + items: *823 examples: - default: *813 + default: *824 headers: Link: *43 x-github: @@ -119854,7 +120864,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: - - *182 + - *192 - *17 - *19 responses: @@ -119864,9 +120874,9 @@ paths: application/json: schema: type: array - items: *814 + items: *825 examples: - default: *828 + default: *839 headers: Link: *43 x-github: @@ -119890,9 +120900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *182 - - *829 - - *101 + - *192 + - *840 + - *106 - *17 - *19 responses: @@ -119903,11 +120913,11 @@ paths: schema: anyOf: - type: array - items: *830 + items: *841 - type: array - items: *69 + items: *74 examples: - default-response: *817 + default-response: *828 headers: Link: *43 x-github: @@ -119926,7 +120936,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *182 + - *192 - *17 - *19 responses: @@ -119936,9 +120946,9 @@ paths: application/json: schema: type: array - items: *255 + items: *269 examples: - default: *364 + default: *376 headers: Link: *43 x-github: @@ -120066,7 +121076,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &831 + enterprise: &842 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120124,7 +121134,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &832 + installation: &843 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120143,7 +121153,7 @@ x-webhooks: required: - id - node_id - organization: &833 + organization: &844 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -120203,13 +121213,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &834 + repository: &845 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &871 + properties: &882 id: description: Unique identifier of the repository example: 42 @@ -120229,8 +121239,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *192 - required: *193 + properties: *203 + required: *204 nullable: true organization: title: Simple User @@ -120892,7 +121902,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &872 + required: &883 - archive_url - assignees_url - blobs_url @@ -121043,10 +122053,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -121122,11 +122132,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: &835 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + rule: &846 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) @@ -121349,11 +122359,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: *835 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + rule: *846 sender: *4 required: - action @@ -121536,11 +122546,11 @@ x-webhooks: - everyone required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - rule: *835 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + rule: *846 sender: *4 required: - action @@ -121611,7 +122621,7 @@ x-webhooks: required: true content: application/json: - schema: &838 + schema: &849 title: Exemption request cancellation event type: object properties: @@ -121619,11 +122629,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: &836 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + exemption_request: &847 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -121856,7 +122866,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &837 + items: &848 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -121964,7 +122974,7 @@ x-webhooks: required: true content: application/json: - schema: &839 + schema: &850 title: Exemption request completed event type: object properties: @@ -121972,11 +122982,11 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + exemption_request: *847 sender: *4 required: - action @@ -122046,7 +123056,7 @@ x-webhooks: required: true content: application/json: - schema: &840 + schema: &851 title: Exemption request created event type: object properties: @@ -122054,11 +123064,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + exemption_request: *847 sender: *4 required: - action @@ -122128,7 +123138,7 @@ x-webhooks: required: true content: application/json: - schema: &841 + schema: &852 title: Exemption response dismissed event type: object properties: @@ -122136,12 +123146,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 - exemption_response: *837 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + exemption_request: *847 + exemption_response: *848 sender: *4 required: - action @@ -122213,7 +123223,7 @@ x-webhooks: required: true content: application/json: - schema: &842 + schema: &853 title: Exemption response submitted event type: object properties: @@ -122221,12 +123231,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - exemption_request: *836 - exemption_response: *837 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + exemption_request: *847 + exemption_response: *848 sender: *4 required: - action @@ -122299,7 +123309,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *849 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122366,7 +123376,7 @@ x-webhooks: required: true content: application/json: - schema: *839 + schema: *850 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122433,7 +123443,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *851 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122500,7 +123510,7 @@ x-webhooks: required: true content: application/json: - schema: *841 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122568,7 +123578,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -122646,7 +123656,7 @@ x-webhooks: type: string enum: - completed - check_run: &844 + check_run: &855 title: CheckRun description: A check performed on the code of a given code change type: object @@ -122699,8 +123709,8 @@ x-webhooks: type: string pull_requests: type: array - items: *194 - repository: *255 + items: *205 + repository: *269 status: example: completed type: string @@ -122737,7 +123747,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *843 + deployment: *854 details_url: example: https://example.com type: string @@ -122787,7 +123797,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *194 + items: *205 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -122822,10 +123832,10 @@ x-webhooks: - output - app - pull_requests - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + installation: *843 + enterprise: *842 + organization: *844 + repository: *845 sender: *4 required: - check_run @@ -123218,11 +124228,11 @@ x-webhooks: type: string enum: - created - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *855 + installation: *843 + enterprise: *842 + organization: *844 + repository: *845 sender: *4 required: - check_run @@ -123618,11 +124628,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *855 + installation: *843 + enterprise: *842 + organization: *844 + repository: *845 requested_action: description: The action requested by the user. type: object @@ -124027,11 +125037,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *844 - installation: *832 - enterprise: *831 - organization: *833 - repository: *834 + check_run: *855 + installation: *843 + enterprise: *842 + organization: *844 + repository: *845 sender: *4 required: - check_run @@ -125008,10 +126018,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -125681,10 +126691,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -126348,10 +127358,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -126517,7 +127527,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *540 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -126662,20 +127672,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &845 + commit_oid: &856 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: *831 - installation: *832 - organization: *833 - ref: &846 + enterprise: *842 + installation: *843 + organization: *844 + ref: &857 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: *834 + repository: *845 sender: *4 required: - action @@ -126840,7 +127850,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *540 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127070,12 +128080,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *856 + enterprise: *842 + installation: *843 + organization: *844 + ref: *857 + repository: *845 sender: *4 required: - action @@ -127170,7 +128180,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *528 + dismissed_comment: *540 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127341,12 +128351,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *856 + enterprise: *842 + installation: *843 + organization: *844 + ref: *857 + repository: *845 sender: *4 required: - action @@ -127512,7 +128522,7 @@ x-webhooks: required: - login - id - dismissed_comment: *528 + dismissed_comment: *540 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -127678,12 +128688,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *856 + enterprise: *842 + installation: *843 + organization: *844 + ref: *857 + repository: *845 sender: *4 required: - action @@ -127783,7 +128793,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *528 + dismissed_comment: *540 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -127951,16 +128961,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *834 + repository: *845 sender: *4 required: - action @@ -128057,7 +129067,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *528 + dismissed_comment: *540 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128197,12 +129207,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *845 - enterprise: *831 - installation: *832 - organization: *833 - ref: *846 - repository: *834 + commit_oid: *856 + enterprise: *842 + installation: *843 + organization: *844 + ref: *857 + repository: *845 sender: *4 required: - action @@ -128459,10 +129469,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -128542,18 +129552,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *833 - pusher_type: &847 + organization: *844 + pusher_type: &858 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &848 + ref: &859 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -128563,7 +129573,7 @@ x-webhooks: enum: - tag - branch - repository: *834 + repository: *845 sender: *4 required: - ref @@ -128645,10 +129655,10 @@ x-webhooks: type: string enum: - created - definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + definition: *139 + enterprise: *842 + installation: *843 + organization: *844 sender: *4 required: - action @@ -128733,9 +129743,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 sender: *4 required: - action @@ -128812,10 +129822,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + definition: *139 + enterprise: *842 + installation: *843 + organization: *844 sender: *4 required: - action @@ -128892,10 +129902,10 @@ x-webhooks: type: string enum: - updated - definition: *129 - enterprise: *831 - installation: *832 - organization: *833 + definition: *139 + enterprise: *842 + installation: *843 + organization: *844 sender: *4 required: - action @@ -128972,19 +129982,19 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - repository: *834 - organization: *833 + enterprise: *842 + installation: *843 + repository: *845 + organization: *844 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *389 + items: *401 old_property_values: type: array description: The old custom property values for the repository. - items: *389 + items: *401 required: - action - repository @@ -129060,18 +130070,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - pusher_type: *847 - ref: *848 + enterprise: *842 + installation: *843 + organization: *844 + pusher_type: *858 + ref: *859 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *834 + repository: *845 sender: *4 required: - ref @@ -129155,11 +130165,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129243,11 +130253,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129331,11 +130341,11 @@ x-webhooks: type: string enum: - created - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129417,11 +130427,11 @@ x-webhooks: type: string enum: - dismissed - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129503,11 +130513,11 @@ x-webhooks: type: string enum: - fixed - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129590,11 +130600,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129676,11 +130686,11 @@ x-webhooks: type: string enum: - reopened - alert: *584 - installation: *832 - organization: *833 - enterprise: *831 - repository: *834 + alert: *596 + installation: *843 + organization: *844 + enterprise: *842 + repository: *845 sender: *4 required: - action @@ -129757,9 +130767,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - key: &849 + enterprise: *842 + installation: *843 + key: &860 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -129795,8 +130805,8 @@ x-webhooks: - verified - created_at - read_only - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -129873,11 +130883,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - key: *849 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + key: *860 + organization: *844 + repository: *845 sender: *4 required: - action @@ -130438,12 +131448,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - workflow: &853 + workflow: &864 title: Workflow type: object nullable: true @@ -131169,13 +132179,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *590 + deployment: *602 pull_requests: type: array - items: *682 - repository: *834 - organization: *833 - installation: *832 + items: *694 + repository: *845 + organization: *844 + installation: *843 sender: *4 responses: '200': @@ -131246,7 +132256,7 @@ x-webhooks: type: string enum: - approved - approver: &850 + approver: &861 type: object properties: avatar_url: @@ -131289,11 +132299,11 @@ x-webhooks: type: string comment: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - reviewers: &851 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + reviewers: &862 type: array items: type: object @@ -131372,7 +132382,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &852 + workflow_job_run: &863 type: object properties: conclusion: @@ -132103,18 +133113,18 @@ x-webhooks: type: string enum: - rejected - approver: *850 + approver: *861 comment: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - reviewers: *851 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + reviewers: *862 sender: *4 since: type: string - workflow_job_run: *852 + workflow_job_run: *863 workflow_job_runs: type: array items: @@ -132818,13 +133828,13 @@ x-webhooks: type: string enum: - requested - enterprise: *831 + enterprise: *842 environment: type: string - installation: *832 - organization: *833 - repository: *834 - requestor: &858 + installation: *843 + organization: *844 + repository: *845 + requestor: &869 title: User type: object nullable: true @@ -134723,12 +135733,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - workflow: *853 + workflow: *864 workflow_run: title: Deployment Workflow Run type: object @@ -135408,7 +136418,7 @@ x-webhooks: type: string enum: - answered - answer: &856 + answer: &867 type: object properties: author_association: @@ -135565,11 +136575,11 @@ x-webhooks: - created_at - updated_at - body - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -135696,11 +136706,11 @@ x-webhooks: - from required: - category - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -135783,11 +136793,11 @@ x-webhooks: type: string enum: - closed - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -135869,7 +136879,7 @@ x-webhooks: type: string enum: - created - comment: &855 + comment: &866 type: object properties: author_association: @@ -136026,11 +137036,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136113,12 +137123,12 @@ x-webhooks: type: string enum: - deleted - comment: *855 - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + comment: *866 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136213,12 +137223,12 @@ x-webhooks: - from required: - body - comment: *855 - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + comment: *866 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136302,11 +137312,11 @@ x-webhooks: type: string enum: - created - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136388,11 +137398,11 @@ x-webhooks: type: string enum: - deleted - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136492,11 +137502,11 @@ x-webhooks: type: string required: - from - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136578,10 +137588,10 @@ x-webhooks: type: string enum: - labeled - discussion: *854 - enterprise: *831 - installation: *832 - label: &857 + discussion: *865 + enterprise: *842 + installation: *843 + label: &868 title: Label type: object properties: @@ -136613,8 +137623,8 @@ x-webhooks: - color - default - description - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136697,11 +137707,11 @@ x-webhooks: type: string enum: - locked - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136783,11 +137793,11 @@ x-webhooks: type: string enum: - pinned - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136869,11 +137879,11 @@ x-webhooks: type: string enum: - reopened - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -136958,16 +137968,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *854 - new_repository: *834 + new_discussion: *865 + new_repository: *845 required: - new_discussion - new_repository - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -137050,10 +138060,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *854 - old_answer: *856 - organization: *833 - repository: *834 + discussion: *865 + old_answer: *867 + organization: *844 + repository: *845 sender: *4 required: - action @@ -137135,12 +138145,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *854 - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -137223,11 +138233,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -137309,11 +138319,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *854 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + discussion: *865 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -137382,7 +138392,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *851 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137445,7 +138455,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137511,7 +138521,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *849 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137577,7 +138587,7 @@ x-webhooks: required: true content: application/json: - schema: *839 + schema: *850 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137643,7 +138653,7 @@ x-webhooks: required: true content: application/json: - schema: *840 + schema: *851 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137709,7 +138719,7 @@ x-webhooks: required: true content: application/json: - schema: *841 + schema: *852 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137775,7 +138785,7 @@ x-webhooks: required: true content: application/json: - schema: *842 + schema: *853 responses: '200': description: Return a 200 status to indicate that the data was received @@ -137842,7 +138852,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *831 + enterprise: *842 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -138502,9 +139512,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *832 - organization: *833 - repository: *834 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - forkee @@ -138650,9 +139660,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pages: description: The pages that were updated. type: array @@ -138689,7 +139699,7 @@ x-webhooks: - action - sha - html_url - repository: *834 + repository: *845 sender: *4 required: - pages @@ -138765,10 +139775,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories: &859 + organization: *844 + repositories: &870 description: An array of repository objects that the installation can access. type: array @@ -138794,8 +139804,8 @@ x-webhooks: - name - full_name - private - repository: *834 - requester: *858 + repository: *845 + requester: *869 sender: *4 required: - action @@ -138870,11 +139880,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *844 + repositories: *870 + repository: *845 requester: nullable: true sender: *4 @@ -138950,11 +139960,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *844 + repositories: *870 + repository: *845 requester: nullable: true sender: *4 @@ -139030,10 +140040,10 @@ x-webhooks: type: string enum: - added - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories_added: &860 + organization: *844 + repositories_added: &871 description: An array of repository objects, which were added to the installation. type: array @@ -139079,15 +140089,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *834 - repository_selection: &861 + repository: *845 + repository_selection: &872 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *858 + requester: *869 sender: *4 required: - action @@ -139166,10 +140176,10 @@ x-webhooks: type: string enum: - removed - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories_added: *860 + organization: *844 + repositories_added: *871 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -139196,9 +140206,9 @@ x-webhooks: - name - full_name - private - repository: *834 - repository_selection: *861 - requester: *858 + repository: *845 + repository_selection: *872 + requester: *869 sender: *4 required: - action @@ -139277,11 +140287,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *844 + repositories: *870 + repository: *845 requester: nullable: true sender: *4 @@ -139460,10 +140470,10 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 target_type: type: string @@ -139542,11 +140552,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *831 + enterprise: *842 installation: *22 - organization: *833 - repositories: *859 - repository: *834 + organization: *844 + repositories: *870 + repository: *845 requester: nullable: true sender: *4 @@ -139670,8 +140680,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *186 - required: *187 + properties: *197 + required: *198 reactions: title: Reactions type: object @@ -139798,8 +140808,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -140593,8 +141603,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140610,7 +141620,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -140943,8 +141953,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -141024,7 +142034,7 @@ x-webhooks: type: string enum: - deleted - comment: &862 + comment: &873 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -141189,8 +142199,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -141980,8 +142990,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141997,7 +143007,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -142332,8 +143342,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -142413,7 +143423,7 @@ x-webhooks: type: string enum: - edited - changes: &891 + changes: &902 description: The changes to the comment. type: object properties: @@ -142425,9 +143435,9 @@ x-webhooks: type: string required: - from - comment: *862 - enterprise: *831 - installation: *832 + comment: *873 + enterprise: *842 + installation: *843 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143220,8 +144230,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143237,7 +144247,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -143570,8 +144580,8 @@ x-webhooks: - state - locked - assignee - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -143655,15 +144665,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 + blocked_issue: *200 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 - blocking_issue_repo: *69 - installation: *832 - organization: *833 - repository: *834 + blocking_issue: *200 + blocking_issue_repo: *74 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -143751,15 +144761,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 + blocked_issue: *200 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 - blocking_issue_repo: *69 - installation: *832 - organization: *833 - repository: *834 + blocking_issue: *200 + blocking_issue_repo: *74 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -143846,15 +144856,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 - blocked_issue_repo: *69 + blocked_issue: *200 + blocked_issue_repo: *74 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 - installation: *832 - organization: *833 - repository: *834 + blocking_issue: *200 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -143942,15 +144952,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *189 - blocked_issue_repo: *69 + blocked_issue: *200 + blocked_issue_repo: *74 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *189 - installation: *832 - organization: *833 - repository: *834 + blocking_issue: *200 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -144035,10 +145045,10 @@ x-webhooks: type: string enum: - assigned - assignee: *858 - enterprise: *831 - installation: *832 - issue: &865 + assignee: *869 + enterprise: *842 + installation: *843 + issue: &876 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -144827,11 +145837,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144847,7 +145857,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -144948,8 +145958,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -145029,8 +146039,8 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -145824,11 +146834,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145844,7 +146854,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -146080,8 +147090,8 @@ x-webhooks: required: - state - closed_at - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -146160,8 +147170,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146946,11 +147956,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146966,7 +147976,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -147066,8 +148076,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -147146,8 +148156,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147954,11 +148964,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147974,7 +148984,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -148053,7 +149063,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &863 + milestone: &874 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148191,8 +149201,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -148291,8 +149301,8 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149081,11 +150091,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149098,7 +150108,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *342 + type: *354 title: description: Title of the issue type: string @@ -149202,9 +150212,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *857 - organization: *833 - repository: *834 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -149284,8 +150294,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150073,11 +151083,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150090,7 +151100,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *342 + type: *354 title: description: Title of the issue type: string @@ -150194,9 +151204,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *857 - organization: *833 - repository: *834 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -150276,8 +151286,8 @@ x-webhooks: type: string enum: - locked - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151089,11 +152099,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151106,7 +152116,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *342 + type: *354 title: description: Title of the issue type: string @@ -151187,8 +152197,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -151267,8 +152277,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152074,11 +153084,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152094,7 +153104,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -152172,9 +153182,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *863 - organization: *833 - repository: *834 + milestone: *874 + organization: *844 + repository: *845 sender: *4 required: - action @@ -153042,11 +154052,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153139,7 +154149,7 @@ x-webhooks: required: - login - id - type: *342 + type: *354 required: - id - number @@ -153608,8 +154618,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154398,11 +155408,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154418,7 +155428,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -154518,8 +155528,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -154599,9 +155609,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *831 - installation: *832 - issue: &864 + enterprise: *842 + installation: *843 + issue: &875 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -155384,11 +156394,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155404,7 +156414,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -155504,8 +156514,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -155584,8 +156594,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156395,11 +157405,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156493,9 +157503,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *342 - organization: *833 - repository: *834 + type: *354 + organization: *844 + repository: *845 sender: *4 required: - action @@ -157361,11 +158371,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157381,7 +158391,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -157949,11 +158959,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *831 - installation: *832 - issue: *864 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + issue: *875 + organization: *844 + repository: *845 sender: *4 required: - action @@ -158033,12 +159043,12 @@ x-webhooks: type: string enum: - typed - enterprise: *831 - installation: *832 - issue: *865 - type: *342 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + issue: *876 + type: *354 + organization: *844 + repository: *845 sender: *4 required: - action @@ -158119,7 +159129,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &894 + assignee: &905 title: User type: object nullable: true @@ -158189,11 +159199,11 @@ x-webhooks: required: - login - id - enterprise: *831 - installation: *832 - issue: *865 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + issue: *876 + organization: *844 + repository: *845 sender: *4 required: - action @@ -158272,12 +159282,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *831 - installation: *832 - issue: *865 - label: *857 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + issue: *876 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -158357,8 +159367,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159168,11 +160178,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *775 - issue_dependencies_summary: *776 + sub_issues_summary: *787 + issue_dependencies_summary: *788 issue_field_values: type: array - items: *777 + items: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159188,7 +160198,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *342 + type: *354 updated_at: type: string format: date-time @@ -159266,8 +160276,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -159347,11 +160357,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *831 - installation: *832 - issue: *864 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + issue: *875 + organization: *844 + repository: *845 sender: *4 required: - action @@ -159430,12 +160440,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *831 - installation: *832 - issue: *865 - type: *342 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + issue: *876 + type: *354 + organization: *844 + repository: *845 sender: *4 required: - action @@ -159515,11 +160525,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -159597,11 +160607,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -159711,11 +160721,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - label: *857 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + label: *868 + organization: *844 + repository: *845 sender: *4 required: - action @@ -159797,9 +160807,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: &866 + enterprise: *842 + installation: *843 + marketplace_purchase: &877 title: Marketplace Purchase type: object required: @@ -159882,8 +160892,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *833 - previous_marketplace_purchase: &867 + organization: *844 + previous_marketplace_purchase: &878 title: Marketplace Purchase type: object properties: @@ -159963,7 +160973,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *845 sender: *4 required: - action @@ -160043,10 +161053,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 + enterprise: *842 + installation: *843 + marketplace_purchase: *877 + organization: *844 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160129,7 +161139,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *845 sender: *4 required: - action @@ -160211,10 +161221,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 + enterprise: *842 + installation: *843 + marketplace_purchase: *877 + organization: *844 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160296,7 +161306,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *834 + repository: *845 sender: *4 required: - action @@ -160377,8 +161387,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 marketplace_purchase: title: Marketplace Purchase type: object @@ -160460,9 +161470,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *833 - previous_marketplace_purchase: *867 - repository: *834 + organization: *844 + previous_marketplace_purchase: *878 + repository: *845 sender: *4 required: - action @@ -160542,12 +161552,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *831 - installation: *832 - marketplace_purchase: *866 - organization: *833 - previous_marketplace_purchase: *867 - repository: *834 + enterprise: *842 + installation: *843 + marketplace_purchase: *877 + organization: *844 + previous_marketplace_purchase: *878 + repository: *845 sender: *4 required: - action @@ -160649,11 +161659,11 @@ x-webhooks: type: string required: - to - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + member: *869 + organization: *844 + repository: *845 sender: *4 required: - action @@ -160753,11 +161763,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + member: *869 + organization: *844 + repository: *845 sender: *4 required: - action @@ -160836,11 +161846,11 @@ x-webhooks: type: string enum: - removed - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + member: *869 + organization: *844 + repository: *845 sender: *4 required: - action @@ -160918,11 +161928,11 @@ x-webhooks: type: string enum: - added - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + member: *869 + organization: *844 + repository: *845 scope: description: The scope of the membership. Currently, can only be `team`. @@ -160998,7 +162008,7 @@ x-webhooks: required: - login - id - team: &868 + team: &879 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -161221,11 +162231,11 @@ x-webhooks: type: string enum: - removed - enterprise: *831 - installation: *832 - member: *858 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + member: *869 + organization: *844 + repository: *845 scope: description: The scope of the membership. Currently, can only be `team`. @@ -161302,7 +162312,7 @@ x-webhooks: required: - login - id - team: *868 + team: *879 required: - action - scope @@ -161384,8 +162394,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *832 - merge_group: &870 + installation: *843 + merge_group: &881 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -161404,15 +162414,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *869 + head_commit: *880 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -161498,10 +162508,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *832 - merge_group: *870 - organization: *833 - repository: *834 + installation: *843 + merge_group: *881 + organization: *844 + repository: *845 sender: *4 required: - action @@ -161574,7 +162584,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 + enterprise: *842 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -161683,16 +162693,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *832 - organization: *833 + installation: *843 + organization: *844 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *871 - required: *872 + properties: *882 + required: *883 nullable: true sender: *4 required: @@ -161773,11 +162783,11 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + milestone: *874 + organization: *844 + repository: *845 sender: *4 required: - action @@ -161856,9 +162866,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - milestone: &873 + enterprise: *842 + installation: *843 + milestone: &884 title: Milestone description: A collection of related issues and pull requests. type: object @@ -161995,8 +163005,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162075,11 +163085,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + milestone: *874 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162189,11 +163199,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - milestone: *863 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + milestone: *874 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162273,11 +163283,11 @@ x-webhooks: type: string enum: - opened - enterprise: *831 - installation: *832 - milestone: *873 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + milestone: *884 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162356,11 +163366,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *858 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + blocked_user: *869 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162439,11 +163449,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *858 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + blocked_user: *869 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162522,9 +163532,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - membership: &874 + enterprise: *842 + installation: *843 + membership: &885 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -162631,8 +163641,8 @@ x-webhooks: - role - organization_url - user - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162710,11 +163720,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + membership: *885 + organization: *844 + repository: *845 sender: *4 required: - action @@ -162793,8 +163803,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -162910,10 +163920,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 - user: *858 + user: *869 required: - action - invitation @@ -162991,11 +164001,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + membership: *885 + organization: *844 + repository: *845 sender: *4 required: - action @@ -163082,11 +164092,11 @@ x-webhooks: properties: from: type: string - enterprise: *831 - installation: *832 - membership: *874 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + membership: *885 + organization: *844 + repository: *845 sender: *4 required: - action @@ -163162,9 +164172,9 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 package: description: Information about the package. type: object @@ -163663,7 +164673,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &875 + items: &886 title: Ruby Gems metadata type: object properties: @@ -163758,7 +164768,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *845 sender: *4 required: - action @@ -163834,9 +164844,9 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 package: description: Information about the package. type: object @@ -164189,7 +165199,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *875 + items: *886 source_url: type: string format: uri @@ -164259,7 +165269,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *845 sender: *4 required: - action @@ -164436,12 +165446,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *831 + enterprise: *842 id: type: integer - installation: *832 - organization: *833 - repository: *834 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - id @@ -164518,7 +165528,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &876 + personal_access_token_request: &887 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -164664,10 +165674,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *831 - organization: *833 + enterprise: *842 + organization: *844 sender: *4 - installation: *832 + installation: *843 required: - action - personal_access_token_request @@ -164744,11 +165754,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *876 - enterprise: *831 - organization: *833 + personal_access_token_request: *887 + enterprise: *842 + organization: *844 sender: *4 - installation: *832 + installation: *843 required: - action - personal_access_token_request @@ -164824,11 +165834,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *876 - enterprise: *831 - organization: *833 + personal_access_token_request: *887 + enterprise: *842 + organization: *844 sender: *4 - installation: *832 + installation: *843 required: - action - personal_access_token_request @@ -164903,11 +165913,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *876 - organization: *833 - enterprise: *831 + personal_access_token_request: *887 + organization: *844 + enterprise: *842 sender: *4 - installation: *832 + installation: *843 required: - action - personal_access_token_request @@ -165012,7 +166022,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *877 + last_response: *888 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -165044,8 +166054,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 zen: description: Random string of GitHub zen. @@ -165290,10 +166300,10 @@ x-webhooks: - from required: - note - enterprise: *831 - installation: *832 - organization: *833 - project_card: &878 + enterprise: *842 + installation: *843 + organization: *844 + project_card: &889 title: Project Card type: object properties: @@ -165412,7 +166422,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *834 + repository: *845 sender: *4 required: - action @@ -165493,11 +166503,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project_card: *878 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project_card: *889 + repository: *845 sender: *4 required: - action @@ -165577,9 +166587,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 project_card: title: Project Card type: object @@ -165707,8 +166717,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *871 - required: *872 + properties: *882 + required: *883 nullable: true sender: *4 required: @@ -165802,11 +166812,11 @@ x-webhooks: - from required: - note - enterprise: *831 - installation: *832 - organization: *833 - project_card: *878 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project_card: *889 + repository: *845 sender: *4 required: - action @@ -165900,9 +166910,9 @@ x-webhooks: - from required: - column_id - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 project_card: allOf: - title: Project Card @@ -166092,7 +167102,7 @@ x-webhooks: type: string required: - after_id - repository: *834 + repository: *845 sender: *4 required: - action @@ -166172,10 +167182,10 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - organization: *833 - project: &880 + enterprise: *842 + installation: *843 + organization: *844 + project: &891 title: Project type: object properties: @@ -166299,7 +167309,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *834 + repository: *845 sender: *4 required: - action @@ -166379,10 +167389,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project_column: &879 + enterprise: *842 + installation: *843 + organization: *844 + project_column: &890 title: Project Column type: object properties: @@ -166421,7 +167431,7 @@ x-webhooks: - name - created_at - updated_at - repository: *834 + repository: *845 sender: *4 required: - action @@ -166500,18 +167510,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 + enterprise: *842 + installation: *843 + organization: *844 + project_column: *890 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *871 - required: *872 + properties: *882 + required: *883 nullable: true sender: *4 required: @@ -166601,11 +167611,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project_column: *890 + repository: *845 sender: *4 required: - action @@ -166685,11 +167695,11 @@ x-webhooks: type: string enum: - moved - enterprise: *831 - installation: *832 - organization: *833 - project_column: *879 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project_column: *890 + repository: *845 sender: *4 required: - action @@ -166769,11 +167779,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project: *891 + repository: *845 sender: *4 required: - action @@ -166853,18 +167863,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - project: *880 + enterprise: *842 + installation: *843 + organization: *844 + project: *891 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *871 - required: *872 + properties: *882 + required: *883 nullable: true sender: *4 required: @@ -166966,11 +167976,11 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project: *891 + repository: *845 sender: *4 required: - action @@ -167049,11 +168059,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 - organization: *833 - project: *880 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + project: *891 + repository: *845 sender: *4 required: - action @@ -167134,9 +168144,9 @@ x-webhooks: type: string enum: - closed - installation: *832 - organization: *833 - projects_v2: *375 + installation: *843 + organization: *844 + projects_v2: *387 sender: *4 required: - action @@ -167217,9 +168227,9 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2: *375 + installation: *843 + organization: *844 + projects_v2: *387 sender: *4 required: - action @@ -167300,9 +168310,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2: *375 + installation: *843 + organization: *844 + projects_v2: *387 sender: *4 required: - action @@ -167419,9 +168429,9 @@ x-webhooks: type: string to: type: string - installation: *832 - organization: *833 - projects_v2: *375 + installation: *843 + organization: *844 + projects_v2: *387 sender: *4 required: - action @@ -167504,7 +168514,7 @@ x-webhooks: type: string enum: - archived - changes: &884 + changes: &895 type: object properties: archived_at: @@ -167518,9 +168528,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *832 - organization: *833 - projects_v2_item: &881 + installation: *843 + organization: *844 + projects_v2_item: &892 title: Projects v2 Item description: An item belonging to a project type: object @@ -167538,7 +168548,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *383 + content_type: *395 creator: *4 created_at: type: string @@ -167655,9 +168665,9 @@ x-webhooks: nullable: true to: type: string - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *843 + organization: *844 + projects_v2_item: *892 sender: *4 required: - action @@ -167739,9 +168749,9 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *843 + organization: *844 + projects_v2_item: *892 sender: *4 required: - action @@ -167822,9 +168832,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *843 + organization: *844 + projects_v2_item: *892 sender: *4 required: - action @@ -167930,7 +168940,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &882 + - &893 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -167952,7 +168962,7 @@ x-webhooks: required: - id - name - - &883 + - &894 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -167986,8 +168996,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *882 - - *883 + - *893 + - *894 required: - field_value - type: object @@ -168003,9 +169013,9 @@ x-webhooks: nullable: true required: - body - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *843 + organization: *844 + projects_v2_item: *892 sender: *4 required: - action @@ -168100,9 +169110,9 @@ x-webhooks: to: type: string nullable: true - installation: *832 - organization: *833 - projects_v2_item: *881 + installation: *843 + organization: *844 + projects_v2_item: *892 sender: *4 required: - action @@ -168185,10 +169195,10 @@ x-webhooks: type: string enum: - restored - changes: *884 - installation: *832 - organization: *833 - projects_v2_item: *881 + changes: *895 + installation: *843 + organization: *844 + projects_v2_item: *892 sender: *4 required: - action @@ -168270,9 +169280,9 @@ x-webhooks: type: string enum: - reopened - installation: *832 - organization: *833 - projects_v2: *375 + installation: *843 + organization: *844 + projects_v2: *387 sender: *4 required: - action @@ -168353,14 +169363,14 @@ x-webhooks: type: string enum: - created - installation: *832 - organization: *833 - projects_v2_status_update: &887 + installation: *843 + organization: *844 + projects_v2_status_update: &898 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *885 - required: *886 + properties: *896 + required: *897 sender: *4 required: - action @@ -168441,9 +169451,9 @@ x-webhooks: type: string enum: - deleted - installation: *832 - organization: *833 - projects_v2_status_update: *887 + installation: *843 + organization: *844 + projects_v2_status_update: *898 sender: *4 required: - action @@ -168579,9 +169589,9 @@ x-webhooks: type: string format: date nullable: true - installation: *832 - organization: *833 - projects_v2_status_update: *887 + installation: *843 + organization: *844 + projects_v2_status_update: *898 sender: *4 required: - action @@ -168652,10 +169662,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - repository @@ -168732,13 +169742,13 @@ x-webhooks: type: string enum: - assigned - assignee: *858 - enterprise: *831 - installation: *832 - number: &888 + assignee: *869 + enterprise: *842 + installation: *843 + number: &899 description: The pull request number. type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -171021,7 +172031,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -171103,11 +172113,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -173385,7 +174395,7 @@ x-webhooks: - draft reason: type: string - repository: *834 + repository: *845 sender: *4 required: - action @@ -173467,11 +174477,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -175749,7 +176759,7 @@ x-webhooks: - draft reason: type: string - repository: *834 + repository: *845 sender: *4 required: - action @@ -175831,13 +176841,13 @@ x-webhooks: type: string enum: - closed - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: &889 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 + pull_request: &900 allOf: - - *682 + - *694 - type: object properties: allow_auto_merge: @@ -175899,7 +176909,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *834 + repository: *845 sender: *4 required: - action @@ -175980,12 +176990,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 + pull_request: *900 + repository: *845 sender: *4 required: - action @@ -176065,11 +177075,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *831 - milestone: *666 - number: *888 - organization: *833 - pull_request: &890 + enterprise: *842 + milestone: *678 + number: *899 + organization: *844 + pull_request: &901 title: Pull Request type: object properties: @@ -178332,7 +179342,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -178411,11 +179421,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -180697,7 +181707,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *834 + repository: *845 sender: *4 required: - action @@ -180821,12 +181831,12 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 + pull_request: *900 + repository: *845 sender: *4 required: - action @@ -180906,11 +181916,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -183177,7 +184187,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -183257,11 +184267,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *831 - installation: *832 - label: *857 - number: *888 - organization: *833 + enterprise: *842 + installation: *843 + label: *868 + number: *899 + organization: *844 pull_request: title: Pull Request type: object @@ -185543,7 +186553,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -185624,10 +186634,10 @@ x-webhooks: type: string enum: - locked - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 pull_request: title: Pull Request type: object @@ -187907,7 +188917,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -187987,12 +188997,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *831 - milestone: *666 - number: *888 - organization: *833 - pull_request: *890 - repository: *834 + enterprise: *842 + milestone: *678 + number: *899 + organization: *844 + pull_request: *901 + repository: *845 sender: *4 required: - action @@ -188071,12 +189081,12 @@ x-webhooks: type: string enum: - opened - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 + pull_request: *900 + repository: *845 sender: *4 required: - action @@ -188157,12 +189167,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 + pull_request: *900 + repository: *845 sender: *4 required: - action @@ -188242,12 +189252,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *831 - installation: *832 - number: *888 - organization: *833 - pull_request: *889 - repository: *834 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 + pull_request: *900 + repository: *845 sender: *4 required: - action @@ -188613,9 +189623,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: type: object properties: @@ -190785,7 +191795,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *845 sender: *4 required: - action @@ -190865,7 +191875,7 @@ x-webhooks: type: string enum: - deleted - comment: &892 + comment: &903 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. @@ -191150,9 +192160,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: type: object properties: @@ -193310,7 +194320,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *845 sender: *4 required: - action @@ -193390,11 +194400,11 @@ x-webhooks: type: string enum: - edited - changes: *891 - comment: *892 - enterprise: *831 - installation: *832 - organization: *833 + changes: *902 + comment: *903 + enterprise: *842 + installation: *843 + organization: *844 pull_request: type: object properties: @@ -195555,7 +196565,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *834 + repository: *845 sender: *4 required: - action @@ -195636,9 +196646,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: title: Simple Pull Request type: object @@ -197811,7 +198821,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *845 review: description: The review that was affected. type: object @@ -198058,9 +199068,9 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: title: Simple Pull Request type: object @@ -200114,8 +201124,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 - review: &893 + repository: *845 + review: &904 description: The review that was affected. type: object properties: @@ -200348,12 +201358,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: description: The pull request number. type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -202636,7 +203646,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 requested_reviewer: title: User type: object @@ -202720,12 +203730,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: description: The pull request number. type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -205015,7 +206025,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 requested_team: title: Team description: Groups of organization members that gives permissions @@ -205207,12 +206217,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: description: The pull request number. type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -207497,7 +208507,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 requested_reviewer: title: User type: object @@ -207582,12 +208592,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *831 - installation: *832 + enterprise: *842 + installation: *843 number: description: The pull request number. type: integer - organization: *833 + organization: *844 pull_request: title: Pull Request type: object @@ -209863,7 +210873,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 requested_team: title: Team description: Groups of organization members that gives permissions @@ -210044,9 +211054,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: title: Simple Pull Request type: object @@ -212221,8 +213231,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 - review: *893 + repository: *845 + review: *904 sender: *4 required: - action @@ -212302,9 +213312,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: title: Simple Pull Request type: object @@ -214374,7 +215384,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *845 sender: *4 thread: type: object @@ -214761,9 +215771,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 pull_request: title: Simple Pull Request type: object @@ -216819,7 +217829,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *834 + repository: *845 sender: *4 thread: type: object @@ -217209,10 +218219,10 @@ x-webhooks: type: string before: type: string - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 pull_request: title: Pull Request type: object @@ -219483,7 +220493,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -219565,11 +220575,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *894 - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + assignee: *905 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 pull_request: title: Pull Request type: object @@ -221852,7 +222862,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -221931,11 +222941,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *831 - installation: *832 - label: *857 - number: *888 - organization: *833 + enterprise: *842 + installation: *843 + label: *868 + number: *899 + organization: *844 pull_request: title: Pull Request type: object @@ -224208,7 +225218,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -224289,10 +225299,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *831 - installation: *832 - number: *888 - organization: *833 + enterprise: *842 + installation: *843 + number: *899 + organization: *844 pull_request: title: Pull Request type: object @@ -226557,7 +227567,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *834 + repository: *845 sender: *4 required: - action @@ -226757,7 +227767,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *831 + enterprise: *842 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -226849,8 +227859,8 @@ x-webhooks: - url - author - committer - installation: *832 - organization: *833 + installation: *843 + organization: *844 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -227425,9 +228435,9 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 registry_package: type: object properties: @@ -227873,7 +228883,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *875 + items: *886 summary: type: string tag_name: @@ -227927,7 +228937,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *845 sender: *4 required: - action @@ -228005,9 +229015,9 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 registry_package: type: object properties: @@ -228315,7 +229325,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *875 + items: *886 summary: type: string tag_name: @@ -228364,7 +229374,7 @@ x-webhooks: - owner - package_version - registry - repository: *834 + repository: *845 sender: *4 required: - action @@ -228441,10 +229451,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - release: &895 + enterprise: *842 + installation: *843 + organization: *844 + release: &906 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -228762,7 +229772,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *834 + repository: *845 sender: *4 required: - action @@ -228839,11 +229849,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + release: *906 + repository: *845 sender: *4 required: - action @@ -228960,11 +229970,11 @@ x-webhooks: type: boolean required: - to - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + release: *906 + repository: *845 sender: *4 required: - action @@ -229042,9 +230052,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -229366,7 +230376,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *834 + repository: *845 sender: *4 required: - action @@ -229442,10 +230452,10 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - release: &896 + enterprise: *842 + installation: *843 + organization: *844 + release: &907 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -229764,7 +230774,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *834 + repository: *845 sender: *4 required: - action @@ -229840,11 +230850,11 @@ x-webhooks: type: string enum: - released - enterprise: *831 - installation: *832 - organization: *833 - release: *895 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + release: *906 + repository: *845 sender: *4 required: - action @@ -229920,11 +230930,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *831 - installation: *832 - organization: *833 - release: *896 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + release: *907 + repository: *845 sender: *4 required: - action @@ -230000,11 +231010,11 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_advisory: *735 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + repository_advisory: *747 sender: *4 required: - action @@ -230080,11 +231090,11 @@ x-webhooks: type: string enum: - reported - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_advisory: *735 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + repository_advisory: *747 sender: *4 required: - action @@ -230160,10 +231170,10 @@ x-webhooks: type: string enum: - archived - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230240,10 +231250,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230321,10 +231331,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230408,10 +231418,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230523,10 +231533,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230598,10 +231608,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 status: type: string @@ -230682,10 +231692,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230762,10 +231772,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230859,10 +231869,10 @@ x-webhooks: - name required: - repository - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -230942,11 +231952,11 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_ruleset: *162 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + repository_ruleset: *172 sender: *4 required: - action @@ -231024,11 +232034,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_ruleset: *162 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + repository_ruleset: *172 sender: *4 required: - action @@ -231106,11 +232116,11 @@ x-webhooks: type: string enum: - edited - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - repository_ruleset: *162 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + repository_ruleset: *172 changes: type: object properties: @@ -231129,16 +232139,16 @@ x-webhooks: properties: added: type: array - items: *136 + items: *146 deleted: type: array - items: *136 + items: *146 updated: type: array items: type: object properties: - condition: *136 + condition: *146 changes: type: object properties: @@ -231171,16 +232181,16 @@ x-webhooks: properties: added: type: array - items: *703 + items: *715 deleted: type: array - items: *703 + items: *715 updated: type: array items: type: object properties: - rule: *703 + rule: *715 changes: type: object properties: @@ -231414,10 +232424,10 @@ x-webhooks: - from required: - owner - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -231495,10 +232505,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -231576,7 +232586,7 @@ x-webhooks: type: string enum: - create - alert: &897 + alert: &908 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -231697,10 +232707,10 @@ x-webhooks: type: string enum: - open - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -231906,10 +232916,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -231987,11 +232997,11 @@ x-webhooks: type: string enum: - reopen - alert: *897 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *908 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -232190,10 +233200,10 @@ x-webhooks: enum: - fixed - open - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -232271,11 +233281,11 @@ x-webhooks: type: string enum: - created - alert: &898 + alert: &909 type: object properties: - number: *113 - created_at: *120 + number: *123 + created_at: *130 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -232283,8 +233293,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *118 - html_url: *119 + url: *128 + html_url: *129 locations_url: type: string format: uri @@ -232389,10 +233399,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -232473,11 +233483,11 @@ x-webhooks: type: string enum: - created - alert: *898 - installation: *832 - location: *899 - organization: *833 - repository: *834 + alert: *909 + installation: *843 + location: *910 + organization: *844 + repository: *845 sender: *4 required: - location @@ -232715,11 +233725,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *909 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -232797,11 +233807,11 @@ x-webhooks: type: string enum: - reopened - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *909 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -232879,11 +233889,11 @@ x-webhooks: type: string enum: - resolved - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *909 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -232961,11 +233971,11 @@ x-webhooks: type: string enum: - validated - alert: *898 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + alert: *909 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -233091,10 +234101,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *834 - enterprise: *831 - installation: *832 - organization: *833 + repository: *845 + enterprise: *842 + installation: *843 + organization: *844 sender: *4 required: - action @@ -233172,11 +234182,11 @@ x-webhooks: type: string enum: - published - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - security_advisory: &900 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + security_advisory: &911 description: The details of the security advisory, including summary, description, and severity. type: object @@ -233192,7 +234202,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *115 + cvss_severities: *125 cwes: type: array items: @@ -233359,11 +234369,11 @@ x-webhooks: type: string enum: - updated - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 - security_advisory: *900 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 + security_advisory: *911 sender: *4 required: - action @@ -233436,10 +234446,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -233456,7 +234466,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *115 + cvss_severities: *125 cwes: type: array items: @@ -233623,11 +234633,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *392 - enterprise: *831 - installation: *832 - organization: *833 - repository: *459 + security_and_analysis: *404 + enterprise: *842 + installation: *843 + organization: *844 + repository: *471 sender: *4 required: - changes @@ -233705,12 +234715,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - sponsorship: &901 + sponsorship: &912 type: object properties: created_at: @@ -234011,12 +235021,12 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - sponsorship: *901 + sponsorship: *912 required: - action - sponsorship @@ -234104,12 +235114,12 @@ x-webhooks: type: string required: - from - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - sponsorship: *901 + sponsorship: *912 required: - action - changes @@ -234186,17 +235196,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &902 + effective_date: &913 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: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - sponsorship: *901 + sponsorship: *912 required: - action - sponsorship @@ -234270,7 +235280,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &903 + changes: &914 type: object properties: tier: @@ -234314,13 +235324,13 @@ x-webhooks: - from required: - tier - effective_date: *902 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + effective_date: *913 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - sponsorship: *901 + sponsorship: *912 required: - action - changes @@ -234397,13 +235407,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *903 - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + changes: *914 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - sponsorship: *901 + sponsorship: *912 required: - action - changes @@ -234477,10 +235487,10 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234563,10 +235573,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -234986,15 +235996,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *831 + enterprise: *842 id: description: The unique identifier of the status. type: integer - installation: *832 + installation: *843 name: type: string - organization: *833 - repository: *834 + organization: *844 + repository: *845 sender: *4 sha: description: The Commit SHA. @@ -235103,15 +236113,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 - parent_issue_repo: *69 + parent_issue: *200 + parent_issue_repo: *74 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 - installation: *832 - organization: *833 - repository: *834 + sub_issue: *200 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -235195,15 +236205,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 - parent_issue_repo: *69 + parent_issue: *200 + parent_issue_repo: *74 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 - installation: *832 - organization: *833 - repository: *834 + sub_issue: *200 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -235287,15 +236297,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 - sub_issue_repo: *69 + sub_issue: *200 + sub_issue_repo: *74 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 - installation: *832 - organization: *833 - repository: *834 + parent_issue: *200 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -235379,15 +236389,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *189 - sub_issue_repo: *69 + sub_issue: *200 + sub_issue_repo: *74 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *189 - installation: *832 - organization: *833 - repository: *834 + parent_issue: *200 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -235464,12 +236474,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - team: &904 + team: &915 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -235692,9 +236702,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 repository: title: Repository description: A git repository @@ -236152,7 +237162,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *915 required: - action - team @@ -236228,9 +237238,9 @@ x-webhooks: type: string enum: - created - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 repository: title: Repository description: A git repository @@ -236688,7 +237698,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *915 required: - action - team @@ -236765,9 +237775,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 repository: title: Repository description: A git repository @@ -237225,7 +238235,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *915 required: - action - team @@ -237369,9 +238379,9 @@ x-webhooks: - from required: - permissions - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 repository: title: Repository description: A git repository @@ -237829,7 +238839,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *915 required: - action - changes @@ -237907,9 +238917,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *831 - installation: *832 - organization: *833 + enterprise: *842 + installation: *843 + organization: *844 repository: title: Repository description: A git repository @@ -238367,7 +239377,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *904 + team: *915 required: - action - team @@ -238443,10 +239453,10 @@ x-webhooks: type: string enum: - started - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 required: - action @@ -238519,16 +239529,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *831 + enterprise: *842 inputs: type: object nullable: true additionalProperties: true - installation: *832 - organization: *833 + installation: *843 + organization: *844 ref: type: string - repository: *834 + repository: *845 sender: *4 workflow: type: string @@ -238610,10 +239620,10 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 workflow_job: allOf: @@ -238850,7 +239860,7 @@ x-webhooks: type: string required: - conclusion - deployment: *590 + deployment: *602 required: - action - repository @@ -238929,10 +239939,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 workflow_job: allOf: @@ -239192,7 +240202,7 @@ x-webhooks: required: - status - steps - deployment: *590 + deployment: *602 required: - action - repository @@ -239271,10 +240281,10 @@ x-webhooks: type: string enum: - queued - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 workflow_job: type: object @@ -239409,7 +240419,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *590 + deployment: *602 required: - action - repository @@ -239488,10 +240498,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 workflow_job: type: object @@ -239627,7 +240637,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *590 + deployment: *602 required: - action - repository @@ -239707,12 +240717,12 @@ x-webhooks: type: string enum: - completed - enterprise: *831 - installation: *832 - organization: *833 - repository: *834 + enterprise: *842 + installation: *843 + organization: *844 + repository: *845 sender: *4 - workflow: *853 + workflow: *864 workflow_run: title: Workflow Run type: object @@ -240711,12 +241721,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *831 - installation: *832 - organization: *833 - repos{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}