diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 1d752c43e..0ef5494f9 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -3212,12 +3216,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3263,98 +3261,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-state" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-sort" - }, - { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-validity" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/organization-secret-scanning-alert" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -3456,6 +3362,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -3857,6 +3773,336 @@ } } }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "delete": { + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, "/enterprises/{enterprise}/teams/{team_slug}": { "get": { "summary": "Get an enterprise team", @@ -3958,6 +4204,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -7303,10 +7559,125 @@ } } }, + "/organizations/{org}/org-properties/values": { + "get": { + "summary": "Get all custom property values for an organization", + "description": "Gets all custom property values that are set for an organization.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `read:org` scope\n- Actors with the organization-level \"read custom properties for an organization\" fine-grained permission or above", + "tags": [ + "orgs" + ], + "operationId": "orgs/custom-properties-for-orgs-get-organization-values", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/custom-property-value" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/custom-property-values" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "custom-properties-for-orgs" + } + }, + "patch": { + "summary": "Create or update custom property values for an organization", + "description": "Create new or update existing custom property values for an organization.\nTo remove a custom property value from an organization, set the property value to `null`.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `admin:org` scope\n- Actors with the organization-level \"edit custom properties for an organization\" fine-grained permission", + "tags": [ + "orgs" + ], + "operationId": "orgs/custom-properties-for-orgs-create-or-update-organization-values", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "properties": { + "type": "array", + "description": "A list of custom property names and associated values to apply to the organization.", + "items": { + "$ref": "#/components/schemas/custom-property-value" + } + } + }, + "required": [ + "properties" + ] + }, + "examples": { + "default": { + "$ref": "#/components/examples/create-or-update-custom-properties-values" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content when custom property values are successfully created or updated" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "custom-properties-for-orgs" + } + } + }, "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -7958,6 +8329,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -7976,6 +8354,11 @@ "enable_static_ip": { "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -8028,17 +8411,17 @@ } } }, - "/orgs/{org}/actions/hosted-runners/images/github-owned": { + "/orgs/{org}/actions/hosted-runners/images/custom": { "get": { - "summary": "Get GitHub-owned images for GitHub-hosted runners in an organization", - "description": "Get the list of GitHub-owned images available for GitHub-hosted runners for an organization.", - "operationId": "actions/get-hosted-runners-github-owned-images-for-org", + "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#get-github-owned-images-for-github-hosted-runners-in-an-organization" + "url": "https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization" }, "parameters": [ { @@ -8063,14 +8446,14 @@ "images": { "type": "array", "items": { - "$ref": "#/components/schemas/actions-hosted-runner-curated-image" + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" } } } }, "examples": { "default": { - "$ref": "#/components/examples/actions-hosted-runner-curated-image" + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" } } } @@ -8085,17 +8468,292 @@ } } }, - "/orgs/{org}/actions/hosted-runners/images/partner": { + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": { "get": { - "summary": "Get partner images for GitHub-hosted runners in an organization", - "description": "Get the list of partner images available for GitHub-hosted runners for an organization.", - "operationId": "actions/get-hosted-runners-partner-images-for-org", + "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-partner-images-for-github-hosted-runners-in-an-organization" + "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", + "description": "Get the list of GitHub-owned images available for GitHub-hosted runners for an organization.", + "operationId": "actions/get-hosted-runners-github-owned-images-for-org", + "tags": [ + "actions" + ], + "externalDocs": { + "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": [ + { + "$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-curated-image" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-curated-image" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/partner": { + "get": { + "summary": "Get partner images for GitHub-hosted runners in an organization", + "description": "Get the list of partner images available for GitHub-hosted runners for an organization.", + "operationId": "actions/get-hosted-runners-partner-images-for-org", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization" }, "parameters": [ { @@ -8394,6 +9052,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -12816,6 +13481,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", @@ -13289,7 +14025,10 @@ }, "code_scanning_alerts": { "description": "The code scanning alerts to include in this campaign", - "type": "array", + "type": [ + "array", + "null" + ], "minItems": 1, "items": { "type": "object", @@ -13323,8 +14062,19 @@ "required": [ "name", "description", - "ends_at", - "code_scanning_alerts" + "ends_at" + ], + "oneOf": [ + { + "required": [ + "code_scanning_alerts" + ] + }, + { + "required": [ + "secret_scanning_alerts" + ] + } ] }, "examples": { @@ -16474,12 +17224,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -23109,17 +23853,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } }, @@ -23297,17 +24045,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -44473,16 +45225,6 @@ { "$ref": "#/components/parameters/direction" }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -44498,12 +45240,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61643,7 +62379,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -75284,17 +76020,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -75463,17 +76203,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -76022,7 +76766,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" ], @@ -102393,6 +103137,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -102590,6 +103342,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -105754,661 +106515,188 @@ ], "additionalProperties": false }, - "secret-scanning-alert-state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "secret-scanning-alert-resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "enterprise-team": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", "type": "object", "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + "id": { + "type": "integer", + "format": "int64" }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + "name": { + "type": "string" }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] + "description": { + "type": "string" }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" + "slug": { + "type": "string" }, - "commit_sha": { + "url": { "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] + "format": "uri" }, - "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": { + "sync_to_organizations": { "type": "string", - "description": "The file path of the wiki page", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ - "/example/Home.md" + "disabled | all" ] }, - "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": { + "organization_selection_type": { "type": "string", - "description": "SHA-1 hash ID of the associated blob", "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" + "disabled | selected | all" ] }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", + "group_id": { + "type": [ + "string", + "null" + ], "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + "62ab9291-fae2-468e-974b-7e45096d5021" ] }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + "Justice League" ] }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { + "html_url": { "type": "string", "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" + "https://github.com/enterprises/dc/teams/justice-league" ] - } - }, - "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": { + }, + "members_url": { + "type": "string" + }, + "created_at": { "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { + "format": "date-time" + }, + "updated_at": { "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] + "format": "date-time" } }, "required": [ - "discussion_comment_url" + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" ] }, - "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.", + "organization-simple": { + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "pull_request_title_url": { + "login": { "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + "github" ] - } - }, - "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.", + }, + "id": { + "type": "integer", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + 1 ] - } - }, - "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": { + }, + "node_id": { "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + "MDEyOk9yZ2FuaXphdGlvbjE=" ] - } - }, - "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": { + }, + "url": { "type": "string", "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + "https://api.github.com/orgs/github" ] - } - }, - "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": { + }, + "repos_url": { "type": "string", "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "secret-scanning-first-detected-location": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ] - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } + "https://api.github.com/orgs/github/repos" ] }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { + "events_url": { "type": "string", "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "examples": [ + "https://api.github.com/orgs/github/events" ] }, - "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": { + "hooks_url": { "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "examples": [ + "https://api.github.com/orgs/github/hooks" ] }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { + "issues_url": { "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "examples": [ + "https://api.github.com/orgs/github/issues" ] - } - } - }, - "enterprise-team": { - "title": "Enterprise Team", - "description": "Group of enterprise owners and/or members", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "slug": { - "type": "string" }, - "url": { - "type": "string", - "format": "uri" - }, - "sync_to_organizations": { + "members_url": { "type": "string", - "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ - "disabled | all" + "https://api.github.com/orgs/github/members{/member}" ] }, - "organization_selection_type": { + "public_members_url": { "type": "string", "examples": [ - "disabled | selected | all" + "https://api.github.com/orgs/github/public_members{/member}" ] }, - "group_id": { - "type": [ - "string", - "null" - ], + "avatar_url": { + "type": "string", "examples": [ - "62ab9291-fae2-468e-974b-7e45096d5021" + "https://github.com/images/error/octocat_happy.gif" ] }, - "group_name": { + "description": { "type": [ "string", "null" ], - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "Justice League" - ] - }, - "html_url": { - "type": "string", - "format": "uri", "examples": [ - "https://github.com/enterprises/dc/teams/justice-league" + "A great organization" ] - }, - "members_url": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" } }, "required": [ - "id", + "login", "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", "members_url", - "name", - "html_url", - "slug", - "created_at", - "updated_at", - "group_id" + "public_members_url", + "avatar_url", + "description" ] }, "actor": { @@ -110613,105 +110901,6 @@ "subscribed" ] }, - "organization-simple": { - "title": "Organization Simple", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "login": { - "type": "string", - "examples": [ - "github" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEyOk9yZ2FuaXphdGlvbjE=" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/repos" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/events" - ] - }, - "hooks_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/hooks" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/issues" - ] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/members{/member}" - ] - }, - "public_members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/public_members{/member}" - ] - }, - "avatar_url": { - "type": "string", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "A great organization" - ] - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, "dependabot-repository-access-details": { "title": "Dependabot Repository Access Details", "description": "Information about repositories that Dependabot is able to access in an organization", @@ -110748,6 +110937,40 @@ }, "additionalProperties": false }, + "custom-property-value": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + }, "billing-premium-request-usage-report-org": { "type": "object", "properties": { @@ -110813,7 +111036,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -110821,7 +111044,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -110829,7 +111052,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -111522,6 +111745,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -111692,6 +111922,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -111704,6 +111938,128 @@ "platform" ] }, + "actions-hosted-runner-custom-image": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "actions-hosted-runner-custom-image-version": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + }, "actions-hosted-runner-curated-image": { "title": "GitHub-hosted runner image details.", "description": "Provides details of a hosted runner image", @@ -112449,6 +112805,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -117390,40 +117755,6 @@ "value_type" ] }, - "custom-property-value": { - "title": "Custom Property Value", - "description": "Custom property name and associated value", - "type": "object", - "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" - }, - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "The value assigned to the property", - "type": [ - "null", - "string", - "array" - ] - } - }, - "required": [ - "property_name", - "value" - ] - }, "org-repo-custom-property-values": { "title": "Organization Repository Custom Property Values", "description": "List of custom property values for a repository", @@ -119923,6 +120254,578 @@ } ] }, + "secret-scanning-alert-state": { + "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", + "type": "string", + "enum": [ + "open", + "resolved" + ] + }, + "secret-scanning-alert-resolution": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ] + }, + "organization-secret-scanning-alert": { + "type": "object", + "properties": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/alert-updated-at" + } + ] + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when reviewing a push protection bypass." + }, + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment that was optionally added when this alert was closed" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." + }, + "is_base64_encoded": { + "type": [ + "boolean", + "null" + ], + "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + } + } + }, "secret-scanning-row-version": { "type": [ "string", @@ -140006,7 +140909,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -140014,7 +140917,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -140022,7 +140925,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -288819,192 +289722,6 @@ } ] }, - "organization-secret-scanning-alert-list": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, "enterprise-teams-items": { "value": [ { @@ -289067,6 +289784,40 @@ "site_admin": false } }, + "organization-simple": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + }, + "organization-simple-items": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + }, "public-events-items": { "value": [ { @@ -290587,24 +291338,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", @@ -290683,6 +291416,40 @@ ] } }, + "custom-property-values": { + "value": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + }, + "create-or-update-custom-properties-values": { + "value": { + "properties": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + } + }, "billing-premium-request-usage-report-org": { "value": { "timePeriod": { @@ -290908,6 +291675,45 @@ "last_active_on": "2022-10-09T23:39:01Z" } }, + "actions-hosted-runner-custom-image-versions": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + }, + "actions-hosted-runner-custom-image": { + "value": { + "id": 1, + "platform": "linux-x64", + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" + } + }, + "actions-hosted-runner-custom-image-version": { + "value": { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + }, "actions-hosted-runner-curated-image": { "value": { "id": "ubuntu-20.04", @@ -291971,6 +292777,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -296857,6 +297675,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", @@ -308305,40 +309309,6 @@ } ] }, - "custom-property-values": { - "value": [ - { - "property_name": "environment", - "value": "production" - }, - { - "property_name": "service", - "value": "web" - }, - { - "property_name": "team", - "value": "octocat" - } - ] - }, - "create-or-update-custom-properties-values": { - "value": { - "properties": [ - { - "property_name": "environment", - "value": "production" - }, - { - "property_name": "service", - "value": "web" - }, - { - "property_name": "team", - "value": "octocat" - } - ] - } - }, "pull-request": { "value": { "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", @@ -318019,113 +318989,6 @@ "default": "created" } }, - "pagination-first": { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - "pagination-last": { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, - "secret-scanning-alert-state": { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - "secret-scanning-alert-secret-type": { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-resolution": { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-sort": { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - "secret-scanning-alert-validity": { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-publicly-leaked": { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-multi-repo": { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-hide-secret": { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, "enterprise-team": { "name": "enterprise-team", "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", @@ -318144,6 +319007,15 @@ "type": "string" } }, + "org": { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "team-slug": { "name": "team_slug", "description": "The slug of the team name.", @@ -318288,15 +319160,6 @@ "type": "integer" } }, - "org": { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "billing-usage-report-year": { "name": "year", "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", @@ -318369,6 +319232,25 @@ "type": "integer" } }, + "actions-custom-image-definition-id": { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + "actions-custom-image-version": { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + }, "hosted-runner-id": { "name": "hosted_runner_id", "description": "Unique identifier of the GitHub-hosted runner.", @@ -318966,6 +319848,51 @@ "type": "integer" } }, + "secret-scanning-alert-state": { + "name": "state", + "in": "query", + "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "resolved" + ] + } + }, + "secret-scanning-alert-secret-type": { + "name": "secret_type", + "in": "query", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-resolution": { + "name": "resolution", + "in": "query", + "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-sort": { + "name": "sort", + "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, "secret-scanning-pagination-before-org-repo": { "name": "before", "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", @@ -318984,6 +319911,45 @@ "type": "string" } }, + "secret-scanning-alert-validity": { + "name": "validity", + "in": "query", + "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-publicly-leaked": { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-multi-repo": { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-hide-secret": { + "name": "hide_secret", + "in": "query", + "description": "A boolean value representing whether or not to hide literal secrets in the results.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, "network-configuration-id": { "name": "network_configuration_id", "description": "Unique identifier of the hosted compute network configuration.", diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 5a3328d6f..88f6cc877 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -2302,8 +2304,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -2331,61 +2331,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - - "$ref": "#/components/parameters/secret-scanning-alert-state" - - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - - "$ref": "#/components/parameters/secret-scanning-alert-sort" - - "$ref": "#/components/parameters/direction" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/pagination-before" - - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/secret-scanning-alert-validity" - - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/organization-secret-scanning-alert" - examples: - default: - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - headers: - Link: - "$ref": "#/components/headers/link" - '404': - "$ref": "#/components/responses/not_found" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -2459,6 +2404,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -2706,6 +2663,209 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -2781,6 +2941,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -5136,12 +5308,107 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/org-properties/values": + get: + summary: Get all custom property values for an organization + description: |- + Gets all custom property values that are set for an organization. + + The organization must belong to an enterprise. + + Access requirements: + - Organization admins + - OAuth tokens and personal access tokens (classic) with the `read:org` scope + - Actors with the organization-level "read custom properties for an organization" fine-grained permission or above + tags: + - orgs + operationId: orgs/custom-properties-for-orgs-get-organization-values + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/custom-property-value" + examples: + default: + "$ref": "#/components/examples/custom-property-values" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: custom-properties-for-orgs + patch: + summary: Create or update custom property values for an organization + description: |- + Create new or update existing custom property values for an organization. + To remove a custom property value from an organization, set the property value to `null`. + + The organization must belong to an enterprise. + + Access requirements: + - Organization admins + - OAuth tokens and personal access tokens (classic) with the `admin:org` scope + - Actors with the organization-level "edit custom properties for an organization" fine-grained permission + tags: + - orgs + operationId: orgs/custom-properties-for-orgs-create-or-update-organization-values + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + properties: + type: array + description: A list of custom property names and associated values + to apply to the organization. + items: + "$ref": "#/components/schemas/custom-property-value" + required: + - properties + examples: + default: + "$ref": "#/components/examples/create-or-update-custom-properties-values" + responses: + '204': + description: No Content when custom property values are successfully created + or updated + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: custom-properties-for-orgs "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -5701,6 +5968,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -5718,6 +5991,11 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -5749,6 +6027,197 @@ paths: githubCloudOnly: false category: actions subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an organization + description: |- + List custom images for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get a custom image definition for GitHub Actions Hosted Runners + description: |- + Get a custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete a custom image from the organization + description: |- + Delete a custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": + get: + summary: List image versions of a custom image for an organization + description: |- + List image versions of a custom image for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-image-versions-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization + parameters: + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of a custom image for GitHub Actions Hosted Runners + description: |- + Get an image version of a custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + - "$ref": "#/components/parameters/actions-custom-image-version" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image-version" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete an image version of custom image from the organization + description: |- + Delete an image version of custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-version-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + - "$ref": "#/components/parameters/actions-custom-image-version" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners "/orgs/{org}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an organization @@ -6005,6 +6474,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -9221,6 +9696,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 @@ -9563,7 +10085,9 @@ paths: format: uri code_scanning_alerts: description: The code scanning alerts to include in this campaign - type: array + type: + - array + - 'null' minItems: 1 items: type: object @@ -9590,7 +10114,11 @@ paths: - name - description - ends_at - - code_scanning_alerts + oneOf: + - required: + - code_scanning_alerts + - required: + - secret_scanning_alerts examples: default: value: @@ -11974,8 +12502,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -16692,17 +17218,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -16814,17 +17342,19 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/item-id" - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -32333,14 +32863,6 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -32351,8 +32873,6 @@ paths: default: 30 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" responses: '200': description: Response @@ -44635,6 +45155,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -54458,17 +54981,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54576,17 +55101,19 @@ paths: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/item-id" - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54950,7 +55477,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 @@ -73832,6 +74362,13 @@ components: GitHub Actions workflow files. enum: - write + custom_properties_for_organizations: + type: string + description: The level of permission to grant the access token to view and + edit custom properties for an organization, when allowed by the property. + enum: + - read + - write members: type: string description: The level of permission to grant the access token for organization @@ -74008,6 +74545,14 @@ components: enum: - read - write + enterprise_custom_properties_for_organizations: + type: string + description: The level of permission to grant the access token for organization + custom properties management at the enterprise level. + enum: + - read + - write + - admin example: contents: read issues: read @@ -76466,424 +77011,6 @@ components: - fixed_at - repository additionalProperties: false - secret-scanning-alert-state: - description: Sets the state of the secret scanning alert. You must provide `resolution` - when you set the state to `resolved`. - type: string - enum: - - open - - resolved - secret-scanning-alert-resolution: - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The reason for resolving - the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - secret-scanning-first-detected-location: - description: 'Details on the location where the token was initially detected. - This can be a commit, wiki commit, issue, discussion, pull request. - - ' - oneOf: - - "$ref": "#/components/schemas/secret-scanning-location-commit" - - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - organization-secret-scanning-alert: - type: object - properties: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert is base64 - encoded - first_location_detected: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - has_more_locations: - type: boolean - description: A boolean value representing whether or not the token in the - alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -76948,6 +77075,77 @@ components: - created_at - updated_at - group_id + organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description actor: title: Actor description: Actor @@ -79957,239 +80155,190 @@ components: - reason - url - subscribed - organization-simple: - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description - dependabot-repository-access-details: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able to access - in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-repository" - additionalProperties: false - billing-premium-request-usage-report-org: - type: object - properties: - timePeriod: - type: object - properties: - year: - type: integer - description: The year for the usage report. - month: - type: integer - description: The month for the usage report. - day: - type: integer - description: The day for the usage report. - required: - - year - organization: - type: string - description: The unique identifier of the organization. - user: - type: string - description: The name of the user for the usage report. - product: - type: string - description: The product for the usage report. - model: - type: string - description: The model for the usage report. - usageItems: - type: array - items: - type: object - properties: - product: - type: string - description: Product name. - sku: - type: string - description: SKU name. - model: - type: string - description: Model name. - unitType: - type: string - description: Unit type of the usage line item. - pricePerUnit: - type: number - description: Price per unit of the usage line item. - grossQuantity: - type: integer - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: integer - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: integer - description: Net quantity of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - required: - - product - - sku - - model - - unitType - - pricePerUnit - - grossQuantity - - grossAmount - - discountQuantity - - discountAmount - - netQuantity - - netAmount - required: - - timePeriod - - organization - - usageItems - billing-usage-report: - type: object - properties: - usageItems: - type: array - items: - type: object - properties: - date: - type: string - description: Date of the usage line item. - product: - type: string - description: Product name. - sku: - type: string - description: SKU name. - quantity: - type: integer - description: Quantity of the usage line item. - unitType: - type: string - description: Unit type of the usage line item. - pricePerUnit: - type: number - description: Price per unit of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - organizationName: - type: string - description: Name of the organization. - repositoryName: - type: string - description: Name of the repository. - required: - - date - - product - - sku - - quantity - - unitType - - pricePerUnit - - grossAmount - - discountAmount - - netAmount - - organizationName - organization-full: - title: Organization Full - description: Organization Full + dependabot-repository-access-details: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able to access + in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-repository" + additionalProperties: false + custom-property-value: + title: Custom Property Value + description: Custom property name and associated value + type: object + properties: + property_name: + type: string + description: The name of the property + value: + oneOf: + - type: string + - type: array + items: + type: string + description: The value assigned to the property + type: + - 'null' + - string + - array + required: + - property_name + - value + billing-premium-request-usage-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + billing-usage-report: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + organizationName: + type: string + description: Name of the organization. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount + - organizationName + organization-full: + title: Organization Full + description: Organization Full type: object properties: login: @@ -80647,6 +80796,11 @@ components: - github - partner - custom + version: + description: The image version of the hosted runner pool. + type: string + examples: + - latest required: - id - size_gb @@ -80771,6 +80925,9 @@ components: format: date-time examples: - '2022-10-09T23:39:01Z' + image_gen: + type: boolean + description: Whether custom image generation is enabled for the hosted runners. required: - id - name @@ -80779,6 +80936,97 @@ components: - status - public_ip_enabled - platform + actions-hosted-runner-custom-image: + title: GitHub-hosted runner custom image details + description: Provides details of a custom runner image + type: object + properties: + id: + description: The ID of the image. Use this ID for the `image` parameter + when creating a new larger runner. + type: integer + examples: + - 1 + platform: + description: The operating system of the image. + type: string + examples: + - linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + examples: + - 200 + name: + description: Display name for this image. + type: string + examples: + - CustomImage + source: + description: The image provider. + type: string + examples: + - custom + versions_count: + description: The number of image versions associated with the image. + type: integer + examples: + - 4 + latest_version: + description: The latest image version associated with the image. + type: string + examples: + - 1.3.0 + state: + description: The number of image versions associated with the image. + type: string + examples: + - Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + actions-hosted-runner-custom-image-version: + title: GitHub-hosted runner custom image version details. + description: Provides details of a hosted runner custom image version + type: object + properties: + version: + description: The version of image. + type: string + examples: + - 1.0.0 + state: + description: The state of image version. + type: string + examples: + - Ready + size_gb: + description: Image version size in GB. + type: integer + examples: + - 30 + created_on: + description: The creation date time of the image version. + type: string + examples: + - '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + examples: + - None + required: + - version + - state + - size_gb + - created_on + - state_details actions-hosted-runner-curated-image: title: GitHub-hosted runner image details. description: Provides details of a hosted runner image @@ -81357,6 +81605,13 @@ components: enum: - open - closed + campaign-alert-type: + title: Campaign alert type + description: Indicates the alert type of a campaign + type: string + enum: + - code_scanning + - secret_scanning team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -85089,28 +85344,6 @@ components: - org_actors required: - value_type - custom-property-value: - title: Custom Property Value - description: Custom property name and associated value - type: object - properties: - property_name: - type: string - description: The name of the property - value: - oneOf: - - type: string - - type: array - items: - type: string - description: The value assigned to the property - type: - - 'null' - - string - - array - required: - - property_name - - value org-repo-custom-property-values: title: Organization Repository Custom Property Values description: List of custom property values for a repository @@ -86946,6 +87179,424 @@ components: state: type: object description: The state of the ruleset version + secret-scanning-alert-state: + description: Sets the state of the secret scanning alert. You must provide `resolution` + when you set the state to `resolved`. + type: string + enum: + - open + - resolved + secret-scanning-alert-resolution: + type: + - string + - 'null' + description: "**Required when the `state` is `resolved`.** The reason for resolving + the alert." + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + - + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + organization-secret-scanning-alert: + type: object + properties: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: + type: + - string + - 'null' + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypassed_at: + type: + - string + - 'null' + format: date-time + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypass_request_reviewer_comment: + type: + - string + - 'null' + description: An optional comment when reviewing a push protection bypass. + push_protection_bypass_request_comment: + type: + - string + - 'null' + description: An optional comment when requesting a push protection bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert is base64 + encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" secret-scanning-row-version: type: - string @@ -101269,19 +101920,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -212583,181 +213234,6 @@ components: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} - organization-secret-scanning-alert-list: - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false enterprise-teams-items: value: - id: 1 @@ -212810,6 +213286,34 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false + organization-simple: + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + organization-simple-items: + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization public-events-items: value: - id: '22249084947' @@ -214185,20 +214689,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 @@ -214271,6 +214761,23 @@ components: teams_url: https://api.github.com/repos/octocat/example-repo/teams trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + custom-property-values: + value: + - property_name: environment + value: production + - property_name: service + value: web + - property_name: team + value: octocat + create-or-update-custom-properties-values: + value: + properties: + - property_name: environment + value: production + - property_name: service + value: web + - property_name: team + value: octocat billing-premium-request-usage-report-org: value: timePeriod: @@ -214452,6 +214959,34 @@ components: prefix: 20.80.208.150 length: 31 last_active_on: '2022-10-09T23:39:01Z' + actions-hosted-runner-custom-image-versions: + value: + total_count: 2 + image_versions: + - version: 1.1.0 + size_gb: 75 + state: Ready + created_on: '2024-11-09T23:39:01Z' + - version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + actions-hosted-runner-custom-image: + value: + id: 1 + platform: linux-x64 + name: CustomImage + source: custom + versions_count: 4 + total_versions_size: 200 + latest_version: 1.3.0 + state: Ready + actions-hosted-runner-custom-image-version: + value: + version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' actions-hosted-runner-curated-image: value: id: ubuntu-20.04 @@ -215296,6 +215831,12 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 + list-attestation-repositories: + value: + - id: 123 + name: foo + - id: 456 + name: bar list-attestations: value: attestations: @@ -219518,6 +220059,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 @@ -229287,23 +230003,6 @@ components: site_admin: false created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' - custom-property-values: - value: - - property_name: environment - value: production - - property_name: service - value: web - - property_name: team - value: octocat - create-or-update-custom-properties-values: - value: - properties: - - property_name: environment - value: production - - property_name: service - value: web - - property_name: team - value: octocat pull-request: value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -237798,109 +238497,6 @@ components: - updated - epss_percentage default: created - pagination-first: - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - pagination-last: - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - secret-scanning-alert-state: - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - secret-scanning-alert-secret-type: - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default secret - patterns are returned. To return generic patterns, pass the token name(s) - in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - secret-scanning-alert-resolution: - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - secret-scanning-alert-sort: - name: sort - description: The property to sort the results by. `created` means when the alert - was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - secret-scanning-alert-validity: - name: validity - in: query - description: A comma-separated list of validities that, when present, will return - alerts that match the validities in this list. Valid options are `active`, - `inactive`, and `unknown`. - required: false - schema: - type: string - secret-scanning-alert-publicly-leaked: - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts by - the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-multi-repo: - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts by - the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-hide-secret: - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false enterprise-team: name: enterprise-team description: The slug version of the enterprise team name. You can also substitute @@ -237916,6 +238512,13 @@ components: required: true schema: type: string + org: + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string team-slug: name: team_slug description: The slug of the team name. @@ -238037,13 +238640,6 @@ components: required: false schema: type: integer - org: - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string billing-usage-report-year: name: year description: If specified, only return results for a single year. The value @@ -238110,6 +238706,21 @@ components: required: false schema: type: integer + actions-custom-image-definition-id: + name: image_definition_id + description: Image definition ID of custom image + in: path + required: true + schema: + type: integer + actions-custom-image-version: + name: version + description: Version of a custom image + in: path + required: true + schema: + type: string + pattern: "^\\d+\\.\\d+\\.\\d+$" hosted-runner-id: name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. @@ -238622,6 +239233,48 @@ components: required: true schema: type: integer + secret-scanning-alert-state: + name: state + in: query + description: Set to `open` or `resolved` to only list secret scanning alerts + in a specific state. + required: false + schema: + type: string + enum: + - open + - resolved + secret-scanning-alert-secret-type: + name: secret_type + in: query + description: A comma-separated list of secret types to return. All default secret + patterns are returned. To return generic patterns, pass the token name(s) + in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + for a complete list of secret types. + required: false + schema: + type: string + secret-scanning-alert-resolution: + name: resolution + in: query + description: A comma-separated list of resolutions. Only secret scanning alerts + with one of these resolutions are listed. Valid resolutions are `false_positive`, + `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. + required: false + schema: + type: string + secret-scanning-alert-sort: + name: sort + description: The property to sort the results by. `created` means when the alert + was created. `updated` means when the alert was updated or resolved. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created secret-scanning-pagination-before-org-repo: name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). @@ -238640,6 +239293,42 @@ components: required: false schema: type: string + secret-scanning-alert-validity: + name: validity + in: query + description: A comma-separated list of validities that, when present, will return + alerts that match the validities in this list. Valid options are `active`, + `inactive`, and `unknown`. + required: false + schema: + type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-hide-secret: + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false network-configuration-id: name: network_configuration_id description: Unique identifier of the hosted compute network configuration. diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 1d752c43e..0ef5494f9 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -3212,12 +3216,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3263,98 +3261,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-state" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-sort" - }, - { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-validity" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/organization-secret-scanning-alert" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -3456,6 +3362,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -3857,6 +3773,336 @@ } } }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "delete": { + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, "/enterprises/{enterprise}/teams/{team_slug}": { "get": { "summary": "Get an enterprise team", @@ -3958,6 +4204,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -7303,10 +7559,125 @@ } } }, + "/organizations/{org}/org-properties/values": { + "get": { + "summary": "Get all custom property values for an organization", + "description": "Gets all custom property values that are set for an organization.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `read:org` scope\n- Actors with the organization-level \"read custom properties for an organization\" fine-grained permission or above", + "tags": [ + "orgs" + ], + "operationId": "orgs/custom-properties-for-orgs-get-organization-values", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/custom-property-value" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/custom-property-values" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "custom-properties-for-orgs" + } + }, + "patch": { + "summary": "Create or update custom property values for an organization", + "description": "Create new or update existing custom property values for an organization.\nTo remove a custom property value from an organization, set the property value to `null`.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `admin:org` scope\n- Actors with the organization-level \"edit custom properties for an organization\" fine-grained permission", + "tags": [ + "orgs" + ], + "operationId": "orgs/custom-properties-for-orgs-create-or-update-organization-values", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "properties": { + "type": "array", + "description": "A list of custom property names and associated values to apply to the organization.", + "items": { + "$ref": "#/components/schemas/custom-property-value" + } + } + }, + "required": [ + "properties" + ] + }, + "examples": { + "default": { + "$ref": "#/components/examples/create-or-update-custom-properties-values" + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content when custom property values are successfully created or updated" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "$ref": "#/components/responses/validation_failed" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "custom-properties-for-orgs" + } + } + }, "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -7958,6 +8329,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -7976,6 +8354,11 @@ "enable_static_ip": { "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -8028,17 +8411,17 @@ } } }, - "/orgs/{org}/actions/hosted-runners/images/github-owned": { + "/orgs/{org}/actions/hosted-runners/images/custom": { "get": { - "summary": "Get GitHub-owned images for GitHub-hosted runners in an organization", - "description": "Get the list of GitHub-owned images available for GitHub-hosted runners for an organization.", - "operationId": "actions/get-hosted-runners-github-owned-images-for-org", + "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#get-github-owned-images-for-github-hosted-runners-in-an-organization" + "url": "https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization" }, "parameters": [ { @@ -8063,14 +8446,14 @@ "images": { "type": "array", "items": { - "$ref": "#/components/schemas/actions-hosted-runner-curated-image" + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" } } } }, "examples": { "default": { - "$ref": "#/components/examples/actions-hosted-runner-curated-image" + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" } } } @@ -8085,17 +8468,292 @@ } } }, - "/orgs/{org}/actions/hosted-runners/images/partner": { + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": { "get": { - "summary": "Get partner images for GitHub-hosted runners in an organization", - "description": "Get the list of partner images available for GitHub-hosted runners for an organization.", - "operationId": "actions/get-hosted-runners-partner-images-for-org", + "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-partner-images-for-github-hosted-runners-in-an-organization" + "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", + "description": "Get the list of GitHub-owned images available for GitHub-hosted runners for an organization.", + "operationId": "actions/get-hosted-runners-github-owned-images-for-org", + "tags": [ + "actions" + ], + "externalDocs": { + "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": [ + { + "$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-curated-image" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-hosted-runner-curated-image" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/partner": { + "get": { + "summary": "Get partner images for GitHub-hosted runners in an organization", + "description": "Get the list of partner images available for GitHub-hosted runners for an organization.", + "operationId": "actions/get-hosted-runners-partner-images-for-org", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization" }, "parameters": [ { @@ -8394,6 +9052,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -12816,6 +13481,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", @@ -13289,7 +14025,10 @@ }, "code_scanning_alerts": { "description": "The code scanning alerts to include in this campaign", - "type": "array", + "type": [ + "array", + "null" + ], "minItems": 1, "items": { "type": "object", @@ -13323,8 +14062,19 @@ "required": [ "name", "description", - "ends_at", - "code_scanning_alerts" + "ends_at" + ], + "oneOf": [ + { + "required": [ + "code_scanning_alerts" + ] + }, + { + "required": [ + "secret_scanning_alerts" + ] + } ] }, "examples": { @@ -16474,12 +17224,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -23109,17 +23853,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } }, @@ -23297,17 +24045,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -44473,16 +45225,6 @@ { "$ref": "#/components/parameters/direction" }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -44498,12 +45240,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61643,7 +62379,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -75284,17 +76020,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -75463,17 +76203,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -76022,7 +76766,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" ], @@ -102393,6 +103137,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -102590,6 +103342,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -105754,661 +106515,188 @@ ], "additionalProperties": false }, - "secret-scanning-alert-state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "secret-scanning-alert-resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "enterprise-team": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", "type": "object", "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + "id": { + "type": "integer", + "format": "int64" }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + "name": { + "type": "string" }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] + "description": { + "type": "string" }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" + "slug": { + "type": "string" }, - "commit_sha": { + "url": { "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] + "format": "uri" }, - "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": { + "sync_to_organizations": { "type": "string", - "description": "The file path of the wiki page", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ - "/example/Home.md" + "disabled | all" ] }, - "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": { + "organization_selection_type": { "type": "string", - "description": "SHA-1 hash ID of the associated blob", "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" + "disabled | selected | all" ] }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", + "group_id": { + "type": [ + "string", + "null" + ], "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + "62ab9291-fae2-468e-974b-7e45096d5021" ] }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + "Justice League" ] }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { + "html_url": { "type": "string", "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" + "https://github.com/enterprises/dc/teams/justice-league" ] - } - }, - "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": { + }, + "members_url": { + "type": "string" + }, + "created_at": { "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { + "format": "date-time" + }, + "updated_at": { "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] + "format": "date-time" } }, "required": [ - "discussion_comment_url" + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" ] }, - "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.", + "organization-simple": { + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "pull_request_title_url": { + "login": { "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + "github" ] - } - }, - "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.", + }, + "id": { + "type": "integer", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + 1 ] - } - }, - "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": { + }, + "node_id": { "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + "MDEyOk9yZ2FuaXphdGlvbjE=" ] - } - }, - "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": { + }, + "url": { "type": "string", "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + "https://api.github.com/orgs/github" ] - } - }, - "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": { + }, + "repos_url": { "type": "string", "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "secret-scanning-first-detected-location": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ] - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } + "https://api.github.com/orgs/github/repos" ] }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { + "events_url": { "type": "string", "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "examples": [ + "https://api.github.com/orgs/github/events" ] }, - "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": { + "hooks_url": { "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "examples": [ + "https://api.github.com/orgs/github/hooks" ] }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { + "issues_url": { "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } + "examples": [ + "https://api.github.com/orgs/github/issues" ] - } - } - }, - "enterprise-team": { - "title": "Enterprise Team", - "description": "Group of enterprise owners and/or members", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "slug": { - "type": "string" }, - "url": { - "type": "string", - "format": "uri" - }, - "sync_to_organizations": { + "members_url": { "type": "string", - "description": "Retired: this field will not be returned with GHEC enterprise teams.", "examples": [ - "disabled | all" + "https://api.github.com/orgs/github/members{/member}" ] }, - "organization_selection_type": { + "public_members_url": { "type": "string", "examples": [ - "disabled | selected | all" + "https://api.github.com/orgs/github/public_members{/member}" ] }, - "group_id": { - "type": [ - "string", - "null" - ], + "avatar_url": { + "type": "string", "examples": [ - "62ab9291-fae2-468e-974b-7e45096d5021" + "https://github.com/images/error/octocat_happy.gif" ] }, - "group_name": { + "description": { "type": [ "string", "null" ], - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "Justice League" - ] - }, - "html_url": { - "type": "string", - "format": "uri", "examples": [ - "https://github.com/enterprises/dc/teams/justice-league" + "A great organization" ] - }, - "members_url": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" } }, "required": [ - "id", + "login", "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", "members_url", - "name", - "html_url", - "slug", - "created_at", - "updated_at", - "group_id" + "public_members_url", + "avatar_url", + "description" ] }, "actor": { @@ -110613,105 +110901,6 @@ "subscribed" ] }, - "organization-simple": { - "title": "Organization Simple", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "login": { - "type": "string", - "examples": [ - "github" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEyOk9yZ2FuaXphdGlvbjE=" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/repos" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/events" - ] - }, - "hooks_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/hooks" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/issues" - ] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/members{/member}" - ] - }, - "public_members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/public_members{/member}" - ] - }, - "avatar_url": { - "type": "string", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "A great organization" - ] - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, "dependabot-repository-access-details": { "title": "Dependabot Repository Access Details", "description": "Information about repositories that Dependabot is able to access in an organization", @@ -110748,6 +110937,40 @@ }, "additionalProperties": false }, + "custom-property-value": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + }, "billing-premium-request-usage-report-org": { "type": "object", "properties": { @@ -110813,7 +111036,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -110821,7 +111044,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -110829,7 +111052,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -111522,6 +111745,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -111692,6 +111922,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -111704,6 +111938,128 @@ "platform" ] }, + "actions-hosted-runner-custom-image": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "actions-hosted-runner-custom-image-version": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + }, "actions-hosted-runner-curated-image": { "title": "GitHub-hosted runner image details.", "description": "Provides details of a hosted runner image", @@ -112449,6 +112805,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -117390,40 +117755,6 @@ "value_type" ] }, - "custom-property-value": { - "title": "Custom Property Value", - "description": "Custom property name and associated value", - "type": "object", - "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" - }, - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "The value assigned to the property", - "type": [ - "null", - "string", - "array" - ] - } - }, - "required": [ - "property_name", - "value" - ] - }, "org-repo-custom-property-values": { "title": "Organization Repository Custom Property Values", "description": "List of custom property values for a repository", @@ -119923,6 +120254,578 @@ } ] }, + "secret-scanning-alert-state": { + "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", + "type": "string", + "enum": [ + "open", + "resolved" + ] + }, + "secret-scanning-alert-resolution": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ] + }, + "organization-secret-scanning-alert": { + "type": "object", + "properties": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/alert-updated-at" + } + ] + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when reviewing a push protection bypass." + }, + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment that was optionally added when this alert was closed" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." + }, + "is_base64_encoded": { + "type": [ + "boolean", + "null" + ], + "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + } + } + }, "secret-scanning-row-version": { "type": [ "string", @@ -140006,7 +140909,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -140014,7 +140917,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -140022,7 +140925,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -288819,192 +289722,6 @@ } ] }, - "organization-secret-scanning-alert-list": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, "enterprise-teams-items": { "value": [ { @@ -289067,6 +289784,40 @@ "site_admin": false } }, + "organization-simple": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + }, + "organization-simple-items": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + }, "public-events-items": { "value": [ { @@ -290587,24 +291338,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", @@ -290683,6 +291416,40 @@ ] } }, + "custom-property-values": { + "value": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + }, + "create-or-update-custom-properties-values": { + "value": { + "properties": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + } + }, "billing-premium-request-usage-report-org": { "value": { "timePeriod": { @@ -290908,6 +291675,45 @@ "last_active_on": "2022-10-09T23:39:01Z" } }, + "actions-hosted-runner-custom-image-versions": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + }, + "actions-hosted-runner-custom-image": { + "value": { + "id": 1, + "platform": "linux-x64", + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" + } + }, + "actions-hosted-runner-custom-image-version": { + "value": { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + }, "actions-hosted-runner-curated-image": { "value": { "id": "ubuntu-20.04", @@ -291971,6 +292777,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -296857,6 +297675,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", @@ -308305,40 +309309,6 @@ } ] }, - "custom-property-values": { - "value": [ - { - "property_name": "environment", - "value": "production" - }, - { - "property_name": "service", - "value": "web" - }, - { - "property_name": "team", - "value": "octocat" - } - ] - }, - "create-or-update-custom-properties-values": { - "value": { - "properties": [ - { - "property_name": "environment", - "value": "production" - }, - { - "property_name": "service", - "value": "web" - }, - { - "property_name": "team", - "value": "octocat" - } - ] - } - }, "pull-request": { "value": { "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", @@ -318019,113 +318989,6 @@ "default": "created" } }, - "pagination-first": { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - "pagination-last": { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, - "secret-scanning-alert-state": { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - "secret-scanning-alert-secret-type": { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-resolution": { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-sort": { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - "secret-scanning-alert-validity": { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-publicly-leaked": { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-multi-repo": { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-hide-secret": { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, "enterprise-team": { "name": "enterprise-team", "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", @@ -318144,6 +319007,15 @@ "type": "string" } }, + "org": { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "team-slug": { "name": "team_slug", "description": "The slug of the team name.", @@ -318288,15 +319160,6 @@ "type": "integer" } }, - "org": { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "billing-usage-report-year": { "name": "year", "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", @@ -318369,6 +319232,25 @@ "type": "integer" } }, + "actions-custom-image-definition-id": { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + "actions-custom-image-version": { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + }, "hosted-runner-id": { "name": "hosted_runner_id", "description": "Unique identifier of the GitHub-hosted runner.", @@ -318966,6 +319848,51 @@ "type": "integer" } }, + "secret-scanning-alert-state": { + "name": "state", + "in": "query", + "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "resolved" + ] + } + }, + "secret-scanning-alert-secret-type": { + "name": "secret_type", + "in": "query", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-resolution": { + "name": "resolution", + "in": "query", + "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-sort": { + "name": "sort", + "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, "secret-scanning-pagination-before-org-repo": { "name": "before", "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", @@ -318984,6 +319911,45 @@ "type": "string" } }, + "secret-scanning-alert-validity": { + "name": "validity", + "in": "query", + "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-publicly-leaked": { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-multi-repo": { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-hide-secret": { + "name": "hide_secret", + "in": "query", + "description": "A boolean value representing whether or not to hide literal secrets in the results.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, "network-configuration-id": { "name": "network_configuration_id", "description": "Unique identifier of the hosted compute network configuration.", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 5a3328d6f..88f6cc877 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -2302,8 +2304,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -2331,61 +2331,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - - "$ref": "#/components/parameters/secret-scanning-alert-state" - - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - - "$ref": "#/components/parameters/secret-scanning-alert-sort" - - "$ref": "#/components/parameters/direction" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/pagination-before" - - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/secret-scanning-alert-validity" - - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/organization-secret-scanning-alert" - examples: - default: - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - headers: - Link: - "$ref": "#/components/headers/link" - '404': - "$ref": "#/components/responses/not_found" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -2459,6 +2404,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -2706,6 +2663,209 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -2781,6 +2941,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -5136,12 +5308,107 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/org-properties/values": + get: + summary: Get all custom property values for an organization + description: |- + Gets all custom property values that are set for an organization. + + The organization must belong to an enterprise. + + Access requirements: + - Organization admins + - OAuth tokens and personal access tokens (classic) with the `read:org` scope + - Actors with the organization-level "read custom properties for an organization" fine-grained permission or above + tags: + - orgs + operationId: orgs/custom-properties-for-orgs-get-organization-values + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/custom-property-value" + examples: + default: + "$ref": "#/components/examples/custom-property-values" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: custom-properties-for-orgs + patch: + summary: Create or update custom property values for an organization + description: |- + Create new or update existing custom property values for an organization. + To remove a custom property value from an organization, set the property value to `null`. + + The organization must belong to an enterprise. + + Access requirements: + - Organization admins + - OAuth tokens and personal access tokens (classic) with the `admin:org` scope + - Actors with the organization-level "edit custom properties for an organization" fine-grained permission + tags: + - orgs + operationId: orgs/custom-properties-for-orgs-create-or-update-organization-values + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + properties: + type: array + description: A list of custom property names and associated values + to apply to the organization. + items: + "$ref": "#/components/schemas/custom-property-value" + required: + - properties + examples: + default: + "$ref": "#/components/examples/create-or-update-custom-properties-values" + responses: + '204': + description: No Content when custom property values are successfully created + or updated + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/validation_failed" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: custom-properties-for-orgs "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -5701,6 +5968,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -5718,6 +5991,11 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -5749,6 +6027,197 @@ paths: githubCloudOnly: false category: actions subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an organization + description: |- + List custom images for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get a custom image definition for GitHub Actions Hosted Runners + description: |- + Get a custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete a custom image from the organization + description: |- + Delete a custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": + get: + summary: List image versions of a custom image for an organization + description: |- + List image versions of a custom image for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-image-versions-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization + parameters: + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image-versions" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of a custom image for GitHub Actions Hosted Runners + description: |- + Get an image version of a custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + - "$ref": "#/components/parameters/actions-custom-image-version" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-hosted-runner-custom-image-version" + examples: + default: + "$ref": "#/components/examples/actions-hosted-runner-custom-image-version" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete an image version of custom image from the organization + description: |- + Delete an image version of custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-version-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/actions-custom-image-definition-id" + - "$ref": "#/components/parameters/actions-custom-image-version" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners "/orgs/{org}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an organization @@ -6005,6 +6474,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -9221,6 +9696,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 @@ -9563,7 +10085,9 @@ paths: format: uri code_scanning_alerts: description: The code scanning alerts to include in this campaign - type: array + type: + - array + - 'null' minItems: 1 items: type: object @@ -9590,7 +10114,11 @@ paths: - name - description - ends_at - - code_scanning_alerts + oneOf: + - required: + - code_scanning_alerts + - required: + - secret_scanning_alerts examples: default: value: @@ -11974,8 +12502,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -16692,17 +17218,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -16814,17 +17342,19 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/item-id" - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -32333,14 +32863,6 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -32351,8 +32873,6 @@ paths: default: 30 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" responses: '200': description: Response @@ -44635,6 +45155,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -54458,17 +54981,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54576,17 +55101,19 @@ paths: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/item-id" - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -54950,7 +55477,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 @@ -73832,6 +74362,13 @@ components: GitHub Actions workflow files. enum: - write + custom_properties_for_organizations: + type: string + description: The level of permission to grant the access token to view and + edit custom properties for an organization, when allowed by the property. + enum: + - read + - write members: type: string description: The level of permission to grant the access token for organization @@ -74008,6 +74545,14 @@ components: enum: - read - write + enterprise_custom_properties_for_organizations: + type: string + description: The level of permission to grant the access token for organization + custom properties management at the enterprise level. + enum: + - read + - write + - admin example: contents: read issues: read @@ -76466,424 +77011,6 @@ components: - fixed_at - repository additionalProperties: false - secret-scanning-alert-state: - description: Sets the state of the secret scanning alert. You must provide `resolution` - when you set the state to `resolved`. - type: string - enum: - - open - - resolved - secret-scanning-alert-resolution: - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The reason for resolving - the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - secret-scanning-first-detected-location: - description: 'Details on the location where the token was initially detected. - This can be a commit, wiki commit, issue, discussion, pull request. - - ' - oneOf: - - "$ref": "#/components/schemas/secret-scanning-location-commit" - - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - organization-secret-scanning-alert: - type: object - properties: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert is base64 - encoded - first_location_detected: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - has_more_locations: - type: boolean - description: A boolean value representing whether or not the token in the - alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -76948,6 +77075,77 @@ components: - created_at - updated_at - group_id + organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description actor: title: Actor description: Actor @@ -79957,239 +80155,190 @@ components: - reason - url - subscribed - organization-simple: - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description - dependabot-repository-access-details: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able to access - in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-repository" - additionalProperties: false - billing-premium-request-usage-report-org: - type: object - properties: - timePeriod: - type: object - properties: - year: - type: integer - description: The year for the usage report. - month: - type: integer - description: The month for the usage report. - day: - type: integer - description: The day for the usage report. - required: - - year - organization: - type: string - description: The unique identifier of the organization. - user: - type: string - description: The name of the user for the usage report. - product: - type: string - description: The product for the usage report. - model: - type: string - description: The model for the usage report. - usageItems: - type: array - items: - type: object - properties: - product: - type: string - description: Product name. - sku: - type: string - description: SKU name. - model: - type: string - description: Model name. - unitType: - type: string - description: Unit type of the usage line item. - pricePerUnit: - type: number - description: Price per unit of the usage line item. - grossQuantity: - type: integer - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: integer - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: integer - description: Net quantity of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - required: - - product - - sku - - model - - unitType - - pricePerUnit - - grossQuantity - - grossAmount - - discountQuantity - - discountAmount - - netQuantity - - netAmount - required: - - timePeriod - - organization - - usageItems - billing-usage-report: - type: object - properties: - usageItems: - type: array - items: - type: object - properties: - date: - type: string - description: Date of the usage line item. - product: - type: string - description: Product name. - sku: - type: string - description: SKU name. - quantity: - type: integer - description: Quantity of the usage line item. - unitType: - type: string - description: Unit type of the usage line item. - pricePerUnit: - type: number - description: Price per unit of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - organizationName: - type: string - description: Name of the organization. - repositoryName: - type: string - description: Name of the repository. - required: - - date - - product - - sku - - quantity - - unitType - - pricePerUnit - - grossAmount - - discountAmount - - netAmount - - organizationName - organization-full: - title: Organization Full - description: Organization Full + dependabot-repository-access-details: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able to access + in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-repository" + additionalProperties: false + custom-property-value: + title: Custom Property Value + description: Custom property name and associated value + type: object + properties: + property_name: + type: string + description: The name of the property + value: + oneOf: + - type: string + - type: array + items: + type: string + description: The value assigned to the property + type: + - 'null' + - string + - array + required: + - property_name + - value + billing-premium-request-usage-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: number + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: number + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: number + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + billing-usage-report: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + organizationName: + type: string + description: Name of the organization. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount + - organizationName + organization-full: + title: Organization Full + description: Organization Full type: object properties: login: @@ -80647,6 +80796,11 @@ components: - github - partner - custom + version: + description: The image version of the hosted runner pool. + type: string + examples: + - latest required: - id - size_gb @@ -80771,6 +80925,9 @@ components: format: date-time examples: - '2022-10-09T23:39:01Z' + image_gen: + type: boolean + description: Whether custom image generation is enabled for the hosted runners. required: - id - name @@ -80779,6 +80936,97 @@ components: - status - public_ip_enabled - platform + actions-hosted-runner-custom-image: + title: GitHub-hosted runner custom image details + description: Provides details of a custom runner image + type: object + properties: + id: + description: The ID of the image. Use this ID for the `image` parameter + when creating a new larger runner. + type: integer + examples: + - 1 + platform: + description: The operating system of the image. + type: string + examples: + - linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + examples: + - 200 + name: + description: Display name for this image. + type: string + examples: + - CustomImage + source: + description: The image provider. + type: string + examples: + - custom + versions_count: + description: The number of image versions associated with the image. + type: integer + examples: + - 4 + latest_version: + description: The latest image version associated with the image. + type: string + examples: + - 1.3.0 + state: + description: The number of image versions associated with the image. + type: string + examples: + - Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + actions-hosted-runner-custom-image-version: + title: GitHub-hosted runner custom image version details. + description: Provides details of a hosted runner custom image version + type: object + properties: + version: + description: The version of image. + type: string + examples: + - 1.0.0 + state: + description: The state of image version. + type: string + examples: + - Ready + size_gb: + description: Image version size in GB. + type: integer + examples: + - 30 + created_on: + description: The creation date time of the image version. + type: string + examples: + - '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + examples: + - None + required: + - version + - state + - size_gb + - created_on + - state_details actions-hosted-runner-curated-image: title: GitHub-hosted runner image details. description: Provides details of a hosted runner image @@ -81357,6 +81605,13 @@ components: enum: - open - closed + campaign-alert-type: + title: Campaign alert type + description: Indicates the alert type of a campaign + type: string + enum: + - code_scanning + - secret_scanning team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -85089,28 +85344,6 @@ components: - org_actors required: - value_type - custom-property-value: - title: Custom Property Value - description: Custom property name and associated value - type: object - properties: - property_name: - type: string - description: The name of the property - value: - oneOf: - - type: string - - type: array - items: - type: string - description: The value assigned to the property - type: - - 'null' - - string - - array - required: - - property_name - - value org-repo-custom-property-values: title: Organization Repository Custom Property Values description: List of custom property values for a repository @@ -86946,6 +87179,424 @@ components: state: type: object description: The state of the ruleset version + secret-scanning-alert-state: + description: Sets the state of the secret scanning alert. You must provide `resolution` + when you set the state to `resolved`. + type: string + enum: + - open + - resolved + secret-scanning-alert-resolution: + type: + - string + - 'null' + description: "**Required when the `state` is `resolved`.** The reason for resolving + the alert." + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + - + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + organization-secret-scanning-alert: + type: object + properties: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: + type: + - string + - 'null' + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypassed_at: + type: + - string + - 'null' + format: date-time + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypass_request_reviewer_comment: + type: + - string + - 'null' + description: An optional comment when reviewing a push protection bypass. + push_protection_bypass_request_comment: + type: + - string + - 'null' + description: An optional comment when requesting a push protection bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert is base64 + encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" secret-scanning-row-version: type: - string @@ -101269,19 +101920,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -212583,181 +213234,6 @@ components: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} - organization-secret-scanning-alert-list: - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false enterprise-teams-items: value: - id: 1 @@ -212810,6 +213286,34 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false + organization-simple: + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + organization-simple-items: + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization public-events-items: value: - id: '22249084947' @@ -214185,20 +214689,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 @@ -214271,6 +214761,23 @@ components: teams_url: https://api.github.com/repos/octocat/example-repo/teams trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + custom-property-values: + value: + - property_name: environment + value: production + - property_name: service + value: web + - property_name: team + value: octocat + create-or-update-custom-properties-values: + value: + properties: + - property_name: environment + value: production + - property_name: service + value: web + - property_name: team + value: octocat billing-premium-request-usage-report-org: value: timePeriod: @@ -214452,6 +214959,34 @@ components: prefix: 20.80.208.150 length: 31 last_active_on: '2022-10-09T23:39:01Z' + actions-hosted-runner-custom-image-versions: + value: + total_count: 2 + image_versions: + - version: 1.1.0 + size_gb: 75 + state: Ready + created_on: '2024-11-09T23:39:01Z' + - version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + actions-hosted-runner-custom-image: + value: + id: 1 + platform: linux-x64 + name: CustomImage + source: custom + versions_count: 4 + total_versions_size: 200 + latest_version: 1.3.0 + state: Ready + actions-hosted-runner-custom-image-version: + value: + version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' actions-hosted-runner-curated-image: value: id: ubuntu-20.04 @@ -215296,6 +215831,12 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 + list-attestation-repositories: + value: + - id: 123 + name: foo + - id: 456 + name: bar list-attestations: value: attestations: @@ -219518,6 +220059,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 @@ -229287,23 +230003,6 @@ components: site_admin: false created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' - custom-property-values: - value: - - property_name: environment - value: production - - property_name: service - value: web - - property_name: team - value: octocat - create-or-update-custom-properties-values: - value: - properties: - - property_name: environment - value: production - - property_name: service - value: web - - property_name: team - value: octocat pull-request: value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 @@ -237798,109 +238497,6 @@ components: - updated - epss_percentage default: created - pagination-first: - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - pagination-last: - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - secret-scanning-alert-state: - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - secret-scanning-alert-secret-type: - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default secret - patterns are returned. To return generic patterns, pass the token name(s) - in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - secret-scanning-alert-resolution: - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - secret-scanning-alert-sort: - name: sort - description: The property to sort the results by. `created` means when the alert - was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - secret-scanning-alert-validity: - name: validity - in: query - description: A comma-separated list of validities that, when present, will return - alerts that match the validities in this list. Valid options are `active`, - `inactive`, and `unknown`. - required: false - schema: - type: string - secret-scanning-alert-publicly-leaked: - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts by - the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-multi-repo: - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts by - the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-hide-secret: - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false enterprise-team: name: enterprise-team description: The slug version of the enterprise team name. You can also substitute @@ -237916,6 +238512,13 @@ components: required: true schema: type: string + org: + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string team-slug: name: team_slug description: The slug of the team name. @@ -238037,13 +238640,6 @@ components: required: false schema: type: integer - org: - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string billing-usage-report-year: name: year description: If specified, only return results for a single year. The value @@ -238110,6 +238706,21 @@ components: required: false schema: type: integer + actions-custom-image-definition-id: + name: image_definition_id + description: Image definition ID of custom image + in: path + required: true + schema: + type: integer + actions-custom-image-version: + name: version + description: Version of a custom image + in: path + required: true + schema: + type: string + pattern: "^\\d+\\.\\d+\\.\\d+$" hosted-runner-id: name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. @@ -238622,6 +239233,48 @@ components: required: true schema: type: integer + secret-scanning-alert-state: + name: state + in: query + description: Set to `open` or `resolved` to only list secret scanning alerts + in a specific state. + required: false + schema: + type: string + enum: + - open + - resolved + secret-scanning-alert-secret-type: + name: secret_type + in: query + description: A comma-separated list of secret types to return. All default secret + patterns are returned. To return generic patterns, pass the token name(s) + in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + for a complete list of secret types. + required: false + schema: + type: string + secret-scanning-alert-resolution: + name: resolution + in: query + description: A comma-separated list of resolutions. Only secret scanning alerts + with one of these resolutions are listed. Valid resolutions are `false_positive`, + `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. + required: false + schema: + type: string + secret-scanning-alert-sort: + name: sort + description: The property to sort the results by. `created` means when the alert + was created. `updated` means when the alert was updated or resolved. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created secret-scanning-pagination-before-org-repo: name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). @@ -238640,6 +239293,42 @@ components: required: false schema: type: string + secret-scanning-alert-validity: + name: validity + in: query + description: A comma-separated list of validities that, when present, will return + alerts that match the validities in this list. Valid options are `active`, + `inactive`, and `unknown`. + required: false + schema: + type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-hide-secret: + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false network-configuration-id: name: network_configuration_id description: Unique identifier of the hosted compute network configuration. diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 4fd58eb26..2a440794f 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -5607,6 +5611,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -5804,6 +5816,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -6698,6 +6719,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -6895,6 +6924,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -7562,6 +7600,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -7759,6 +7805,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -7991,6 +8046,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -8188,6 +8251,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -10278,6 +10350,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -10475,6 +10555,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -11401,6 +11490,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -11598,6 +11695,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -12388,6 +12494,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -12585,6 +12699,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -13078,6 +13201,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -13275,6 +13406,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -22616,29 +22756,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -24471,2163 +24588,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - } - ] - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "html_url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { - "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" - ] - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ] - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -26874,6 +24834,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -28424,6 +26394,876 @@ } } }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "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", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "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" + } + } + }, "/enterprises/{enterprise}/teams/{team_slug}": { "get": { "summary": "Get an enterprise team", @@ -28670,6 +27510,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -76361,10 +75211,391 @@ } } }, + "/organizations/{org}/org-properties/values": { + "get": { + "summary": "Get all custom property values for an organization", + "description": "Gets all custom property values that are set for an organization.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `read:org` scope\n- Actors with the organization-level \"read custom properties for an organization\" fine-grained permission or above", + "tags": [ + "orgs" + ], + "operationId": "orgs/custom-properties-for-orgs-get-organization-values", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-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": "array", + "items": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + } + } + } + } + }, + "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": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "custom-properties-for-orgs" + } + }, + "patch": { + "summary": "Create or update custom property values for an organization", + "description": "Create new or update existing custom property values for an organization.\nTo remove a custom property value from an organization, set the property value to `null`.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `admin:org` scope\n- Actors with the organization-level \"edit custom properties for an organization\" fine-grained permission", + "tags": [ + "orgs" + ], + "operationId": "orgs/custom-properties-for-orgs-create-or-update-organization-values", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "properties": { + "type": "array", + "description": "A list of custom property names and associated values to apply to the organization.", + "items": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + } + } + }, + "required": [ + "properties" + ] + }, + "examples": { + "default": { + "value": { + "properties": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content when custom property values are successfully created or updated" + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "custom-properties-for-orgs" + } + } + }, "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -76508,7 +75739,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -76516,7 +75747,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -76524,7 +75755,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -79074,6 +78305,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -79204,6 +78442,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -79344,6 +78586,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -79362,6 +78611,11 @@ "enable_static_ip": { "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -79459,6 +78713,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -79589,6 +78850,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -79644,6 +78909,639 @@ } } }, + "/orgs/{org}/actions/hosted-runners/images/custom": { + "get": { + "summary": "List custom images for an organization", + "description": "List custom images for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-images-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get a custom image definition for GitHub Actions Hosted Runners", + "description": "Get a custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "platform": "linux-x64", + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a custom image from the organization", + "description": "Delete a custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { + "get": { + "summary": "List image versions of a custom image for an organization", + "description": "List image versions of a custom image for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-image-versions-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization" + }, + "parameters": [ + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "image_versions" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "image_versions": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { + "get": { + "summary": "Get an image version of a custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of a custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-version-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + }, + "examples": { + "default": { + "value": { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete an image version of custom image from the organization", + "description": "Delete an image version of custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, "/orgs/{org}/actions/hosted-runners/images/github-owned": { "get": { "summary": "Get GitHub-owned images for GitHub-hosted runners in an organization", @@ -80238,6 +80136,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -80368,6 +80273,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -80483,6 +80392,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -80569,6 +80485,309 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] + } + }, + "required": [ + "id", + "size_gb", + "display_name", + "source" + ] + } + ] + }, + "machine_size_details": { + "title": "Github-owned VM details.", + "description": "Provides details of a particular machine spec.", + "type": "object", + "properties": { + "id": { + "description": "The ID used for the `size` parameter when creating a new runner.", + "type": "string", + "examples": [ + "8-core" + ] + }, + "cpu_cores": { + "description": "The number of cores.", + "type": "integer", + "examples": [ + 8 + ] + }, + "memory_gb": { + "description": "The available RAM for the machine spec.", + "type": "integer", + "examples": [ + 32 + ] + }, + "storage_gb": { + "description": "The available SSD storage for the machine spec.", + "type": "integer", + "examples": [ + 300 + ] + } + }, + "required": [ + "id", + "cpu_cores", + "memory_gb", + "storage_gb" + ] + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "enum": [ + "Ready", + "Provisioning", + "Shutdown", + "Deleting", + "Stuck" + ], + "examples": [ + "Ready" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "maximum_runners": { + "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", + "type": "integer", + "default": 10, + "examples": [ + 5 + ] + }, + "public_ip_enabled": { + "description": "Whether public IP is enabled for the hosted runners.", + "type": "boolean", + "examples": [ + true + ] + }, + "public_ips": { + "description": "The public IP ranges when public IP is enabled for the hosted runners.", + "type": "array", + "items": { + "title": "Public IP for a GitHub-hosted larger runners.", + "description": "Provides details of Public IP for a GitHub-hosted larger runners", + "type": "object", + "properties": { + "enabled": { + "description": "Whether public IP is enabled.", + "type": "boolean", + "examples": [ + true + ] + }, + "prefix": { + "description": "The prefix for the public IP.", + "type": "string", + "examples": [ + "20.80.208.150" + ] + }, + "length": { + "description": "The length of the IP prefix.", + "type": "integer", + "examples": [ + 28 + ] + } + } + } + }, + "last_active_on": { + "description": "The time at which the runner was last used, in ISO 8601 format.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2022-10-09T23:39:01Z" + ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." + } + }, + "required": [ + "id", + "name", + "image_details", + "machine_size_details", + "status", + "public_ip_enabled", + "platform" + ] + }, + "examples": { + "default": { + "value": { + "id": 5, + "name": "My hosted ubuntu runner", + "runner_group_id": 2, + "platform": "linux-x64", + "image": { + "id": "ubuntu-20.04", + "size": 86 + }, + "machine_size_details": { + "id": "4-core", + "cpu_cores": 4, + "memory_gb": 16, + "storage_gb": 150 + }, + "status": "Ready", + "maximum_runners": 10, + "public_ip_enabled": true, + "public_ips": [ + { + "enabled": true, + "prefix": "20.80.208.150", + "length": 31 + } + ], + "last_active_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a GitHub-hosted runner for an organization", + "description": "Deletes a GitHub-hosted runner for an organization.", + "operationId": "actions/delete-hosted-runner-for-org", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "hosted_runner_id", + "description": "Unique identifier of the GitHub-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "202": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted hosted runner", + "description": "A Github-hosted hosted runner.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the hosted runner.", + "type": "integer", + "examples": [ + 5 + ] + }, + "name": { + "description": "The name of the hosted runner.", + "type": "string", + "examples": [ + "my-github-hosted-runner" + ] + }, + "runner_group_id": { + "description": "The unique identifier of the group that the hosted runner belongs to.", + "type": "integer", + "examples": [ + 2 + ] + }, + "image_details": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub-hosted runner image details.", + "description": "Provides details of a hosted runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "string", + "examples": [ + "ubuntu-20.04" + ] + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "examples": [ + 86 + ] + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + 20.04 + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "enum": [ + "github", + "partner", + "custom" + ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -80699,291 +80918,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] - } - }, - "required": [ - "id", - "name", - "image_details", - "machine_size_details", - "status", - "public_ip_enabled", - "platform" - ] - }, - "examples": { - "default": { - "value": { - "id": 5, - "name": "My hosted ubuntu runner", - "runner_group_id": 2, - "platform": "linux-x64", - "image": { - "id": "ubuntu-20.04", - "size": 86 - }, - "machine_size_details": { - "id": "4-core", - "cpu_cores": 4, - "memory_gb": 16, - "storage_gb": 150 - }, - "status": "Ready", - "maximum_runners": 10, - "public_ip_enabled": true, - "public_ips": [ - { - "enabled": true, - "prefix": "20.80.208.150", - "length": 31 - } - ], - "last_active_on": "2022-10-09T23:39:01Z" - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "githubCloudOnly": false, - "category": "actions", - "subcategory": "hosted-runners" - } - }, - "delete": { - "summary": "Delete a GitHub-hosted runner for an organization", - "description": "Deletes a GitHub-hosted runner for an organization.", - "operationId": "actions/delete-hosted-runner-for-org", - "tags": [ - "actions" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "hosted_runner_id", - "description": "Unique identifier of the GitHub-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "202": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "GitHub-hosted hosted runner", - "description": "A Github-hosted hosted runner.", - "type": "object", - "properties": { - "id": { - "description": "The unique identifier of the hosted runner.", - "type": "integer", - "examples": [ - 5 - ] }, - "name": { - "description": "The name of the hosted runner.", - "type": "string", - "examples": [ - "my-github-hosted-runner" - ] - }, - "runner_group_id": { - "description": "The unique identifier of the group that the hosted runner belongs to.", - "type": "integer", - "examples": [ - 2 - ] - }, - "image_details": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "GitHub-hosted runner image details.", - "description": "Provides details of a hosted runner image", - "type": "object", - "properties": { - "id": { - "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", - "type": "string", - "examples": [ - "ubuntu-20.04" - ] - }, - "size_gb": { - "description": "Image size in GB.", - "type": "integer", - "examples": [ - 86 - ] - }, - "display_name": { - "description": "Display name for this image.", - "type": "string", - "examples": [ - 20.04 - ] - }, - "source": { - "description": "The image provider.", - "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] - } - }, - "required": [ - "id", - "size_gb", - "display_name", - "source" - ] - } - ] - }, - "machine_size_details": { - "title": "Github-owned VM details.", - "description": "Provides details of a particular machine spec.", - "type": "object", - "properties": { - "id": { - "description": "The ID used for the `size` parameter when creating a new runner.", - "type": "string", - "examples": [ - "8-core" - ] - }, - "cpu_cores": { - "description": "The number of cores.", - "type": "integer", - "examples": [ - 8 - ] - }, - "memory_gb": { - "description": "The available RAM for the machine spec.", - "type": "integer", - "examples": [ - 32 - ] - }, - "storage_gb": { - "description": "The available SSD storage for the machine spec.", - "type": "integer", - "examples": [ - 300 - ] - } - }, - "required": [ - "id", - "cpu_cores", - "memory_gb", - "storage_gb" - ] - }, - "status": { - "description": "The status of the runner.", - "type": "string", - "enum": [ - "Ready", - "Provisioning", - "Shutdown", - "Deleting", - "Stuck" - ], - "examples": [ - "Ready" - ] - }, - "platform": { - "description": "The operating system of the image.", - "type": "string", - "examples": [ - "linux-x64" - ] - }, - "maximum_runners": { - "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", - "type": "integer", - "default": 10, - "examples": [ - 5 - ] - }, - "public_ip_enabled": { - "description": "Whether public IP is enabled for the hosted runners.", + "image_gen": { "type": "boolean", - "examples": [ - true - ] - }, - "public_ips": { - "description": "The public IP ranges when public IP is enabled for the hosted runners.", - "type": "array", - "items": { - "title": "Public IP for a GitHub-hosted larger runners.", - "description": "Provides details of Public IP for a GitHub-hosted larger runners", - "type": "object", - "properties": { - "enabled": { - "description": "Whether public IP is enabled.", - "type": "boolean", - "examples": [ - true - ] - }, - "prefix": { - "description": "The prefix for the public IP.", - "type": "string", - "examples": [ - "20.80.208.150" - ] - }, - "length": { - "description": "The length of the IP prefix.", - "type": "integer", - "examples": [ - 28 - ] - } - } - } - }, - "last_active_on": { - "description": "The time at which the runner was last used, in ISO 8601 format.", - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2022-10-09T23:39:01Z" - ] + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -86971,6 +86909,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -87101,6 +87046,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -97158,6 +97107,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", @@ -98836,7 +98889,10 @@ }, "code_scanning_alerts": { "description": "The code scanning alerts to include in this campaign", - "type": "array", + "type": [ + "array", + "null" + ], "minItems": 1, "items": { "type": "object", @@ -98870,8 +98926,19 @@ "required": [ "name", "description", - "ends_at", - "code_scanning_alerts" + "ends_at" + ], + "oneOf": [ + { + "required": [ + "code_scanning_alerts" + ] + }, + { + "required": [ + "secret_scanning_alerts" + ] + } ] }, "examples": { @@ -115170,29 +115237,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).\"", @@ -135763,6 +135807,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -135960,6 +136012,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -136869,6 +136930,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -137066,6 +137135,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -171836,17 +171914,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } }, @@ -180822,17 +180904,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -353327,16 +353413,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -353364,29 +353440,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": { @@ -395615,6 +395668,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -395812,6 +395873,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -577049,7 +577119,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" ], @@ -658103,6 +658173,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -658300,6 +658378,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -731001,6 +731088,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -731198,6 +731293,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -739040,17 +739144,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -747999,17 +748107,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -776666,7 +776778,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -776797,7 +776909,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -776805,7 +776917,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -776813,7 +776925,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -946024,6 +946136,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -946221,6 +946341,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -949090,6 +949219,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -949287,6 +949424,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -952061,6 +952207,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -952258,6 +952412,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -955032,6 +955195,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -955229,6 +955400,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -958137,6 +958317,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -958334,6 +958522,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -961249,6 +961446,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -961446,6 +961651,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -966356,6 +966570,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -966553,6 +966775,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 0aad05175..f1d93bcbd 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -905,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &292 + type: &287 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1040,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &106 + schema: &105 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &605 + - &610 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1656,7 +1658,7 @@ paths: schema: type: integer default: 30 - - &177 + - &183 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1672,7 +1674,7 @@ paths: application/json: schema: type: array - items: &178 + items: &184 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1768,7 +1770,7 @@ paths: - installation_id - repository_id examples: - default: &179 + default: &185 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1831,7 +1833,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &105 + schema: &104 title: Validation Error description: Validation Error type: object @@ -1903,7 +1905,7 @@ paths: description: Response content: application/json: - schema: &180 + schema: &186 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2038,7 +2040,7 @@ paths: - request - response examples: - default: &181 + default: &187 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2242,7 +2244,7 @@ paths: parameters: - *17 - *19 - - &75 + - &72 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2495,6 +2497,14 @@ paths: token to update GitHub Actions workflow files. enum: - write + custom_properties_for_organizations: + type: string + description: The level of permission to grant the access + token to view and edit custom properties for an organization, + when allowed by the property. + enum: + - read + - write members: type: string description: The level of permission to grant the access @@ -2675,6 +2685,15 @@ paths: enum: - read - write + enterprise_custom_properties_for_organizations: + type: string + description: The level of permission to grant the access + token for organization custom properties management at + the enterprise level. + enum: + - read + - write + - admin example: contents: read issues: read @@ -2792,7 +2811,7 @@ paths: suspended_at: suspended_by: headers: - Link: &57 + Link: &52 example: ; rel="next", ; rel="last" schema: @@ -2982,7 +3001,7 @@ paths: - selected repositories: type: array - items: &66 + items: &64 title: Repository description: A repository on GitHub. type: object @@ -3009,7 +3028,7 @@ paths: license: anyOf: - type: 'null' - - &71 + - &69 title: License Simple description: License Simple type: object @@ -5387,7 +5406,7 @@ paths: responses: '202': *37 '422': *7 - '500': &100 + '500': &98 description: Internal Error content: application/json: @@ -7717,7 +7736,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &152 + code_scanning_options: &161 type: - object - 'null' @@ -7915,7 +7934,7 @@ paths: description: Response content: application/json: - schema: &154 + schema: &163 type: array description: A list of default code security configurations items: @@ -7931,7 +7950,7 @@ paths: default configuration: *41 examples: - default: &155 + default: &164 value: - default_for_new_repos: public configuration: @@ -8262,7 +8281,7 @@ paths: - *40 - *43 responses: - '204': &156 + '204': &165 description: A header with no content is returned. '400': *14 '403': *27 @@ -8389,7 +8408,7 @@ paths: default: value: default_for_new_repos: all - configuration: &153 + configuration: &162 value: id: 1325 target_type: organization @@ -8474,7 +8493,7 @@ paths: application/json: schema: type: array - items: &157 + items: &166 type: object description: Repositories associated with a code security configuration and attachment status @@ -8819,7 +8838,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &158 + repository: &167 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8913,7 +8932,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &162 + - &170 name: state in: query description: |- @@ -8922,7 +8941,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &163 + - &171 name: severity in: query description: |- @@ -8931,7 +8950,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &164 + - &172 name: ecosystem in: query description: |- @@ -8940,14 +8959,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &165 + - &173 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &166 + - &174 name: epss_percentage in: query description: |- @@ -8959,7 +8978,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &458 + - &453 name: has in: query description: |- @@ -8973,7 +8992,7 @@ paths: type: string enum: - patch - - &167 + - &175 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8983,7 +9002,7 @@ paths: enum: - development - runtime - - &168 + - &176 name: sort in: query description: |- @@ -9001,31 +9020,6 @@ paths: - *46 - *38 - *39 - - &169 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &170 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -9034,11 +9028,11 @@ paths: application/json: schema: type: array - items: &171 + items: &177 type: object description: A Dependabot alert. properties: - number: &52 + number: &151 type: integer description: The security alert number. readOnly: true @@ -9104,7 +9098,7 @@ paths: - direct - transitive - - security_advisory: &459 + security_advisory: &454 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9311,29 +9305,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &55 + url: &154 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &56 + html_url: &155 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &53 + created_at: &152 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &54 + updated_at: &153 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &148 + dismissed_at: &157 type: - string - 'null' @@ -9364,7 +9358,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &147 + fixed_at: &156 type: - string - 'null' @@ -9372,7 +9366,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &460 + auto_dismissed_at: &455 type: - string - 'null' @@ -9399,7 +9393,7 @@ paths: - repository additionalProperties: false examples: - default: &172 + default: &178 value: - number: 2 state: dismissed @@ -9727,740 +9721,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - *40 - - &280 - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - - &281 - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default - secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - - &282 - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - - &283 - name: sort - description: The property to sort the results by. `created` means when the - alert was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - - *46 - - *17 - - *38 - - *39 - - &284 - name: validity - in: query - description: A comma-separated list of validities that, when present, will - return alerts that match the validities in this list. Valid options are - `active`, `inactive`, and `unknown`. - required: false - schema: - type: string - - &285 - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts - by the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - - &286 - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts - by the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - - &287 - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &288 - type: object - properties: - number: *52 - created_at: *53 - updated_at: - anyOf: - - type: 'null' - - *54 - url: *55 - html_url: *56 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &583 - description: Sets the state of the secret scanning alert. You - must provide `resolution` when you set the state to `resolved`. - type: string - enum: - - open - - resolved - resolution: &584 - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - *4 - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: *51 - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected - secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - *4 - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - *4 - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection - bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection - bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this - alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert - is base64 encoded - first_location_detected: - anyOf: - - type: 'null' - - &585 - description: 'Details on the location where the token was - initially detected. This can be a commit, wiki commit, issue, - discussion, pull request. - - ' - oneOf: - - &587 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT - ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob - resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - &588 - description: Represents a 'wiki_commit' secret scanning - location type. This location type shows that a secret - was detected inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit - ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - &589 - description: Represents an 'issue_title' secret scanning - location type. This location type shows that a secret - was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &590 - description: Represents an 'issue_body' secret scanning - location type. This location type shows that a secret - was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &591 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &592 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &593 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &594 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &595 - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &596 - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &597 - description: Represents a 'pull_request_comment' secret - scanning location type. This location type shows that - a secret was detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &598 - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret - was detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &599 - description: Represents a 'pull_request_review_comment' - secret scanning location type. This location type shows - that a secret was detected in a review comment on a pull - request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - has_more_locations: - type: boolean - description: A boolean value representing whether or not the - token in the alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - *4 - examples: - default: &289 - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - headers: - Link: *57 - '404': *6 - '503': &73 - description: Service unavailable - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10482,7 +9742,7 @@ paths: application/json: schema: type: array - items: &58 + items: &53 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10547,7 +9807,7 @@ paths: - updated_at - group_id examples: - default: &59 + default: &54 value: - id: 1 name: Justice League @@ -10560,7 +9820,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10604,6 +9864,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10623,9 +9895,9 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10643,7 +9915,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &60 + - &55 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10662,7 +9934,7 @@ paths: type: array items: *4 examples: - default: &61 + default: &56 value: - login: octocat id: 1 @@ -10683,7 +9955,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10701,7 +9973,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10732,7 +10004,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10750,7 +10022,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10781,7 +10053,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10799,8 +10071,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *60 - - &62 + - *55 + - &57 name: username description: The handle for the GitHub user account. in: path @@ -10814,7 +10086,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &63 + exampleKey1: &58 value: login: octocat id: 1 @@ -10850,8 +10122,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '201': description: Successfully added team member @@ -10859,7 +10131,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *63 + exampleKey1: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10877,8 +10149,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '204': description: Response @@ -10888,6 +10160,303 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *40 + - *55 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: &59 + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + examples: + default: &60 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *59 + examples: + default: &96 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *40 + - *55 + - &61 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *59 + examples: + default: *60 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *59 + examples: + default: *60 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -10903,7 +10472,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &64 + - &62 name: team_slug description: The slug of the team name. in: path @@ -10915,11 +10484,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10937,7 +10506,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *64 + - *62 requestBody: required: true content: @@ -10965,6 +10534,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10983,11 +10564,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -11008,7 +10589,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *64 + - *62 responses: '204': description: Response @@ -11046,7 +10627,7 @@ paths: application/json: schema: type: array - items: &94 + items: &91 title: Event description: Event type: object @@ -11057,7 +10638,7 @@ paths: type: - string - 'null' - actor: &65 + actor: &63 title: Actor description: Actor type: object @@ -11098,7 +10679,7 @@ paths: - id - name - url - org: *65 + org: *63 payload: oneOf: - title: CreateEvent @@ -11145,7 +10726,7 @@ paths: properties: action: type: string - discussion: &699 + discussion: &703 title: Discussion description: A Discussion in a repository. type: object @@ -11442,7 +11023,7 @@ paths: - id labels: type: array - items: &67 + items: &65 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11525,7 +11106,7 @@ paths: properties: action: type: string - issue: &68 + issue: &66 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11648,7 +11229,7 @@ paths: milestone: anyOf: - type: 'null' - - &238 + - &244 title: Milestone description: A collection of related issues and pull requests. @@ -11820,7 +11401,7 @@ paths: timeline_url: type: string format: uri - type: &199 + type: &205 title: Issue Type description: The type of issue. type: @@ -11874,12 +11455,12 @@ paths: - node_id - name - description - repository: *66 + repository: *64 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &69 + author_association: &67 title: author_association type: string description: How the author is associated with the @@ -11895,7 +11476,7 @@ paths: - OWNER examples: - OWNER - reactions: &70 + reactions: &68 title: Reaction Rollup type: object properties: @@ -11931,7 +11512,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &617 + sub_issues_summary: &622 title: Sub-issues Summary type: object properties: @@ -11952,7 +11533,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &618 + issue_dependencies_summary: &623 title: Issue Dependencies Summary type: object properties: @@ -11971,7 +11552,7 @@ paths: - total_blocking issue_field_values: type: array - items: &619 + items: &624 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12071,10 +11652,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - issue @@ -12083,8 +11664,8 @@ paths: properties: action: type: string - issue: *68 - comment: &506 + issue: *66 + comment: &501 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12134,12 +11715,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - id - node_id @@ -12318,7 +11899,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 allow_forking: type: boolean is_template: @@ -12409,7 +11990,7 @@ paths: type: string number: type: integer - pull_request: &72 + pull_request: &70 title: Pull Request Minimal type: object properties: @@ -12480,10 +12061,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - number @@ -12493,7 +12074,7 @@ paths: properties: action: type: string - pull_request: *72 + pull_request: *70 comment: type: object properties: @@ -12747,7 +12328,7 @@ paths: - pull_request updated_at: type: string - pull_request: *72 + pull_request: *70 required: - action - review @@ -12796,7 +12377,7 @@ paths: updated_at: type: string format: date-time - reactions: *70 + reactions: *68 required: - action - comment @@ -12807,7 +12388,7 @@ paths: type: string release: allOf: - - &558 + - &555 title: Release description: A release. type: object @@ -12889,7 +12470,7 @@ paths: author: *4 assets: type: array - items: &559 + items: &556 title: Release Asset description: Data related to a release. type: object @@ -12964,7 +12545,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *70 + reactions: *68 required: - assets_url - upload_url @@ -13057,7 +12638,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *73 + '503': &99 + description: Service unavailable + content: + application/json: + schema: + type: object + properties: + code: + type: string + message: + type: string + documentation_url: + type: string x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -13147,7 +12740,7 @@ paths: _links: type: object properties: - timeline: &74 + timeline: &71 title: Link With Type description: Hypermedia Link with Type type: object @@ -13159,17 +12752,17 @@ paths: required: - href - type - user: *74 - security_advisories: *74 - current_user: *74 - current_user_public: *74 - current_user_actor: *74 - current_user_organization: *74 + user: *71 + security_advisories: *71 + current_user: *71 + current_user_public: *71 + current_user_actor: *71 + current_user_organization: *71 current_user_organizations: type: array - items: *74 - repository_discussions: *74 - repository_discussions_category: *74 + items: *71 + repository_discussions: *71 + repository_discussions_category: *71 required: - timeline - user @@ -13231,7 +12824,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13241,7 +12834,7 @@ paths: application/json: schema: type: array - items: &76 + items: &73 title: Base Gist description: Base Gist type: object @@ -13338,7 +12931,7 @@ paths: - created_at - updated_at examples: - default: &77 + default: &74 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13383,7 +12976,7 @@ paths: site_admin: false truncated: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 x-github: @@ -13462,7 +13055,7 @@ paths: description: Response content: application/json: - schema: &78 + schema: &75 title: Gist Simple description: Gist Simple type: object @@ -13480,7 +13073,7 @@ paths: url: type: string format: uri - user: &631 + user: &636 title: Public User description: Public User type: object @@ -13854,7 +13447,7 @@ paths: truncated: type: boolean examples: - default: &79 + default: &76 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13958,7 +13551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13968,11 +13561,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -13992,7 +13585,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -14002,11 +13595,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '401': *23 '304': *35 '403': *27 @@ -14032,7 +13625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &80 + - &77 name: gist_id description: The unique identifier of the gist. in: path @@ -14044,10 +13637,10 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 - '403': &83 + default: *76 + '403': &80 description: Forbidden Gist content: application/json: @@ -14096,7 +13689,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *80 + - *77 requestBody: required: true content: @@ -14160,9 +13753,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - updateGist: *79 + updateGist: *76 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14320,7 +13913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14349,7 +13942,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14359,7 +13952,7 @@ paths: application/json: schema: type: array - items: &81 + items: &78 title: Gist Comment description: A comment made to a gist. type: object @@ -14397,7 +13990,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *69 + author_association: *67 required: - url - id @@ -14437,7 +14030,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -14462,7 +14055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *80 + - *77 requestBody: required: true content: @@ -14488,9 +14081,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: &82 + default: &79 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14548,8 +14141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *80 - - &84 + - *77 + - &81 name: comment_id description: The unique identifier of the comment. in: path @@ -14562,12 +14155,12 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '304': *35 '404': *6 - '403': *83 + '403': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14589,8 +14182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 requestBody: required: true content: @@ -14616,9 +14209,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '404': *6 x-github: githubCloudOnly: false @@ -14635,8 +14228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 responses: '204': description: Response @@ -14659,7 +14252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14760,7 +14353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14770,7 +14363,7 @@ paths: application/json: schema: type: array - items: *78 + items: *75 examples: default: value: @@ -14816,7 +14409,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 '304': *35 '403': *27 @@ -14835,13 +14428,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *80 + - *77 responses: '201': description: Response content: application/json: - schema: *76 + schema: *73 examples: default: value: @@ -14912,7 +14505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *80 + - *77 responses: '204': description: Response if gist is starred @@ -14942,7 +14535,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14964,7 +14557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14993,7 +14586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *80 + - *77 - name: sha in: path required: true @@ -15004,9 +14597,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 + default: *76 '422': *15 '404': *6 '403': *27 @@ -15167,7 +14760,7 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 repository_selection: type: string examples: @@ -15291,7 +14884,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '403': *27 '304': *35 '401': *23 @@ -15375,7 +14968,7 @@ paths: - closed - all default: open - - &202 + - &208 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15394,7 +14987,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - name: collab in: query required: false @@ -15424,9 +15017,9 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: &203 + default: &209 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15671,7 +15264,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '404': *6 @@ -15706,7 +15299,7 @@ paths: application/json: schema: type: array - items: *71 + items: *69 examples: default: value: @@ -16004,7 +15597,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &85 + X-CommonMarker-Version: &82 example: 0.17.4 schema: type: string @@ -16059,7 +15652,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *85 + X-CommonMarker-Version: *82 content: text/html: schema: @@ -16088,7 +15681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &88 + - &85 name: account_id description: account_id parameter in: path @@ -16100,7 +15693,7 @@ paths: description: Response content: application/json: - schema: &87 + schema: &84 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16134,7 +15727,7 @@ paths: - 'null' id: type: integer - plan: &86 + plan: &83 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16237,7 +15830,7 @@ paths: - 'null' updated_at: type: string - plan: *86 + plan: *83 required: - url - id @@ -16245,7 +15838,7 @@ paths: - login - marketplace_purchase examples: - default: &89 + default: &86 value: url: https://api.github.com/orgs/github type: Organization @@ -16330,9 +15923,9 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: &90 + default: &87 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16350,7 +15943,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '401': *23 x-github: @@ -16372,14 +15965,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &91 + - &88 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &92 + - &89 name: sort description: The property to sort the results by. in: query @@ -16409,9 +16002,9 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: &93 + default: &90 value: - url: https://api.github.com/orgs/github type: Organization @@ -16462,7 +16055,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '401': *23 @@ -16485,15 +16078,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *88 + - *85 responses: '200': description: Response content: application/json: - schema: *87 + schema: *84 examples: - default: *89 + default: *86 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16525,11 +16118,11 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: *90 + default: *87 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16550,8 +16143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *91 - - *92 + - *88 + - *89 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16571,11 +16164,11 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: *93 + default: *90 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16838,14 +16431,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &314 + - &309 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &315 + - &310 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16862,7 +16455,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -16907,7 +16500,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &323 + '301': &318 description: Moved permanently content: application/json: @@ -16929,7 +16522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &534 + - &529 name: all description: If `true`, show notifications marked as read. in: query @@ -16937,7 +16530,7 @@ paths: schema: type: boolean default: false - - &535 + - &530 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16946,8 +16539,8 @@ paths: schema: type: boolean default: false - - *75 - - &536 + - *72 + - &531 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16972,14 +16565,14 @@ paths: application/json: schema: type: array - items: &95 + items: &92 title: Thread description: Thread type: object properties: id: type: string - repository: &131 + repository: &135 title: Minimal Repository description: Minimal Repository type: object @@ -17318,7 +16911,7 @@ paths: type: boolean examples: - false - security_and_analysis: &250 + security_and_analysis: &255 type: - object - 'null' @@ -17483,7 +17076,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &532 value: - id: '1' repository: @@ -17565,7 +17158,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -17649,7 +17242,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &96 + - &93 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -17663,7 +17256,7 @@ paths: description: Response content: application/json: - schema: *95 + schema: *92 examples: default: value: @@ -17765,7 +17358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *96 + - *93 responses: '205': description: Reset Content @@ -17787,7 +17380,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *96 + - *93 responses: '204': description: No content @@ -17810,13 +17403,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *96 + - *93 responses: '200': description: Response content: application/json: - schema: &97 + schema: &94 title: Thread Subscription description: Thread Subscription type: object @@ -17860,7 +17453,7 @@ paths: - url - subscribed examples: - default: &98 + default: &95 value: subscribed: true ignored: false @@ -17891,7 +17484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *96 + - *93 requestBody: required: false content: @@ -17912,9 +17505,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *94 examples: - default: *98 + default: *95 '304': *35 '403': *27 '401': *23 @@ -17937,7 +17530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *96 + - *93 responses: '204': description: Response @@ -18032,92 +17625,9 @@ paths: application/json: schema: type: array - items: &160 - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description + items: *59 examples: - default: &647 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *96 headers: Link: example: ; rel="next" @@ -18144,13 +17654,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &99 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *61 - name: page in: query description: The page number of results to fetch. @@ -18301,7 +17805,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -18367,7 +17871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *99 + - *61 requestBody: required: true content: @@ -18401,12 +17905,134 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/org-properties/values": + get: + summary: Get all custom property values for an organization + description: |- + Gets all custom property values that are set for an organization. + + The organization must belong to an enterprise. + + Access requirements: + - Organization admins + - OAuth tokens and personal access tokens (classic) with the `read:org` scope + - Actors with the organization-level "read custom properties for an organization" fine-grained permission or above + tags: + - orgs + operationId: orgs/custom-properties-for-orgs-get-organization-values + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization + parameters: + - *61 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &97 + title: Custom Property Value + description: Custom property name and associated value + type: object + properties: + property_name: + type: string + description: The name of the property + value: + oneOf: + - type: string + - type: array + items: + type: string + description: The value assigned to the property + type: + - 'null' + - string + - array + required: + - property_name + - value + examples: + default: &538 + value: + - property_name: environment + value: production + - property_name: service + value: web + - property_name: team + value: octocat + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: custom-properties-for-orgs + patch: + summary: Create or update custom property values for an organization + description: |- + Create new or update existing custom property values for an organization. + To remove a custom property value from an organization, set the property value to `null`. + + The organization must belong to an enterprise. + + Access requirements: + - Organization admins + - OAuth tokens and personal access tokens (classic) with the `admin:org` scope + - Actors with the organization-level "edit custom properties for an organization" fine-grained permission + tags: + - orgs + operationId: orgs/custom-properties-for-orgs-create-or-update-organization-values + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization + parameters: + - *61 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + properties: + type: array + description: A list of custom property names and associated values + to apply to the organization. + items: *97 + required: + - properties + examples: + default: &539 + value: + properties: + - property_name: environment + value: production + - property_name: service + value: web + - property_name: team + value: octocat + responses: + '204': + description: No Content when custom property values are successfully created + or updated + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: custom-properties-for-orgs "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -18414,8 +18040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *99 - - &101 + - *61 + - &100 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18424,7 +18050,7 @@ paths: required: false schema: type: integer - - &673 + - &677 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -18433,7 +18059,7 @@ paths: required: false schema: type: integer - - &102 + - &101 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18448,14 +18074,14 @@ paths: required: false schema: type: string - - &674 + - &678 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &675 + - &679 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18517,19 +18143,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -18571,8 +18197,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18592,9 +18218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *99 - - *101 - - &678 + - *61 + - *100 + - &682 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18603,8 +18229,8 @@ paths: required: false schema: type: integer - - *102 - - &679 + - *101 + - &683 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18687,8 +18313,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18714,13 +18340,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &103 + schema: &102 title: Organization Full description: Organization Full type: object @@ -19115,7 +18741,7 @@ paths: - updated_at - archived_at examples: - default-response: &104 + default-response: &103 value: login: github id: 1 @@ -19215,7 +18841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *99 + - *61 requestBody: required: false content: @@ -19432,17 +19058,17 @@ paths: description: Response content: application/json: - schema: *103 + schema: *102 examples: - default: *104 + default: *103 '422': description: Validation failed content: application/json: schema: oneOf: + - *104 - *105 - - *106 '409': *45 x-github: githubCloudOnly: false @@ -19466,7 +19092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *99 + - *61 responses: '202': *37 '404': *6 @@ -19491,7 +19117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19517,7 +19143,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19538,7 +19164,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19556,7 +19182,7 @@ paths: type: integer repository_cache_usages: type: array - items: &328 + items: &323 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19594,7 +19220,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19614,7 +19240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19632,7 +19258,7 @@ paths: type: integer runners: type: array - items: &107 + items: &106 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19684,12 +19310,18 @@ paths: - github - partner - custom + version: + description: The image version of the hosted runner + pool. + type: string + examples: + - latest required: - id - size_gb - display_name - source - machine_size_details: &110 + machine_size_details: &114 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19785,6 +19417,10 @@ paths: format: date-time examples: - '2022-10-09T23:39:01Z' + image_gen: + type: boolean + description: Whether custom image generation is enabled + for the hosted runners. required: - id - name @@ -19794,7 +19430,7 @@ paths: - public_ip_enabled - platform examples: - default: &130 + default: &134 value: total_count: 2 runners: @@ -19836,7 +19472,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19854,7 +19490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -19883,6 +19519,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -19900,6 +19542,11 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -19921,9 +19568,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *106 examples: - default: &111 + default: &115 value: id: 5 name: My hosted ubuntu runner @@ -19950,6 +19597,320 @@ paths: githubCloudOnly: false category: actions subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an organization + description: |- + List custom images for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization + parameters: + - *61 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: &107 + title: GitHub-hosted runner custom image details + description: Provides details of a custom runner image + type: object + properties: + id: + description: The ID of the image. Use this ID for the `image` + parameter when creating a new larger runner. + type: integer + examples: + - 1 + platform: + description: The operating system of the image. + type: string + examples: + - linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + examples: + - 200 + name: + description: Display name for this image. + type: string + examples: + - CustomImage + source: + description: The image provider. + type: string + examples: + - custom + versions_count: + description: The number of image versions associated with + the image. + type: integer + examples: + - 4 + latest_version: + description: The latest image version associated with the + image. + type: string + examples: + - 1.3.0 + state: + description: The number of image versions associated with + the image. + type: string + examples: + - Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + examples: + default: &109 + value: + total_count: 2 + image_versions: + - version: 1.1.0 + size_gb: 75 + state: Ready + created_on: '2024-11-09T23:39:01Z' + - version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get a custom image definition for GitHub Actions Hosted Runners + description: |- + Get a custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners + parameters: + - *61 + - &108 + 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: *107 + examples: + default: + value: + id: 1 + platform: linux-x64 + name: CustomImage + source: custom + versions_count: 4 + total_versions_size: 200 + latest_version: 1.3.0 + state: Ready + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete a custom image from the organization + description: |- + Delete a custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization + parameters: + - *61 + - *108 + 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: + - *108 + - *61 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: &110 + title: GitHub-hosted runner custom image version details. + description: Provides details of a hosted runner custom image + version + type: object + properties: + version: + description: The version of image. + type: string + examples: + - 1.0.0 + state: + description: The state of image version. + type: string + examples: + - Ready + size_gb: + description: Image version size in GB. + type: integer + examples: + - 30 + created_on: + description: The creation date time of the image version. + type: string + examples: + - '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + examples: + - None + required: + - version + - state + - size_gb + - created_on + - state_details + examples: + default: *109 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of a custom image for GitHub Actions Hosted Runners + description: |- + Get an image version of a custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners + parameters: + - *61 + - *108 + - &111 + 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: *110 + examples: + default: + value: + version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete an image version of custom image from the organization + description: |- + Delete an image version of custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-version-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization + parameters: + - *61 + - *108 + - *111 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners "/orgs/{org}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an organization @@ -19962,7 +19923,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19978,7 +19939,7 @@ paths: type: integer images: type: array - items: &108 + items: &112 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20018,7 +19979,7 @@ paths: - display_name - source examples: - default: &109 + default: &113 value: id: ubuntu-20.04 platform: linux-x64 @@ -20042,7 +20003,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20058,9 +20019,9 @@ paths: type: integer images: type: array - items: *108 + items: *112 examples: - default: *109 + default: *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20077,7 +20038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20132,7 +20093,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20148,7 +20109,7 @@ paths: type: integer machine_specs: type: array - items: *110 + items: *114 examples: default: value: @@ -20173,7 +20134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20217,8 +20178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *99 - - &112 + - *61 + - &116 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20230,11 +20191,11 @@ paths: description: Response content: application/json: - schema: *107 + schema: *106 examples: - default: *111 + default: *115 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20252,8 +20213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *99 - - *112 + - *61 + - *116 requestBody: required: true content: @@ -20279,6 +20240,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -20291,9 +20258,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *106 examples: - default: *111 + default: *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20309,16 +20276,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *99 - - *112 + - *61 + - *116 responses: '202': description: Response content: application/json: - schema: *107 + schema: *106 examples: - default: *111 + default: *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20338,13 +20305,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *99 + - *61 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &113 + schema: &117 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20358,7 +20325,7 @@ paths: required: - include_claim_keys examples: - default: &114 + default: &118 value: include_claim_keys: - repo @@ -20380,20 +20347,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: *113 + schema: *117 examples: - default: *114 + default: *118 responses: '201': description: Empty response content: application/json: - schema: &140 + schema: &144 title: Empty Object description: An object without any properties. type: object @@ -20423,7 +20390,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20432,7 +20399,7 @@ paths: schema: type: object properties: - enabled_repositories: &115 + enabled_repositories: &119 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20445,7 +20412,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &116 + allowed_actions: &120 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20453,12 +20420,12 @@ paths: - all - local_only - selected - selected_actions_url: &334 + selected_actions_url: &329 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &117 + sha_pinning_required: &121 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20489,7 +20456,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -20500,9 +20467,9 @@ paths: schema: type: object properties: - enabled_repositories: *115 - allowed_actions: *116 - sha_pinning_required: *117 + enabled_repositories: *119 + allowed_actions: *120 + sha_pinning_required: *121 required: - enabled_repositories examples: @@ -20530,13 +20497,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &338 + schema: &333 type: object properties: days: @@ -20573,12 +20540,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &339 + schema: &334 type: object properties: days: @@ -20615,13 +20582,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &118 + schema: &122 type: object properties: approval_policy: @@ -20635,7 +20602,7 @@ paths: required: - approval_policy examples: - default: &340 + default: &335 value: approval_policy: first_time_contributors '404': *6 @@ -20656,7 +20623,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -20666,7 +20633,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *122 examples: default: summary: Set approval policy to first time contributors @@ -20688,13 +20655,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &341 + schema: &336 type: object required: - run_workflows_from_fork_pull_requests @@ -20720,7 +20687,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &119 + default: &123 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -20743,12 +20710,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &342 + schema: &337 type: object required: - run_workflows_from_fork_pull_requests @@ -20771,7 +20738,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *119 + default: *123 responses: '204': description: Empty response for successful settings update @@ -20801,7 +20768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -20819,9 +20786,9 @@ paths: type: number repositories: type: array - items: *66 + items: *64 examples: - default: &123 + default: &127 value: total_count: 1 repositories: @@ -20961,7 +20928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -21005,8 +20972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *99 - - &120 + - *61 + - &124 name: repository_id description: The unique identifier of the repository. in: path @@ -21034,8 +21001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *99 - - *120 + - *61 + - *124 responses: '204': description: Response @@ -21058,13 +21025,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &121 + schema: &125 type: object properties: github_owned_allowed: @@ -21086,7 +21053,7 @@ paths: items: type: string examples: - default: &122 + default: &126 value: github_owned_allowed: true verified_allowed: false @@ -21111,7 +21078,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -21119,9 +21086,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *125 examples: - selected_actions: *122 + selected_actions: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21141,7 +21108,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -21189,7 +21156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21236,7 +21203,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -21251,9 +21218,9 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *127 '403': *27 '404': *6 x-github: @@ -21273,7 +21240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21321,8 +21288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 - - *120 + - *61 + - *124 responses: '204': description: No content @@ -21348,8 +21315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 - - *120 + - *61 + - *124 responses: '204': description: No content @@ -21377,23 +21344,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &343 + schema: &338 type: object properties: - default_workflow_permissions: &124 + default_workflow_permissions: &128 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &125 + can_approve_pull_request_reviews: &129 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21401,7 +21368,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &126 + default: &130 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21426,7 +21393,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Success response @@ -21434,13 +21401,13 @@ paths: required: false content: application/json: - schema: &344 + schema: &339 type: object properties: - default_workflow_permissions: *124 - can_approve_pull_request_reviews: *125 + default_workflow_permissions: *128 + can_approve_pull_request_reviews: *129 examples: - default: *126 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21460,7 +21427,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *99 + - *61 - *17 - *19 - name: visible_to_repository @@ -21485,7 +21452,7 @@ paths: type: number runner_groups: type: array - items: &127 + items: &131 type: object properties: id: @@ -21602,7 +21569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21675,9 +21642,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *131 examples: - default: &129 + default: &133 value: id: 2 name: octo-runner-group @@ -21712,8 +21679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *99 - - &128 + - *61 + - &132 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -21725,7 +21692,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *131 examples: default: value: @@ -21761,8 +21728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *132 requestBody: required: true content: @@ -21818,9 +21785,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *131 examples: - default: *129 + default: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21839,8 +21806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *99 - - *128 + - *61 + - *132 responses: '204': description: Response @@ -21863,8 +21830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *132 - *17 - *19 responses: @@ -21882,11 +21849,11 @@ paths: type: number runners: type: array - items: *107 + items: *106 examples: - default: *130 + default: *134 headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21906,8 +21873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 + - *61 + - *132 - *19 - *17 responses: @@ -21925,9 +21892,9 @@ paths: type: number repositories: type: array - items: *131 + items: *135 examples: - default: &634 + default: &639 value: total_count: 1 repositories: @@ -22179,8 +22146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 + - *61 + - *132 requestBody: required: true content: @@ -22224,9 +22191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 - - *120 + - *61 + - *132 + - *124 responses: '204': description: Response @@ -22248,9 +22215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 - - *120 + - *61 + - *132 + - *124 responses: '204': description: Response @@ -22273,8 +22240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *132 - *17 - *19 responses: @@ -22292,7 +22259,7 @@ paths: type: number runners: type: array - items: &133 + items: &137 title: Self hosted runners description: A self hosted runner type: object @@ -22326,7 +22293,7 @@ paths: type: boolean labels: type: array - items: &136 + items: &140 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22356,7 +22323,7 @@ paths: - busy - labels examples: - default: &134 + default: &138 value: total_count: 2 runners: @@ -22396,7 +22363,7 @@ paths: name: no-gpu type: custom headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22415,8 +22382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *132 requestBody: required: true content: @@ -22460,9 +22427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *99 - - *128 - - &132 + - *61 + - *132 + - &136 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22490,9 +22457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 - *132 + - *136 responses: '204': description: Response @@ -22522,7 +22489,7 @@ paths: in: query schema: type: string - - *99 + - *61 - *17 - *19 responses: @@ -22540,11 +22507,11 @@ paths: type: integer runners: type: array - items: *133 + items: *137 examples: - default: *134 + default: *138 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22566,7 +22533,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -22574,7 +22541,7 @@ paths: application/json: schema: type: array - items: &345 + items: &340 title: Runner Application description: Runner Application type: object @@ -22599,7 +22566,7 @@ paths: - download_url - filename examples: - default: &346 + default: &341 value: - os: osx architecture: x64 @@ -22642,7 +22609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -22685,7 +22652,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &347 + '201': &342 description: Response content: application/json: @@ -22695,7 +22662,7 @@ paths: - runner - encoded_jit_config properties: - runner: *133 + runner: *137 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -22752,13 +22719,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *99 + - *61 responses: '201': description: Response content: application/json: - schema: &135 + schema: &139 title: Authentication Token description: Authentication Token type: object @@ -22782,7 +22749,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *66 + items: *64 single_file: type: - string @@ -22800,7 +22767,7 @@ paths: - token - expires_at examples: - default: &348 + default: &343 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22831,15 +22798,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *99 + - *61 responses: '201': description: Response content: application/json: - schema: *135 + schema: *139 examples: - default: &349 + default: &344 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22864,16 +22831,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *136 responses: '200': description: Response content: application/json: - schema: *133 + schema: *137 examples: - default: &350 + default: &345 value: id: 23 name: MBP @@ -22914,8 +22881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *99 - - *132 + - *61 + - *136 responses: '204': description: Response @@ -22941,10 +22908,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *136 responses: - '200': &137 + '200': &141 description: Response content: application/json: @@ -22958,7 +22925,7 @@ paths: type: integer labels: type: array - items: *136 + items: *140 examples: default: value: @@ -22997,8 +22964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *136 requestBody: required: true content: @@ -23022,7 +22989,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *141 '404': *6 '422': *7 x-github: @@ -23046,8 +23013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *136 requestBody: required: true content: @@ -23072,7 +23039,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *141 '404': *6 '422': *7 x-github: @@ -23096,10 +23063,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *136 responses: - '200': &351 + '200': &346 description: Response content: application/json: @@ -23113,7 +23080,7 @@ paths: type: integer labels: type: array - items: *136 + items: *140 examples: default: value: @@ -23154,9 +23121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 - - &352 + - *61 + - *136 + - &347 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23164,7 +23131,7 @@ paths: schema: type: string responses: - '200': *137 + '200': *141 '404': *6 '422': *7 x-github: @@ -23189,7 +23156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -23207,7 +23174,7 @@ paths: type: integer secrets: type: array - items: &138 + items: &142 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23259,7 +23226,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23282,13 +23249,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &364 + schema: &359 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23323,7 +23290,7 @@ paths: - key_id - key examples: - default: &365 + default: &360 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23348,8 +23315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *99 - - &139 + - *61 + - &143 name: secret_name description: The name of the secret. in: path @@ -23361,7 +23328,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *142 examples: default: value: @@ -23391,8 +23358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -23449,7 +23416,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -23475,8 +23442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 responses: '204': description: Response @@ -23502,8 +23469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - *19 - *17 responses: @@ -23521,9 +23488,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *135 examples: - default: &143 + default: &147 value: total_count: 1 repositories: @@ -23615,8 +23582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -23668,8 +23635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - name: repository_id in: path required: true @@ -23702,8 +23669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - name: repository_id in: path required: true @@ -23735,8 +23702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *99 - - &333 + - *61 + - &328 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -23760,7 +23727,7 @@ paths: type: integer variables: type: array - items: &141 + items: &145 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23829,7 +23796,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23850,7 +23817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *99 + - *61 requestBody: required: true content: @@ -23898,7 +23865,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -23923,8 +23890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *99 - - &142 + - *61 + - &146 name: name description: The name of the variable. in: path @@ -23936,7 +23903,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *145 examples: default: value: @@ -23966,8 +23933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *146 requestBody: required: true content: @@ -24029,8 +23996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *146 responses: '204': description: Response @@ -24056,8 +24023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *146 - *19 - *17 responses: @@ -24075,9 +24042,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *135 examples: - default: *143 + default: *147 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24103,8 +24070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *146 requestBody: required: true content: @@ -24153,8 +24120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *146 - name: repository_id in: path required: true @@ -24188,8 +24155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *146 - name: repository_id in: path required: true @@ -24220,7 +24187,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *99 + - *61 requestBody: required: true content: @@ -24362,7 +24329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *99 + - *61 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24448,7 +24415,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 requestBody: required: true content: @@ -24471,12 +24438,12 @@ paths: required: - subject_digests examples: - default: &662 + default: &666 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &663 + withPredicateType: &667 value: subject_digests: - sha256:abc123 @@ -24535,7 +24502,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &664 + default: &668 value: attestations_subject_digests: - sha256:abc: @@ -24644,7 +24611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *99 + - *61 requestBody: required: true content: @@ -24709,7 +24676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *99 + - *61 - name: subject_digest description: Subject Digest in: path @@ -24728,6 +24695,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *38 + - *39 + - *61 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -24740,7 +24758,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *99 + - *61 - name: attestation_id description: Attestation ID in: path @@ -24778,7 +24796,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24831,7 +24849,7 @@ paths: initiator: type: string examples: - default: &378 + default: &373 value: attestations: - bundle: @@ -24938,7 +24956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -24950,7 +24968,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24969,8 +24987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: If the user is blocked @@ -24995,8 +25013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -25016,8 +25034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -25042,7 +25060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *99 + - *61 - *19 - *17 - *46 @@ -25050,7 +25068,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &144 + schema: &148 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -25076,7 +25094,7 @@ paths: application/json: schema: type: array - items: &145 + items: &149 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -25107,7 +25125,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &161 + items: &169 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -25184,7 +25202,7 @@ paths: parent: anyOf: - type: 'null' - - &214 + - &220 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -25320,7 +25338,7 @@ paths: - string - 'null' format: date-time - state: *144 + state: *148 contact_link: description: The contact link of the campaign. type: @@ -25416,9 +25434,9 @@ paths: closed_at: state: open headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25442,7 +25460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -25489,7 +25507,9 @@ paths: format: uri code_scanning_alerts: description: The code scanning alerts to include in this campaign - type: array + type: + - array + - 'null' minItems: 1 items: type: object @@ -25516,7 +25536,11 @@ paths: - name - description - ends_at - - code_scanning_alerts + oneOf: + - required: + - code_scanning_alerts + - required: + - secret_scanning_alerts examples: default: value: @@ -25537,9 +25561,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *149 examples: - default: &146 + default: &150 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -25588,7 +25612,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25610,7 +25634,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25622,16 +25646,16 @@ paths: description: Response content: application/json: - schema: *145 + schema: *149 examples: - default: *146 + default: *150 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25652,7 +25676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25702,7 +25726,7 @@ paths: - string - 'null' format: uri - state: *144 + state: *148 examples: default: value: @@ -25712,9 +25736,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *149 examples: - default: *146 + default: *150 '400': description: Bad Request content: @@ -25726,7 +25750,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25747,7 +25771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25758,7 +25782,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25780,18 +25804,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *99 - - &402 + - *61 + - &397 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &149 + schema: &158 type: string description: The name of the tool used to generate the code scanning analysis. - - &403 + - &398 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -25799,7 +25823,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &150 + schema: &159 type: - string - 'null' @@ -25815,7 +25839,7 @@ paths: be returned. in: query required: false - schema: &405 + schema: &400 type: string description: State of a code scanning alert. enum: @@ -25838,7 +25862,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &401 type: string description: Severity of a code scanning alert. enum: @@ -25859,18 +25883,18 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: &407 + number: *151 + created_at: *152 + updated_at: *153 + url: *154 + html_url: *155 + instances_url: &402 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &151 + state: &160 type: - string - 'null' @@ -25880,13 +25904,13 @@ paths: - dismissed - fixed - - fixed_at: *147 + fixed_at: *156 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: &408 + dismissed_at: *157 + dismissed_reason: &403 type: - string - 'null' @@ -25897,14 +25921,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &409 + dismissed_comment: &404 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &410 + rule: &405 type: object properties: id: @@ -25965,26 +25989,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &411 + tool: &406 type: object properties: - name: *149 + name: *158 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *150 - most_recent_instance: &412 + guid: *159 + most_recent_instance: &407 type: object properties: - ref: &404 + ref: &399 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &422 + analysis_key: &417 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25995,13 +26019,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &423 + category: &418 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *151 + state: *160 commit_sha: type: string message: @@ -26294,9 +26318,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26318,7 +26342,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *99 + - *61 - name: target_type in: query description: The target type of the code security configuration @@ -26429,7 +26453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *99 + - *61 requestBody: required: true content: @@ -26507,7 +26531,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *152 + code_scanning_options: *161 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -26650,7 +26674,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *162 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26672,15 +26696,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *154 + schema: *163 examples: - default: *155 + default: *164 '304': *35 '403': *27 '404': *6 @@ -26706,7 +26730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *99 + - *61 requestBody: required: true content: @@ -26732,7 +26756,7 @@ paths: - 32 - 91 responses: - '204': *156 + '204': *165 '400': *14 '403': *27 '404': *6 @@ -26758,7 +26782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *99 + - *61 - *43 responses: '200': @@ -26767,7 +26791,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *162 '304': *35 '403': *27 '404': *6 @@ -26791,7 +26815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27048,10 +27072,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *99 + - *61 - *43 responses: - '204': *156 + '204': *165 '400': *14 '403': *27 '404': *6 @@ -27079,7 +27103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27143,7 +27167,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27189,7 +27213,7 @@ paths: default: value: default_for_new_repos: all - configuration: *153 + configuration: *162 '403': *27 '404': *6 x-github: @@ -27213,7 +27237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *99 + - *61 - *43 - name: per_page description: The number of results per page (max 100). For more information, @@ -27242,13 +27266,13 @@ paths: application/json: schema: type: array - items: *157 + items: *166 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *158 + repository: *167 '403': *27 '404': *6 x-github: @@ -27272,7 +27296,7 @@ paths: parameters: - *17 - *19 - - *99 + - *61 responses: '200': description: Response @@ -27288,7 +27312,7 @@ paths: type: integer codespaces: type: array - items: &204 + items: &210 type: object title: Codespace description: A codespace. @@ -27319,11 +27343,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *131 + repository: *135 machine: anyOf: - type: 'null' - - &435 + - &430 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -27610,7 +27634,7 @@ paths: - pulls_url - recent_folders examples: - default: &205 + default: &211 value: total_count: 3 codespaces: @@ -28020,7 +28044,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -28042,7 +28066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *99 + - *61 deprecated: true requestBody: required: true @@ -28086,7 +28110,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28109,7 +28133,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *99 + - *61 deprecated: true requestBody: required: true @@ -28141,7 +28165,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28164,7 +28188,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *99 + - *61 requestBody: required: true content: @@ -28195,7 +28219,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28216,7 +28240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -28234,7 +28258,7 @@ paths: type: integer secrets: type: array - items: &159 + items: &168 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -28275,7 +28299,7 @@ paths: - updated_at - visibility examples: - default: &436 + default: &431 value: total_count: 2 secrets: @@ -28288,7 +28312,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28307,13 +28331,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &437 + schema: &432 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28348,7 +28372,7 @@ paths: - key_id - key examples: - default: &438 + default: &433 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28371,23 +28395,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 responses: '200': description: Response content: application/json: - schema: *159 + schema: *168 examples: - default: &440 + default: &435 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28407,8 +28431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -28463,7 +28487,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -28489,8 +28513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 responses: '204': description: Response @@ -28515,8 +28539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - *19 - *17 responses: @@ -28534,9 +28558,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *135 examples: - default: *143 + default: *147 '404': *6 x-github: githubCloudOnly: false @@ -28558,8 +28582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -28609,8 +28633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - name: repository_id in: path required: true @@ -28643,8 +28667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - name: repository_id in: path required: true @@ -28683,7 +28707,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: OK @@ -28792,7 +28816,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -28824,7 +28848,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *99 + - *61 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -28847,7 +28871,7 @@ paths: currently being billed. seats: type: array - items: &207 + items: &213 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28860,13 +28884,13 @@ paths: organization: anyOf: - type: 'null' - - *160 + - *59 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *161 - - *58 + - *169 + - *53 type: - 'null' - object @@ -28996,8 +29020,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '500': *100 + Link: *52 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -29030,7 +29054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29072,7 +29096,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -29108,7 +29132,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29150,7 +29174,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -29188,7 +29212,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29229,7 +29253,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -29265,7 +29289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29307,7 +29331,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -29346,7 +29370,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *99 + - *61 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -29378,7 +29402,7 @@ paths: application/json: schema: type: array - items: &296 + items: &291 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29693,7 +29717,7 @@ paths: - date additionalProperties: true examples: - default: &297 + default: &292 value: - date: '2024-06-24' total_active_users: 24 @@ -29792,10 +29816,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *100 + '500': *98 '403': *27 '404': *6 - '422': &298 + '422': &293 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29822,12 +29846,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *99 - - *162 - - *163 - - *164 - - *165 - - *166 + - *61 + - *170 + - *171 + - *172 + - *173 + - *174 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -29865,13 +29889,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *167 - - *168 + - *175 + - *176 - *46 - *38 - *39 - - *169 - - *170 - *17 responses: '200': @@ -29880,9 +29902,9 @@ paths: application/json: schema: type: array - items: *171 + items: *177 examples: - default: *172 + default: *178 '304': *35 '400': *14 '403': *27 @@ -29908,7 +29930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -29926,7 +29948,7 @@ paths: type: integer secrets: type: array - items: &173 + items: &179 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29978,7 +30000,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29999,13 +30021,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &463 + schema: &458 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30024,7 +30046,7 @@ paths: - key_id - key examples: - default: &464 + default: &459 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30047,14 +30069,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 responses: '200': description: Response content: application/json: - schema: *173 + schema: *179 examples: default: value: @@ -30082,8 +30104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -30142,7 +30164,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -30166,8 +30188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 responses: '204': description: Response @@ -30191,8 +30213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - *19 - *17 responses: @@ -30210,9 +30232,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *135 examples: - default: *143 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30233,8 +30255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -30284,8 +30306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - name: repository_id in: path required: true @@ -30316,8 +30338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - name: repository_id in: path required: true @@ -30347,7 +30369,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -30355,7 +30377,7 @@ paths: application/json: schema: type: array - items: &216 + items: &222 title: Package description: A software package type: object @@ -30408,7 +30430,7 @@ paths: repository: anyOf: - type: 'null' - - *131 + - *135 created_at: type: string format: date-time @@ -30426,7 +30448,7 @@ paths: - created_at - updated_at examples: - default: &217 + default: &223 value: - id: 197 name: hello_docker @@ -30504,7 +30526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30514,7 +30536,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -30586,7 +30608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30596,7 +30618,7 @@ paths: application/json: schema: type: array - items: &196 + items: &202 title: Organization Invitation description: Organization Invitation type: object @@ -30650,7 +30672,7 @@ paths: - invitation_teams_url - node_id examples: - default: &197 + default: &203 value: - id: 1 login: monalisa @@ -30683,7 +30705,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30707,7 +30729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30717,7 +30739,7 @@ paths: application/json: schema: type: array - items: &174 + items: &180 title: Org Hook description: Org Hook type: object @@ -30817,7 +30839,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30840,7 +30862,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *99 + - *61 requestBody: required: true content: @@ -30902,9 +30924,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *180 examples: - default: &175 + default: &181 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30951,8 +30973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *99 - - &176 + - *61 + - &182 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -30965,9 +30987,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *180 examples: - default: *175 + default: *181 '404': *6 x-github: githubCloudOnly: false @@ -30994,8 +31016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *182 requestBody: required: false content: @@ -31041,7 +31063,7 @@ paths: description: Response content: application/json: - schema: *174 + schema: *180 examples: default: value: @@ -31082,8 +31104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *182 responses: '204': description: Response @@ -31110,8 +31132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *99 - - *176 + - *61 + - *182 responses: '200': description: Response @@ -31141,8 +31163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *99 - - *176 + - *61 + - *182 requestBody: required: false content: @@ -31192,10 +31214,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *182 - *17 - - *177 + - *183 responses: '200': description: Response @@ -31203,9 +31225,9 @@ paths: application/json: schema: type: array - items: *178 + items: *184 examples: - default: *179 + default: *185 '400': *14 '422': *15 x-github: @@ -31230,17 +31252,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *182 - *16 responses: '200': description: Response content: application/json: - schema: *180 + schema: *186 examples: - default: *181 + default: *187 '400': *14 '422': *15 x-github: @@ -31265,8 +31287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *182 - *16 responses: '202': *37 @@ -31295,8 +31317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *182 responses: '204': description: Response @@ -31318,8 +31340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *99 - - &186 + - *61 + - &192 name: actor_type in: path description: The type of the actor @@ -31332,14 +31354,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &187 + - &193 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &182 + - &188 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -31347,7 +31369,7 @@ paths: required: true schema: type: string - - &183 + - &189 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -31441,13 +31463,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *99 - - *182 - - *183 + - *61 + - *188 + - *189 - *19 - *17 - *46 - - &192 + - &198 name: sort description: The property to sort the results by. in: query @@ -31526,15 +31548,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *99 - - *182 - - *183 + - *61 + - *188 + - *189 responses: '200': description: Response content: application/json: - schema: &184 + schema: &190 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -31550,7 +31572,7 @@ paths: type: integer format: int64 examples: - default: &185 + default: &191 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -31570,24 +31592,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *99 - - &188 + - *61 + - &194 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *182 - - *183 + - *188 + - *189 responses: '200': description: Response content: application/json: - schema: *184 + schema: *190 examples: - default: *185 + default: *191 x-github: enabledForGitHubApps: true category: orgs @@ -31605,19 +31627,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *99 - - *182 - - *183 - - *186 - - *187 + - *61 + - *188 + - *189 + - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *184 + schema: *190 examples: - default: *185 + default: *191 x-github: enabledForGitHubApps: true category: orgs @@ -31634,10 +31656,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *99 - - *182 - - *183 - - &189 + - *61 + - *188 + - *189 + - &195 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -31650,7 +31672,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &196 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -31666,7 +31688,7 @@ paths: type: integer format: int64 examples: - default: &191 + default: &197 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -31702,19 +31724,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *99 + - *61 + - *194 - *188 - - *182 - - *183 - *189 + - *195 responses: '200': description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: *191 + default: *197 x-github: enabledForGitHubApps: true category: orgs @@ -31731,20 +31753,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *99 - - *186 - - *187 - - *182 - - *183 + - *61 + - *192 + - *193 + - *188 - *189 + - *195 responses: '200': description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: *191 + default: *197 x-github: enabledForGitHubApps: true category: orgs @@ -31761,14 +31783,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *99 + - *61 + - *194 - *188 - - *182 - - *183 + - *189 - *19 - *17 - *46 - - *192 + - *198 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -31844,7 +31866,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *99 + - *61 responses: '200': description: Response @@ -31852,7 +31874,7 @@ paths: application/json: schema: *20 examples: - default: &502 + default: &497 value: id: 1 account: @@ -31921,7 +31943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -31991,7 +32013,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32010,7 +32032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -32018,12 +32040,12 @@ paths: application/json: schema: anyOf: - - &194 + - &200 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &193 + limit: &199 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -32051,7 +32073,7 @@ paths: properties: {} additionalProperties: false examples: - default: &195 + default: &201 value: limit: collaborators_only origin: organization @@ -32075,18 +32097,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &503 + schema: &498 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *193 + limit: *199 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -32111,9 +32133,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *200 examples: - default: *195 + default: *201 '422': *15 x-github: githubCloudOnly: false @@ -32131,7 +32153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -32155,7 +32177,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *99 + - *61 - *17 - *19 - name: role @@ -32189,11 +32211,11 @@ paths: application/json: schema: type: array - items: *196 + items: *202 examples: - default: *197 + default: *203 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32214,7 +32236,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *99 + - *61 requestBody: required: false content: @@ -32268,7 +32290,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *202 examples: default: value: @@ -32322,8 +32344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *99 - - &198 + - *61 + - &204 name: invitation_id description: The unique identifier of the invitation. in: path @@ -32353,8 +32375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *99 - - *198 + - *61 + - *204 - *17 - *19 responses: @@ -32364,9 +32386,9 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: &215 + default: &221 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -32382,7 +32404,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32401,7 +32423,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -32409,7 +32431,7 @@ paths: application/json: schema: type: array - items: *199 + items: *205 examples: default: value: @@ -32447,7 +32469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -32497,9 +32519,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *205 examples: - default: &200 + default: &206 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -32531,8 +32553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *99 - - &201 + - *61 + - &207 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -32588,9 +32610,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *205 examples: - default: *200 + default: *206 '404': *6 '422': *7 x-github: @@ -32614,8 +32636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *99 - - *201 + - *61 + - *207 responses: '204': description: Response @@ -32648,7 +32670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *99 + - *61 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -32678,7 +32700,7 @@ paths: - closed - all default: open - - *202 + - *208 - name: type description: Can be the name of an issue type. in: query @@ -32697,7 +32719,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -32707,11 +32729,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *203 + default: *209 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32731,7 +32753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *99 + - *61 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -32769,9 +32791,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -32789,8 +32811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response if requester is an organization member and user is @@ -32824,8 +32846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -32851,8 +32873,8 @@ paths: parameters: - *17 - *19 - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response @@ -32868,11 +32890,11 @@ paths: type: integer codespaces: type: array - items: *204 + items: *210 examples: - default: *205 + default: *211 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -32895,9 +32917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *99 - - *62 - - &206 + - *61 + - *57 + - &212 name: codespace_name in: path required: true @@ -32907,7 +32929,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -32930,17 +32952,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *99 - - *62 - - *206 + - *61 + - *57 + - *212 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: &434 + default: &429 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33082,7 +33104,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -33113,14 +33135,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *207 + schema: *213 examples: default: value: @@ -33164,7 +33186,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -33189,14 +33211,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response content: application/json: - schema: &208 + schema: &214 title: Org Membership description: Org Membership type: object @@ -33245,7 +33267,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *160 + organization: *59 user: anyOf: - type: 'null' @@ -33265,7 +33287,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &209 + response-if-user-has-an-active-admin-membership-with-organization: &215 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -33333,8 +33355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 requestBody: required: false content: @@ -33362,9 +33384,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *214 examples: - response-if-user-already-had-membership-with-organization: *209 + response-if-user-already-had-membership-with-organization: *215 '422': *15 '403': *27 x-github: @@ -33388,8 +33410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -33414,7 +33436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *99 + - *61 - *17 - *19 - name: exclude @@ -33436,7 +33458,7 @@ paths: application/json: schema: type: array - items: &210 + items: &216 title: Migration description: A migration. type: object @@ -33478,7 +33500,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *66 + items: *64 url: type: string format: uri @@ -33677,7 +33699,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33693,7 +33715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *99 + - *61 requestBody: required: true content: @@ -33774,7 +33796,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *216 examples: default: value: @@ -33952,8 +33974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *99 - - &211 + - *61 + - &217 name: migration_id description: The unique identifier of the migration. in: path @@ -33981,7 +34003,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *210 + schema: *216 examples: default: value: @@ -34150,8 +34172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *99 - - *211 + - *61 + - *217 responses: '302': description: Response @@ -34172,8 +34194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *99 - - *211 + - *61 + - *217 responses: '204': description: Response @@ -34196,9 +34218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *99 - - *211 - - &646 + - *61 + - *217 + - &651 name: repo_name description: repo_name parameter in: path @@ -34225,8 +34247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *99 - - *211 + - *61 + - *217 - *17 - *19 responses: @@ -34236,9 +34258,9 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: &222 + default: &228 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34349,7 +34371,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -34375,7 +34397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response - list of organization roles @@ -34391,7 +34413,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &213 + items: &219 title: Organization Role description: Organization roles type: object @@ -34540,8 +34562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -34566,9 +34588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *99 - - *64 - - &212 + - *61 + - *62 + - &218 name: role_id description: The unique identifier of the role. in: path @@ -34603,9 +34625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *99 - - *64 - - *212 + - *61 + - *62 + - *218 responses: '204': description: Response @@ -34630,8 +34652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -34656,9 +34678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *99 - - *62 - - *212 + - *61 + - *57 + - *218 responses: '204': description: Response @@ -34688,9 +34710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *99 - - *62 - - *212 + - *61 + - *57 + - *218 responses: '204': description: Response @@ -34718,14 +34740,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *99 - - *212 + - *61 + - *218 responses: '200': description: Response content: application/json: - schema: *213 + schema: *219 examples: default: value: @@ -34775,8 +34797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *99 - - *212 + - *61 + - *218 - *17 - *19 responses: @@ -34855,7 +34877,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *220 type: description: The ownership type of the team type: string @@ -34888,9 +34910,9 @@ paths: - type - parent examples: - default: *215 + default: *221 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -34917,8 +34939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *99 - - *212 + - *61 + - *218 - *17 - *19 responses: @@ -34947,7 +34969,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *214 + items: *220 name: type: - string @@ -35064,9 +35086,9 @@ paths: - type - url examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -35088,7 +35110,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *99 + - *61 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -35115,9 +35137,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35140,8 +35162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *99 - - *62 + - *61 + - *57 requestBody: required: false content: @@ -35198,8 +35220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -35256,8 +35278,8 @@ paths: - docker - nuget - container - - *99 - - &648 + - *61 + - &652 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35293,12 +35315,12 @@ paths: application/json: schema: type: array - items: *216 + items: *222 examples: - default: *217 + default: *223 '403': *27 '401': *23 - '400': &650 + '400': &654 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35320,7 +35342,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &218 + - &224 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -35338,20 +35360,20 @@ paths: - docker - nuget - container - - &219 + - &225 name: package_name description: The name of the package. in: path required: true schema: type: string - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *216 + schema: *222 examples: default: value: @@ -35403,9 +35425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *218 - - *219 - - *99 + - *224 + - *225 + - *61 responses: '204': description: Response @@ -35437,9 +35459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *218 - - *219 - - *99 + - *224 + - *225 + - *61 - name: token description: package token schema: @@ -35471,9 +35493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *218 - - *219 - - *99 + - *224 + - *225 + - *61 - *19 - *17 - name: state @@ -35493,7 +35515,7 @@ paths: application/json: schema: type: array - items: &220 + items: &226 title: Package Version description: A version of a software package type: object @@ -35628,10 +35650,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - &221 + - *224 + - *225 + - *61 + - &227 name: package_version_id description: Unique identifier of the package version. in: path @@ -35643,7 +35665,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *226 examples: default: value: @@ -35679,10 +35701,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - *221 + - *224 + - *225 + - *61 + - *227 responses: '204': description: Response @@ -35714,10 +35736,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - *221 + - *224 + - *225 + - *61 + - *227 responses: '204': description: Response @@ -35744,10 +35766,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *61 - *17 - *19 - - &223 + - &229 name: sort description: The property by which to sort the results. in: query @@ -35758,7 +35780,7 @@ paths: - created_at default: created_at - *46 - - &224 + - &230 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -35770,7 +35792,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &225 + - &231 name: repository description: The name of the repository to use to filter the results. in: query @@ -35779,7 +35801,7 @@ paths: type: string examples: - Hello-World - - &226 + - &232 name: permission description: The permission to use to filter the results. in: query @@ -35788,7 +35810,7 @@ paths: type: string examples: - issues_read - - &227 + - &233 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35798,7 +35820,7 @@ paths: schema: type: string format: date-time - - &228 + - &234 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35808,7 +35830,7 @@ paths: schema: type: string format: date-time - - &229 + - &235 name: token_id description: The ID of the token in: query @@ -35821,7 +35843,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *100 + '500': *98 '422': *15 '404': *6 '403': *27 @@ -35956,7 +35978,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35976,7 +35998,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *61 requestBody: required: true content: @@ -36018,7 +36040,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *100 + '500': *98 '422': *15 '404': *6 '403': *27 @@ -36043,7 +36065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *99 + - *61 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36080,11 +36102,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *100 + '500': *98 '422': *15 '404': *6 '403': *27 - '204': *156 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36105,7 +36127,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *99 + - *61 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36116,7 +36138,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *98 '404': *6 '403': *27 '200': @@ -36125,11 +36147,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36150,19 +36172,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *99 + - *61 - *17 - *19 - - *223 - - *46 - - *224 - - *225 - - *226 - - *227 - - *228 - *229 + - *46 + - *230 + - *231 + - *232 + - *233 + - *234 + - *235 responses: - '500': *100 + '500': *98 '422': *15 '404': *6 '403': *27 @@ -36291,7 +36313,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36311,7 +36333,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *99 + - *61 requestBody: required: true content: @@ -36346,7 +36368,7 @@ paths: - 1296269 - 1296280 responses: - '500': *100 + '500': *98 '404': *6 '202': *37 '403': *27 @@ -36371,7 +36393,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *99 + - *61 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -36399,9 +36421,9 @@ paths: value: action: revoke responses: - '500': *100 + '500': *98 '404': *6 - '204': *156 + '204': *165 '403': *27 '422': *15 x-github: @@ -36423,7 +36445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *99 + - *61 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -36433,7 +36455,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *98 '404': *6 '403': *27 '200': @@ -36442,11 +36464,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36468,7 +36490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -36486,7 +36508,7 @@ paths: type: integer configurations: type: array - items: &230 + items: &236 title: Organization private registry description: Private registry configuration for an organization type: object @@ -36555,7 +36577,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *57 + Link: *52 '400': *14 '404': *6 x-github: @@ -36577,7 +36599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -36745,7 +36767,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &231 + org-private-registry-with-selected-visibility: &237 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -36786,7 +36808,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -36814,7 +36836,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -36836,16 +36858,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *143 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *230 + schema: *236 examples: - default: *231 + default: *237 '404': *6 x-github: githubCloudOnly: false @@ -36866,8 +36888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -36963,8 +36985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *143 responses: '204': description: Response @@ -36989,7 +37011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *99 + - *61 - name: state description: Indicates the state of the projects to return. in: query @@ -37010,7 +37032,7 @@ paths: application/json: schema: type: array - items: &232 + items: &238 title: Project description: Projects are a way to organize columns and cards of work. @@ -37143,7 +37165,7 @@ paths: organization_permission: write private: true headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -37166,7 +37188,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *99 + - *61 requestBody: required: true content: @@ -37192,7 +37214,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: default: value: @@ -37230,7 +37252,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &320 + '410': &315 description: Gone content: application/json: @@ -37256,7 +37278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *99 + - *61 - name: q description: Limit results to projects of the specified type. in: query @@ -37273,7 +37295,7 @@ paths: application/json: schema: type: array - items: &233 + items: &239 title: Projects v2 Project description: A projects v2 project type: object @@ -37347,7 +37369,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &727 + - &731 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -37432,7 +37454,7 @@ paths: - deleted_at - deleted_by examples: - default: &234 + default: &240 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -37515,7 +37537,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37535,24 +37557,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &235 + - &241 name: project_number description: The project's number. in: path required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *233 + schema: *239 examples: - default: *234 + default: *240 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37572,8 +37594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *235 - - *99 + - *241 + - *61 - *17 - *38 - *39 @@ -37584,7 +37606,7 @@ paths: application/json: schema: type: array - items: &236 + items: &242 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -37734,7 +37756,7 @@ paths: - updated_at - project_url examples: - default: &237 + default: &243 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37757,7 +37779,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37777,25 +37799,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *235 - - &667 + - *241 + - &671 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *237 + default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37816,8 +37838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *235 - - *99 + - *241 + - *61 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -37826,17 +37848,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - *38 - *39 - *17 @@ -37847,7 +37871,7 @@ paths: application/json: schema: type: array - items: &242 + items: &248 title: Projects v2 Item description: An item belonging to a project type: object @@ -37864,7 +37888,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &240 + content_type: &246 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -37921,7 +37945,7 @@ paths: - updated_at - archived_at examples: - default: &243 + default: &249 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -38595,7 +38619,7 @@ paths: type: sub_issues_progress value: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -38615,8 +38639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *99 - - *235 + - *61 + - *241 requestBody: required: true description: Details of the item to add to the project. @@ -38653,7 +38677,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &672 title: Projects v2 Item description: An item belonging to a project type: object @@ -38666,8 +38690,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *68 - - &447 + - *66 + - &442 title: Pull Request Simple description: Pull Request Simple type: object @@ -38787,7 +38811,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *244 active_lock_reason: type: - string @@ -38842,7 +38866,7 @@ paths: type: - array - 'null' - items: *161 + items: *169 head: type: object properties: @@ -38850,7 +38874,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38870,7 +38894,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38886,7 +38910,7 @@ paths: _links: type: object properties: - comments: &239 + comments: &245 title: Link description: Hypermedia Link type: object @@ -38895,13 +38919,13 @@ paths: type: string required: - href - commits: *239 - statuses: *239 - html: *239 - issue: *239 - review_comments: *239 - review_comment: *239 - self: *239 + commits: *245 + statuses: *245 + html: *245 + issue: *245 + review_comments: *245 + review_comment: *245 + self: *245 required: - comments - commits @@ -38911,8 +38935,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: &544 + author_association: *67 + auto_merge: &541 title: Auto merge description: The status of auto merging a pull request. type: @@ -39014,7 +39038,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *240 + content_type: *246 creator: *4 created_at: type: string @@ -39051,7 +39075,7 @@ paths: - updated_at - archived_at examples: - issue: &241 + issue: &247 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39106,7 +39130,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *241 + pull_request: *247 '304': *35 '403': *27 '401': *23 @@ -39126,9 +39150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *235 - - *99 - - &244 + - *241 + - *61 + - &250 name: item_id description: The unique identifier of the project item. in: path @@ -39136,27 +39160,29 @@ paths: schema: type: integer - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *242 + schema: *248 examples: - default: *243 + default: *249 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -39175,9 +39201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *235 - - *99 - - *244 + - *241 + - *61 + - *250 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -39250,13 +39276,13 @@ paths: description: Response content: application/json: - schema: *242 + schema: *248 examples: - text_field: *243 - number_field: *243 - date_field: *243 - single_select_field: *243 - iteration_field: *243 + text_field: *249 + number_field: *249 + date_field: *249 + single_select_field: *249 + iteration_field: *249 '401': *23 '403': *27 '404': *6 @@ -39276,9 +39302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *235 - - *99 - - *244 + - *241 + - *61 + - *250 responses: '204': description: Response @@ -39302,7 +39328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -39310,7 +39336,7 @@ paths: application/json: schema: type: array - items: &245 + items: &251 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -39386,7 +39412,7 @@ paths: - property_name - value_type examples: - default: &246 + default: &252 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -39434,7 +39460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -39445,7 +39471,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *245 + items: *251 minItems: 1 maxItems: 100 required: @@ -39475,9 +39501,9 @@ paths: application/json: schema: type: array - items: *245 + items: *251 examples: - default: *246 + default: *252 '403': *27 '404': *6 x-github: @@ -39498,8 +39524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *99 - - &247 + - *61 + - &253 name: custom_property_name description: The custom property name in: path @@ -39511,9 +39537,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *251 examples: - default: &248 + default: &254 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -39547,8 +39573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *99 - - *247 + - *61 + - *253 requestBody: required: true content: @@ -39626,9 +39652,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *251 examples: - default: *248 + default: *254 '403': *27 '404': *6 x-github: @@ -39651,10 +39677,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *99 - - *247 + - *61 + - *253 responses: - '204': *156 + '204': *165 '403': *27 '404': *6 x-github: @@ -39675,7 +39701,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *99 + - *61 - *17 - *19 - name: repository_query @@ -39716,28 +39742,7 @@ paths: - octocat/Hello-World properties: type: array - items: &249 - title: Custom Property Value - description: Custom property name and associated value - type: object - properties: - property_name: - type: string - description: The name of the property - value: - oneOf: - - type: string - - type: array - items: - type: string - description: The value assigned to the property - type: - - 'null' - - string - - array - required: - - property_name - - value + items: *97 description: List of custom property names and associated values required: - repository_id @@ -39758,7 +39763,7 @@ paths: - property_name: team value: octocat headers: - Link: *57 + Link: *52 '403': *27 '404': *6 x-github: @@ -39786,7 +39791,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *99 + - *61 requestBody: required: true content: @@ -39806,7 +39811,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *249 + items: *97 required: - repository_names - properties @@ -39847,7 +39852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *99 + - *61 - *17 - *19 responses: @@ -39859,9 +39864,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39878,8 +39883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response if user is a public member @@ -39903,8 +39908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -39925,8 +39930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -39950,7 +39955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *99 + - *61 - name: type description: Specifies the types of repositories you want returned. in: query @@ -39996,11 +40001,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40019,7 +40024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *99 + - *61 requestBody: required: true content: @@ -40201,7 +40206,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &317 title: Full Repository description: Full Repository type: object @@ -40547,7 +40552,7 @@ paths: template_repository: anyOf: - type: 'null' - - *66 + - *64 temp_clone_token: type: - string @@ -40647,13 +40652,13 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' - *4 - parent: *66 - source: *66 + parent: *64 + source: *64 forks: type: integer master_branch: @@ -40666,7 +40671,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &452 + code_of_conduct: &447 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -40696,7 +40701,7 @@ paths: - key - name - html_url - security_and_analysis: *250 + security_and_analysis: *255 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40780,7 +40785,7 @@ paths: - network_count - subscribers_count examples: - default: &324 + default: &319 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41298,10 +41303,10 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - *17 - *19 - - &567 + - &564 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41320,7 +41325,7 @@ paths: application/json: schema: type: array - items: &276 + items: &281 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -41355,7 +41360,7 @@ paths: source: type: string description: The name of the source - enforcement: &253 + enforcement: &258 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -41368,7 +41373,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &254 + items: &259 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -41439,7 +41444,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &251 + - &256 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -41463,7 +41468,7 @@ paths: match. items: type: string - - &255 + - &260 title: Organization ruleset conditions type: object description: |- @@ -41477,7 +41482,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *251 + - *256 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -41511,7 +41516,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *251 + - *256 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -41533,7 +41538,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *251 + - *256 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -41546,7 +41551,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &252 + items: &257 title: Repository ruleset property targeting definition type: object @@ -41579,7 +41584,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *252 + items: *257 required: - repository_property type: @@ -41587,12 +41592,12 @@ paths: - object rules: type: array - items: &568 + items: &565 title: Repository Rule type: object description: A repository rule. oneOf: - - &256 + - &261 title: creation description: Only allow users with bypass permission to create matching refs. @@ -41604,7 +41609,7 @@ paths: type: string enum: - creation - - &257 + - &262 title: update description: Only allow users with bypass permission to update matching refs. @@ -41625,7 +41630,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &258 + - &263 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -41637,7 +41642,7 @@ paths: type: string enum: - deletion - - &259 + - &264 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -41649,7 +41654,7 @@ paths: type: string enum: - required_linear_history - - &565 + - &562 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -41727,7 +41732,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &260 + - &265 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -41751,7 +41756,7 @@ paths: type: string required: - required_deployment_environments - - &261 + - &266 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -41763,7 +41768,7 @@ paths: type: string enum: - required_signatures - - &262 + - &267 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -41825,7 +41830,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &263 + - &268 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -41873,7 +41878,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &264 + - &269 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -41885,7 +41890,7 @@ paths: type: string enum: - non_fast_forward - - &265 + - &270 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -41921,7 +41926,7 @@ paths: required: - operator - pattern - - &266 + - &271 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -41957,7 +41962,7 @@ paths: required: - operator - pattern - - &267 + - &272 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -41993,7 +41998,7 @@ paths: required: - operator - pattern - - &268 + - &273 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -42029,7 +42034,7 @@ paths: required: - operator - pattern - - &269 + - &274 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -42065,7 +42070,7 @@ paths: required: - operator - pattern - - &270 + - &275 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -42090,7 +42095,7 @@ paths: type: string required: - restricted_file_paths - - &271 + - &276 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -42114,7 +42119,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &272 + - &277 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -42137,7 +42142,7 @@ paths: type: string required: - restricted_file_extensions - - &273 + - &278 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -42162,7 +42167,7 @@ paths: maximum: 100 required: - max_file_size - - &274 + - &279 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -42212,7 +42217,7 @@ paths: - repository_id required: - workflows - - &275 + - &280 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -42273,7 +42278,7 @@ paths: - tool required: - code_scanning_tools - - &566 + - &563 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42334,7 +42339,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *98 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -42350,7 +42355,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 requestBody: description: Request body required: true @@ -42371,25 +42376,20 @@ paths: - push - repository default: branch - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *255 + items: *259 + conditions: *260 rules: type: array description: An array of rules within the ruleset. - items: &278 + items: &283 title: Repository Rule type: object description: A repository rule. oneOf: - - *256 - - *257 - - *258 - - *259 - - *260 - *261 - *262 - *263 @@ -42405,6 +42405,11 @@ paths: - *273 - *274 - *275 + - *276 + - *277 + - *278 + - *279 + - *280 required: - name - enforcement @@ -42442,9 +42447,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: &277 + default: &282 value: id: 21 name: super cool ruleset @@ -42484,7 +42489,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *98 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -42498,8 +42503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *99 - - &569 + - *61 + - &566 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -42514,7 +42519,7 @@ paths: in: query schema: type: string - - &570 + - &567 name: time_period description: |- The time period to filter by. @@ -42530,14 +42535,14 @@ paths: - week - month default: day - - &571 + - &568 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &572 + - &569 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -42557,7 +42562,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &570 title: Rule Suites description: Response type: array @@ -42613,7 +42618,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &574 + default: &571 value: - id: 21 actor_id: 12 @@ -42637,7 +42642,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42656,8 +42661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *99 - - &575 + - *61 + - &572 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42673,7 +42678,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &573 title: Rule Suite description: Response type: object @@ -42780,7 +42785,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &577 + default: &574 value: id: 21 actor_id: 12 @@ -42815,7 +42820,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42841,7 +42846,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42853,11 +42858,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *277 + default: *282 '404': *6 - '500': *100 + '500': *98 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -42873,7 +42878,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42899,16 +42904,16 @@ paths: - tag - push - repository - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *255 + items: *259 + conditions: *260 rules: description: An array of rules within the ruleset. type: array - items: *278 + items: *283 examples: default: value: @@ -42943,11 +42948,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *277 + default: *282 '404': *6 - '500': *100 + '500': *98 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -42963,7 +42968,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42974,7 +42979,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *98 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -42986,7 +42991,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *99 + - *61 - *17 - *19 - name: ruleset_id @@ -43002,7 +43007,7 @@ paths: application/json: schema: type: array - items: &279 + items: &284 title: Ruleset version type: object description: The historical version of a ruleset @@ -43026,7 +43031,7 @@ paths: type: string format: date-time examples: - default: &579 + default: &576 value: - version_id: 3 actor: @@ -43044,7 +43049,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43061,7 +43066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43079,9 +43084,9 @@ paths: description: Response content: application/json: - schema: &580 + schema: &577 allOf: - - *279 + - *284 - type: object required: - state @@ -43128,7 +43133,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43150,15 +43155,53 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *99 - - *280 - - *281 - - *282 - - *283 + - *61 + - &578 + 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 + - &579 + 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 + - &580 + 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 + - &581 + name: sort + description: The property to sort the results by. `created` means when the + alert was created. `updated` means when the alert was updated or resolved. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created - *46 - *19 - *17 - - &581 + - &582 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43168,7 +43211,7 @@ paths: required: false schema: type: string - - &582 + - &583 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43178,10 +43221,42 @@ paths: required: false schema: type: string - - *284 - - *285 - - *286 - - *287 + - &584 + 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 + - &585 + 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 + - &586 + 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 + - &587 + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false responses: '200': description: Response @@ -43189,13 +43264,615 @@ paths: application/json: schema: type: array - items: *288 + items: + type: object + properties: + number: *151 + created_at: *152 + updated_at: + anyOf: + - type: 'null' + - *153 + url: *154 + html_url: *155 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &588 + 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: &589 + type: + - string + - 'null' + description: "**Required when the `state` is `resolved`.** The + reason for resolving the alert." + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + - + resolved_at: + type: + - string + - 'null' + format: date-time + description: 'The time that the alert was resolved in ISO 8601 + format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - *4 + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: *51 + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected + secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - *4 + push_protection_bypassed_at: + type: + - string + - 'null' + format: date-time + description: 'The time that push protection was bypassed in + ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - *4 + push_protection_bypass_request_reviewer_comment: + type: + - string + - 'null' + description: An optional comment when reviewing a push protection + bypass. + push_protection_bypass_request_comment: + type: + - string + - 'null' + description: An optional comment when requesting a push protection + bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this + alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert + is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &590 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &592 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &593 + description: Represents a 'wiki_commit' secret scanning + location type. This location type shows that a secret + was detected inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &594 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &595 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &596 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &597 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &598 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &599 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &600 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &601 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &602 + description: Represents a 'pull_request_comment' secret + scanning location type. This location type shows that + a secret was detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &603 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret + was detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &604 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: - default: *289 + default: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,7 +43897,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 responses: '200': description: Response @@ -43232,7 +43909,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &291 + pattern_config_version: &286 type: - string - 'null' @@ -43242,7 +43919,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &290 + items: &285 type: object properties: token_type: @@ -43311,7 +43988,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *290 + items: *285 examples: default: value: @@ -43360,7 +44037,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 requestBody: required: true content: @@ -43368,7 +44045,7 @@ paths: schema: type: object properties: - pattern_config_version: *291 + pattern_config_version: *286 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43394,7 +44071,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *291 + custom_pattern_version: *286 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43448,7 +44125,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *99 + - *61 - *46 - name: sort description: The property to sort the results by. @@ -43492,7 +44169,7 @@ paths: application/json: schema: type: array - items: &603 + items: &608 description: A repository security advisory. type: object properties: @@ -43736,7 +44413,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *287 credits_detailed: type: - array @@ -43747,7 +44424,7 @@ paths: type: object properties: user: *4 - type: *292 + type: *287 state: type: string description: The state of the user's acceptance of the @@ -43773,7 +44450,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *161 + items: *169 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -43811,7 +44488,7 @@ paths: - private_fork additionalProperties: false examples: - default: &604 + default: &609 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44190,7 +44867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *99 + - *61 responses: '200': description: Response @@ -44198,9 +44875,9 @@ paths: application/json: schema: type: array - items: *214 + items: *220 examples: - default: *215 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44223,8 +44900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -44249,8 +44926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -44279,13 +44956,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &669 + schema: &673 type: object properties: total_minutes_used: @@ -44355,7 +45032,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &670 + default: &674 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44385,13 +45062,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &671 + schema: &675 type: object properties: total_gigabytes_bandwidth_used: @@ -44409,7 +45086,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &672 + default: &676 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44435,13 +45112,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &676 + schema: &680 type: object properties: days_left_in_billing_cycle: @@ -44459,7 +45136,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &677 + default: &681 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44483,7 +45160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Immutable releases settings response @@ -44533,7 +45210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -44591,7 +45268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *61 - *19 - *17 responses: @@ -44609,9 +45286,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *135 examples: - default: *143 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44630,7 +45307,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *61 requestBody: required: true content: @@ -44679,8 +45356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *99 - - *120 + - *61 + - *124 responses: '204': description: Response @@ -44702,8 +45379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *99 - - *120 + - *61 + - *124 responses: '204': description: Response @@ -44726,7 +45403,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -44744,7 +45421,7 @@ paths: type: integer network_configurations: type: array - items: &293 + items: &288 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44808,7 +45485,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44827,7 +45504,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -44869,9 +45546,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *288 examples: - default: &294 + default: &289 value: id: 123456789ABCDEF name: My network configuration @@ -44899,8 +45576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 - - &295 + - *61 + - &290 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44912,11 +45589,11 @@ paths: description: Response content: application/json: - schema: *293 + schema: *288 examples: - default: *294 + default: *289 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44935,8 +45612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 - - *295 + - *61 + - *290 requestBody: required: true content: @@ -44975,9 +45652,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *288 examples: - default: *294 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44996,8 +45673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *99 - - *295 + - *61 + - *290 responses: '204': description: Response @@ -45020,7 +45697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *99 + - *61 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -45079,7 +45756,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45109,8 +45786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *99 - - *64 + - *61 + - *62 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -45142,13 +45819,13 @@ paths: application/json: schema: type: array - items: *296 + items: *291 examples: - default: *297 - '500': *100 + default: *292 + '500': *98 '403': *27 '404': *6 - '422': *298 + '422': *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45166,7 +45843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *99 + - *61 - *17 - *19 responses: @@ -45176,11 +45853,11 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: *215 + default: *221 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -45200,7 +45877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *99 + - *61 requestBody: required: true content: @@ -45272,7 +45949,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &294 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45346,7 +46023,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *220 members_count: type: integer examples: @@ -45671,7 +46348,7 @@ paths: - repos_count - organization examples: - default: &300 + default: &295 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45741,16 +46418,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *99 - - *64 + - *61 + - *62 responses: '200': description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -45771,8 +46448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *99 - - *64 + - *61 + - *62 requestBody: required: false content: @@ -45835,16 +46512,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '201': description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 '422': *15 '403': *27 @@ -45869,8 +46546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -45896,8 +46573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *99 - - *64 + - *61 + - *62 - *46 - *17 - *19 @@ -45914,7 +46591,7 @@ paths: application/json: schema: type: array - items: &301 + items: &296 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46005,7 +46682,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46025,7 +46702,7 @@ paths: - updated_at - url examples: - default: &621 + default: &626 value: - author: login: octocat @@ -46075,7 +46752,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46099,8 +46776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *99 - - *64 + - *61 + - *62 requestBody: required: true content: @@ -46134,9 +46811,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: &302 + default: &297 value: author: login: octocat @@ -46208,9 +46885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *99 - - *64 - - &303 + - *61 + - *62 + - &298 name: discussion_number description: The number that identifies the discussion. in: path @@ -46222,9 +46899,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *302 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46246,9 +46923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 requestBody: required: false content: @@ -46271,9 +46948,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: &622 + default: &627 value: author: login: octocat @@ -46343,9 +47020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 responses: '204': description: Response @@ -46371,9 +47048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 - *46 - *17 - *19 @@ -46384,7 +47061,7 @@ paths: application/json: schema: type: array - items: &304 + items: &299 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46449,7 +47126,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46464,7 +47141,7 @@ paths: - updated_at - url examples: - default: &623 + default: &628 value: - author: login: octocat @@ -46508,7 +47185,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46532,9 +47209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 requestBody: required: true content: @@ -46556,9 +47233,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: &305 + default: &300 value: author: login: octocat @@ -46624,10 +47301,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - &306 + - *61 + - *62 + - *298 + - &301 name: comment_number description: The number that identifies the comment. in: path @@ -46639,9 +47316,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *305 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46663,10 +47340,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 requestBody: required: true content: @@ -46688,9 +47365,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: &624 + default: &629 value: author: login: octocat @@ -46754,10 +47431,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 responses: '204': description: Response @@ -46783,10 +47460,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -46812,7 +47489,7 @@ paths: application/json: schema: type: array - items: &307 + items: &302 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46856,7 +47533,7 @@ paths: - content - created_at examples: - default: &309 + default: &304 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46882,7 +47559,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46906,10 +47583,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 requestBody: required: true content: @@ -46942,9 +47619,9 @@ paths: team discussion comment content: application/json: - schema: *307 + schema: *302 examples: - default: &308 + default: &303 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46973,9 +47650,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46998,11 +47675,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *99 - - *64 - - *303 - - *306 - - &310 + - *61 + - *62 + - *298 + - *301 + - &305 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47034,9 +47711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -47062,11 +47739,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47090,9 +47767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 requestBody: required: true content: @@ -47124,16 +47801,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47156,10 +47833,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *99 - - *64 - - *303 - - *310 + - *61 + - *62 + - *298 + - *305 responses: '204': description: Response @@ -47183,8 +47860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47194,11 +47871,11 @@ paths: application/json: schema: type: array - items: *196 + items: *202 examples: - default: *197 + default: *203 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47218,8 +47895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *99 - - *64 + - *61 + - *62 - name: role description: Filters members returned by their role in the team. in: query @@ -47242,9 +47919,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47272,15 +47949,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 responses: '200': description: Response content: application/json: - schema: &311 + schema: &306 title: Team Membership description: Team Membership type: object @@ -47308,7 +47985,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &625 + response-if-user-is-a-team-maintainer: &630 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47344,9 +48021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 requestBody: required: false content: @@ -47371,9 +48048,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *306 examples: - response-if-users-membership-with-team-is-now-pending: &626 + response-if-users-membership-with-team-is-now-pending: &631 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47408,9 +48085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 responses: '204': description: Response @@ -47435,8 +48112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47446,7 +48123,7 @@ paths: application/json: schema: type: array - items: &312 + items: &307 title: Team Project description: A team's access to a project. type: object @@ -47515,7 +48192,7 @@ paths: - updated_at - permissions examples: - default: &627 + default: &632 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47555,7 +48232,7 @@ paths: write: true admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47578,9 +48255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *99 - - *64 - - &313 + - *61 + - *62 + - &308 name: project_id description: The unique identifier of the project. in: path @@ -47592,9 +48269,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *307 examples: - default: &628 + default: &633 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47656,9 +48333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *99 - - *64 - - *313 + - *61 + - *62 + - *308 requestBody: required: false content: @@ -47725,9 +48402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *99 - - *64 - - *313 + - *61 + - *62 + - *308 responses: '204': description: Response @@ -47754,8 +48431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47765,11 +48442,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47796,16 +48473,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *309 + - *310 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &629 + schema: &634 title: Team Repository description: A team's access to a repository. type: object @@ -47831,7 +48508,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 forks: type: integer permissions: @@ -48446,10 +49123,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *309 + - *310 requestBody: required: false content: @@ -48494,10 +49171,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *309 + - *310 responses: '204': description: Response @@ -48521,8 +49198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -48532,9 +49209,9 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - response-if-child-teams-exist: &630 + response-if-child-teams-exist: &635 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48562,7 +49239,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48587,7 +49264,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *99 + - *61 - name: security_product in: path description: The security feature to enable or disable. @@ -48661,7 +49338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &316 + - &311 name: column_id description: The unique identifier of the column. in: path @@ -48673,7 +49350,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &312 title: Project Column description: Project columns contain cards of work. type: object @@ -48727,7 +49404,7 @@ paths: - created_at - updated_at examples: - default: &318 + default: &313 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48762,7 +49439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *316 + - *311 requestBody: required: true content: @@ -48787,9 +49464,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: *318 + default: *313 '304': *35 '403': *27 '401': *23 @@ -48814,7 +49491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *316 + - *311 responses: '204': description: Response @@ -48843,7 +49520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *316 + - *311 requestBody: required: true content: @@ -48904,15 +49581,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *313 + - *308 responses: '200': description: Response content: application/json: - schema: *232 + schema: *238 examples: - default: &319 + default: &314 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48969,7 +49646,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *313 + - *308 requestBody: required: false content: @@ -49018,9 +49695,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: - default: *319 + default: *314 '404': description: Not Found if the authenticated user does not have access to the project @@ -49041,7 +49718,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *315 '422': *7 x-github: githubCloudOnly: false @@ -49064,7 +49741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *313 + - *308 responses: '204': description: Delete Success @@ -49085,7 +49762,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *315 '404': *6 x-github: githubCloudOnly: false @@ -49109,7 +49786,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *313 + - *308 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -49136,9 +49813,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '304': *35 @@ -49166,8 +49843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *313 - - *62 + - *308 + - *57 requestBody: required: false content: @@ -49221,8 +49898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *313 - - *62 + - *308 + - *57 responses: '204': description: Response @@ -49253,8 +49930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *313 - - *62 + - *308 + - *57 responses: '200': description: Response @@ -49324,7 +50001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *313 + - *308 - *17 - *19 responses: @@ -49334,7 +50011,7 @@ paths: application/json: schema: type: array - items: *317 + items: *312 examples: default: value: @@ -49347,7 +50024,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -49372,7 +50049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *313 + - *308 requestBody: required: true content: @@ -49396,7 +50073,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: default: value: @@ -49461,7 +50138,7 @@ paths: resources: type: object properties: - core: &321 + core: &316 title: Rate Limit type: object properties: @@ -49478,21 +50155,21 @@ paths: - remaining - reset - used - graphql: *321 - search: *321 - code_search: *321 - source_import: *321 - integration_manifest: *321 - code_scanning_upload: *321 - actions_runner_registration: *321 - scim: *321 - dependency_snapshots: *321 - dependency_sbom: *321 - code_scanning_autofix: *321 + graphql: *316 + search: *316 + code_search: *316 + source_import: *316 + integration_manifest: *316 + code_scanning_upload: *316 + actions_runner_registration: *316 + scim: *316 + dependency_snapshots: *316 + dependency_sbom: *316 + code_scanning_autofix: *316 required: - core - search - rate: *321 + rate: *316 required: - rate - resources @@ -49597,14 +50274,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *322 + schema: *317 examples: default-response: summary: Default response @@ -50105,7 +50782,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *323 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50123,8 +50800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -50372,10 +51049,10 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 - '307': &325 + default: *319 + '307': &320 description: Temporary Redirect content: application/json: @@ -50404,8 +51081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -50427,7 +51104,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *325 + '307': *320 '404': *6 '409': *45 x-github: @@ -50451,11 +51128,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - - &356 + - &351 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50478,7 +51155,7 @@ paths: type: integer artifacts: type: array - items: &326 + items: &321 title: Artifact description: An artifact type: object @@ -50573,7 +51250,7 @@ paths: - expires_at - updated_at examples: - default: &357 + default: &352 value: total_count: 2 artifacts: @@ -50612,7 +51289,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50634,9 +51311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *314 - - *315 - - &327 + - *309 + - *310 + - &322 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50648,7 +51325,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *321 examples: default: value: @@ -50686,9 +51363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *314 - - *315 - - *327 + - *309 + - *310 + - *322 responses: '204': description: Response @@ -50712,9 +51389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *314 - - *315 - - *327 + - *309 + - *310 + - *322 - name: archive_format in: path required: true @@ -50728,7 +51405,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50751,14 +51428,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *328 + schema: *323 examples: default: value: @@ -50784,11 +51461,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - - &329 + - &324 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -50822,7 +51499,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &325 title: Repository actions caches description: Repository actions caches type: object @@ -50872,7 +51549,7 @@ paths: - total_count - actions_caches examples: - default: &331 + default: &326 value: total_count: 1 actions_caches: @@ -50884,7 +51561,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50904,23 +51581,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *314 - - *315 + - *309 + - *310 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *329 + - *324 responses: '200': description: Response content: application/json: - schema: *330 + schema: *325 examples: - default: *331 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50940,8 +51617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *314 - - *315 + - *309 + - *310 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50972,9 +51649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *314 - - *315 - - &332 + - *309 + - *310 + - &327 name: job_id description: The unique identifier of the job. in: path @@ -50986,7 +51663,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &355 title: Job description: Information of a job execution in a workflow run type: object @@ -51333,9 +52010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *314 - - *315 - - *332 + - *309 + - *310 + - *327 responses: '302': description: Response @@ -51363,9 +52040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *314 - - *315 - - *332 + - *309 + - *310 + - *327 requestBody: required: false content: @@ -51387,7 +52064,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -51411,8 +52088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Status response @@ -51462,8 +52139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -51497,7 +52174,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -51526,8 +52203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -51545,7 +52222,7 @@ paths: type: integer secrets: type: array - items: &362 + items: &357 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51566,7 +52243,7 @@ paths: - created_at - updated_at examples: - default: &363 + default: &358 value: total_count: 2 secrets: @@ -51577,7 +52254,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51599,9 +52276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *314 - - *315 - - *333 + - *309 + - *310 + - *328 - *19 responses: '200': @@ -51618,7 +52295,7 @@ paths: type: integer variables: type: array - items: &366 + items: &361 title: Actions Variable type: object properties: @@ -51652,7 +52329,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &362 value: total_count: 2 variables: @@ -51665,7 +52342,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51685,8 +52362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -51695,12 +52372,12 @@ paths: schema: type: object properties: - enabled: &335 + enabled: &330 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *116 - selected_actions_url: *334 - sha_pinning_required: *117 + allowed_actions: *120 + selected_actions_url: *329 + sha_pinning_required: *121 required: - enabled examples: @@ -51728,8 +52405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -51740,9 +52417,9 @@ paths: schema: type: object properties: - enabled: *335 - allowed_actions: *116 - sha_pinning_required: *117 + enabled: *330 + allowed_actions: *120 + sha_pinning_required: *121 required: - enabled examples: @@ -51772,14 +52449,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &336 + schema: &331 type: object properties: access_level: @@ -51796,7 +52473,7 @@ paths: required: - access_level examples: - default: &337 + default: &332 value: access_level: organization x-github: @@ -51820,15 +52497,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: application/json: - schema: *336 + schema: *331 examples: - default: *337 + default: *332 responses: '204': description: Response @@ -51852,14 +52529,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *338 + schema: *333 examples: default: value: @@ -51883,8 +52560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Empty response for successful settings update @@ -51894,7 +52571,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *334 examples: default: summary: Set retention days @@ -51918,16 +52595,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *340 + default: *335 '404': *6 x-github: enabledForGitHubApps: true @@ -51946,8 +52623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -51957,7 +52634,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *122 examples: default: summary: Set approval policy to first time contributors @@ -51981,16 +52658,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *341 + schema: *336 examples: - default: *119 + default: *123 '403': *27 '404': *6 x-github: @@ -52010,15 +52687,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: application/json: - schema: *342 + schema: *337 examples: - default: *119 + default: *123 responses: '204': description: Empty response for successful settings update @@ -52042,16 +52719,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *121 + schema: *125 examples: - default: *122 + default: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52070,8 +52747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -52079,9 +52756,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *125 examples: - selected_actions: *122 + selected_actions: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52103,16 +52780,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *343 + schema: *338 examples: - default: *126 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52133,8 +52810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Success response @@ -52145,9 +52822,9 @@ paths: required: true content: application/json: - schema: *344 + schema: *339 examples: - default: *126 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52174,8 +52851,8 @@ paths: in: query schema: type: string - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -52193,11 +52870,11 @@ paths: type: integer runners: type: array - items: *133 + items: *137 examples: - default: *134 + default: *138 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52219,8 +52896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -52228,9 +52905,9 @@ paths: application/json: schema: type: array - items: *345 + items: *340 examples: - default: *346 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52252,8 +52929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -52296,7 +52973,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *347 + '201': *342 '404': *6 '422': *7 '409': *45 @@ -52327,16 +53004,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '201': description: Response content: application/json: - schema: *135 + schema: *139 examples: - default: *348 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52364,16 +53041,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '201': description: Response content: application/json: - schema: *135 + schema: *139 examples: - default: *349 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52395,17 +53072,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *309 + - *310 + - *136 responses: '200': description: Response content: application/json: - schema: *133 + schema: *137 examples: - default: *350 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52426,9 +53103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *314 - - *315 - - *132 + - *309 + - *310 + - *136 responses: '204': description: Response @@ -52454,11 +53131,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *309 + - *310 + - *136 responses: - '200': *137 + '200': *141 '404': *6 x-github: githubCloudOnly: false @@ -52480,9 +53157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *309 + - *310 + - *136 requestBody: required: true content: @@ -52506,7 +53183,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *141 '404': *6 '422': *7 x-github: @@ -52530,9 +53207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *309 + - *310 + - *136 requestBody: required: true content: @@ -52557,7 +53234,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *141 '404': *6 '422': *7 x-github: @@ -52581,11 +53258,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *309 + - *310 + - *136 responses: - '200': *351 + '200': *346 '404': *6 x-github: githubCloudOnly: false @@ -52612,12 +53289,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 - - *352 + - *309 + - *310 + - *136 + - *347 responses: - '200': *137 + '200': *141 '404': *6 '422': *7 x-github: @@ -52643,9 +53320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *314 - - *315 - - &370 + - *309 + - *310 + - &365 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -52653,7 +53330,7 @@ paths: required: false schema: type: string - - &371 + - &366 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52661,7 +53338,7 @@ paths: required: false schema: type: string - - &372 + - &367 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52670,7 +53347,7 @@ paths: required: false schema: type: string - - &373 + - &368 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -52697,7 +53374,7 @@ paths: - pending - *17 - *19 - - &374 + - &369 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -52706,7 +53383,7 @@ paths: schema: type: string format: date-time - - &353 + - &348 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52715,13 +53392,13 @@ paths: schema: type: boolean default: false - - &375 + - &370 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &376 + - &371 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52744,7 +53421,7 @@ paths: type: integer workflow_runs: type: array - items: &354 + items: &349 title: Workflow Run description: An invocation of a workflow type: object @@ -52861,7 +53538,7 @@ paths: type: - array - 'null' - items: *72 + items: *70 created_at: type: string format: date-time @@ -52922,7 +53599,7 @@ paths: head_commit: anyOf: - type: 'null' - - &398 + - &393 title: Simple Commit description: A commit. type: object @@ -52996,8 +53673,8 @@ paths: - timestamp - author - committer - repository: *131 - head_repository: *131 + repository: *135 + head_repository: *135 head_repository_id: type: integer examples: @@ -53037,7 +53714,7 @@ paths: - workflow_url - pull_requests examples: - default: &377 + default: &372 value: total_count: 1 workflow_runs: @@ -53251,7 +53928,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53273,24 +53950,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *314 - - *315 - - &355 + - *309 + - *310 + - &350 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *353 + - *348 responses: '200': description: Response content: application/json: - schema: *354 + schema: *349 examples: - default: &358 + default: &353 value: id: 30433642 name: Build @@ -53531,9 +54208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '204': description: Response @@ -53556,9 +54233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '200': description: Response @@ -53686,15 +54363,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '201': description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -53721,12 +54398,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 - *17 - *19 - - *356 + - *351 responses: '200': description: Response @@ -53742,11 +54419,11 @@ paths: type: integer artifacts: type: array - items: *326 + items: *321 examples: - default: *357 + default: *352 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53768,25 +54445,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *314 - - *315 - - *355 - - &359 + - *309 + - *310 + - *350 + - &354 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *353 + - *348 responses: '200': description: Response content: application/json: - schema: *354 + schema: *349 examples: - default: *358 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53809,10 +54486,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *314 - - *315 - - *355 - - *359 + - *309 + - *310 + - *350 + - *354 - *17 - *19 responses: @@ -53830,9 +54507,9 @@ paths: type: integer jobs: type: array - items: *360 + items: *355 examples: - default: &361 + default: &356 value: total_count: 1 jobs: @@ -53921,7 +54598,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -53945,10 +54622,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *314 - - *315 - - *355 - - *359 + - *309 + - *310 + - *350 + - *354 responses: '302': description: Response @@ -53976,15 +54653,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '202': description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -54011,9 +54688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: true content: @@ -54080,15 +54757,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '202': description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -54115,9 +54792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -54147,11 +54824,11 @@ paths: type: integer jobs: type: array - items: *360 + items: *355 examples: - default: *361 + default: *356 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54174,9 +54851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '302': description: Response @@ -54203,14 +54880,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '204': description: Response '403': *27 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54232,9 +54909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '200': description: Response @@ -54303,7 +54980,7 @@ paths: items: type: object properties: - type: &472 + type: &467 type: string description: The type of reviewer. enum: @@ -54314,7 +54991,7 @@ paths: reviewer: anyOf: - *4 - - *161 + - *169 required: - environment - wait_timer @@ -54389,9 +55066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: true content: @@ -54441,7 +55118,7 @@ paths: application/json: schema: type: array - items: &467 + items: &462 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54553,7 +55230,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &463 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54609,9 +55286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: false content: @@ -54633,7 +55310,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -54656,9 +55333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: false content: @@ -54680,7 +55357,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -54712,9 +55389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '200': description: Response @@ -54851,8 +55528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -54870,11 +55547,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *357 examples: - default: *363 + default: *358 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54897,16 +55574,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *364 + schema: *359 examples: - default: *365 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54928,17 +55605,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 responses: '200': description: Response content: application/json: - schema: *362 + schema: *357 examples: - default: &485 + default: &480 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54964,9 +55641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 requestBody: required: true content: @@ -54997,7 +55674,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -55023,9 +55700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 responses: '204': description: Response @@ -55050,9 +55727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *314 - - *315 - - *333 + - *309 + - *310 + - *328 - *19 responses: '200': @@ -55069,11 +55746,11 @@ paths: type: integer variables: type: array - items: *366 + items: *361 examples: - default: *367 + default: *362 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55094,8 +55771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -55122,7 +55799,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -55147,17 +55824,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *309 + - *310 + - *146 responses: '200': description: Response content: application/json: - schema: *366 + schema: *361 examples: - default: &486 + default: &481 value: name: USERNAME value: octocat @@ -55183,9 +55860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *309 + - *310 + - *146 requestBody: required: true content: @@ -55227,9 +55904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *309 + - *310 + - *146 responses: '204': description: Response @@ -55254,8 +55931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -55273,7 +55950,7 @@ paths: type: integer workflows: type: array - items: &368 + items: &363 title: Workflow description: A GitHub Actions workflow type: object @@ -55368,7 +56045,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55391,9 +56068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *314 - - *315 - - &369 + - *309 + - *310 + - &364 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55408,7 +56085,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *363 examples: default: value: @@ -55441,9 +56118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '204': description: Response @@ -55468,9 +56145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '204': description: Response @@ -55521,9 +56198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '204': description: Response @@ -55550,19 +56227,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *314 - - *315 + - *309 + - *310 + - *364 + - *365 + - *366 + - *367 + - *368 + - *17 + - *19 - *369 + - *348 - *370 - *371 - - *372 - - *373 - - *17 - - *19 - - *374 - - *353 - - *375 - - *376 responses: '200': description: Response @@ -55578,11 +56255,11 @@ paths: type: integer workflow_runs: type: array - items: *354 + items: *349 examples: - default: *377 + default: *372 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55612,9 +56289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '200': description: Response @@ -55675,8 +56352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *314 - - *315 + - *309 + - *310 - *46 - *17 - *38 @@ -55825,7 +56502,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -55844,8 +56521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -55857,9 +56534,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -55882,8 +56559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *314 - - *315 + - *309 + - *310 - name: assignee in: path required: true @@ -55919,8 +56596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -56032,8 +56709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *38 - *39 @@ -56089,7 +56766,7 @@ paths: initiator: type: string examples: - default: *378 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56109,8 +56786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -56118,7 +56795,7 @@ paths: application/json: schema: type: array - items: &379 + items: &374 title: Autolink reference description: An autolink reference. type: object @@ -56177,8 +56854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -56217,9 +56894,9 @@ paths: description: response content: application/json: - schema: *379 + schema: *374 examples: - default: &380 + default: &375 value: id: 1 key_prefix: TICKET- @@ -56250,9 +56927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *314 - - *315 - - &381 + - *309 + - *310 + - &376 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56264,9 +56941,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *374 examples: - default: *380 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -56286,9 +56963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *314 - - *315 - - *381 + - *309 + - *310 + - *376 responses: '204': description: Response @@ -56312,8 +56989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response if Dependabot is enabled @@ -56363,8 +57040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -56385,8 +57062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -56406,8 +57083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *314 - - *315 + - *309 + - *310 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56445,7 +57122,7 @@ paths: - url protected: type: boolean - protection: &383 + protection: &378 title: Branch Protection description: Branch Protection type: object @@ -56488,7 +57165,7 @@ paths: required: - contexts - checks - enforce_admins: &386 + enforce_admins: &381 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56505,7 +57182,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &388 + required_pull_request_reviews: &383 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56527,7 +57204,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *161 + items: *169 apps: description: The list of apps with review dismissal access. @@ -56559,7 +57236,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *161 + items: *169 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56589,7 +57266,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &385 + restrictions: &380 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56652,7 +57329,7 @@ paths: type: string teams: type: array - items: *161 + items: *169 apps: type: array items: @@ -56864,7 +57541,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -56882,9 +57559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *314 - - *315 - - &384 + - *309 + - *310 + - &379 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -56898,14 +57575,14 @@ paths: description: Response content: application/json: - schema: &394 + schema: &389 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &443 + commit: &438 title: Commit description: Commit type: object @@ -56944,7 +57621,7 @@ paths: author: anyOf: - type: 'null' - - &382 + - &377 title: Git User description: Metaproperties for Git author/committer information. @@ -56965,7 +57642,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *377 message: type: string examples: @@ -56989,7 +57666,7 @@ paths: required: - sha - url - verification: &492 + verification: &487 title: Verification type: object properties: @@ -57025,14 +57702,14 @@ paths: author: oneOf: - *4 - - *140 + - *144 type: - 'null' - object committer: oneOf: - *4 - - *140 + - *144 type: - 'null' - object @@ -57069,7 +57746,7 @@ paths: type: integer files: type: array - items: &454 + items: &449 title: Diff Entry description: Diff Entry type: object @@ -57165,7 +57842,7 @@ paths: - self protected: type: boolean - protection: *383 + protection: *378 protection_url: type: string format: uri @@ -57274,7 +57951,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *323 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -57296,15 +57973,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *383 + schema: *378 examples: default: value: @@ -57498,9 +58175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -57760,7 +58437,7 @@ paths: url: type: string format: uri - required_status_checks: &391 + required_status_checks: &386 title: Status Check Policy description: Status Check Policy type: object @@ -57841,7 +58518,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *169 apps: type: array items: *5 @@ -57859,7 +58536,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *169 apps: type: array items: *5 @@ -57919,7 +58596,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *385 + restrictions: *380 required_conversation_resolution: type: object properties: @@ -58031,9 +58708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58058,17 +58735,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: &387 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58090,17 +58767,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: *387 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58119,9 +58796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58146,17 +58823,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *388 + schema: *383 examples: - default: &389 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58252,9 +58929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58352,9 +59029,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *383 examples: - default: *389 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58375,9 +59052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58404,17 +59081,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: &390 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58437,17 +59114,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: *390 + default: *385 '404': *6 x-github: githubCloudOnly: false @@ -58467,9 +59144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58494,17 +59171,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *391 + schema: *386 examples: - default: &392 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58530,9 +59207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58584,9 +59261,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *386 examples: - default: *392 + default: *387 '404': *6 '422': *15 x-github: @@ -58608,9 +59285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58634,9 +59311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -58670,9 +59347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58739,9 +59416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58805,9 +59482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: content: application/json: @@ -58873,15 +59550,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *385 + schema: *380 examples: default: value: @@ -58972,9 +59649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58997,9 +59674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -59009,7 +59686,7 @@ paths: type: array items: *5 examples: - default: &393 + default: &388 value: - id: 1 slug: octoapp @@ -59066,9 +59743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59102,7 +59779,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59123,9 +59800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59159,7 +59836,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59180,9 +59857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59216,7 +59893,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59238,9 +59915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -59248,9 +59925,9 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: *215 + default: *221 '404': *6 x-github: githubCloudOnly: false @@ -59270,9 +59947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -59308,9 +59985,9 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: *215 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -59331,9 +60008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -59369,9 +60046,9 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: *215 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -59392,9 +60069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: content: application/json: @@ -59429,9 +60106,9 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: *215 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -59453,9 +60130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -59465,7 +60142,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '404': *6 x-github: githubCloudOnly: false @@ -59489,9 +60166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59524,7 +60201,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59549,9 +60226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59584,7 +60261,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59609,9 +60286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59644,7 +60321,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59671,9 +60348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59695,7 +60372,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *389 examples: default: value: @@ -59811,8 +60488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -60091,7 +60768,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &390 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60226,8 +60903,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *72 - deployment: &688 + items: *70 + deployment: &692 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60514,9 +61191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *314 - - *315 - - &396 + - *309 + - *310 + - &391 name: check_run_id description: The unique identifier of the check run. in: path @@ -60528,9 +61205,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *390 examples: - default: &397 + default: &392 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60630,9 +61307,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *314 - - *315 - - *396 + - *309 + - *310 + - *391 requestBody: required: true content: @@ -60872,9 +61549,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *390 examples: - default: *397 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60894,9 +61571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *314 - - *315 - - *396 + - *309 + - *310 + - *391 - *17 - *19 responses: @@ -60986,7 +61663,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61006,15 +61683,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *314 - - *315 - - *396 + - *309 + - *310 + - *391 responses: '201': description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -61052,8 +61729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -61075,7 +61752,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &399 + schema: &394 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61157,12 +61834,12 @@ paths: type: - array - 'null' - items: *72 + items: *70 app: anyOf: - type: 'null' - *5 - repository: *131 + repository: *135 created_at: type: - string @@ -61173,7 +61850,7 @@ paths: - string - 'null' format: date-time - head_commit: *398 + head_commit: *393 latest_check_runs_count: type: integer check_runs_url: @@ -61201,7 +61878,7 @@ paths: - check_runs_url - pull_requests examples: - default: &400 + default: &395 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61492,9 +62169,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *399 + schema: *394 examples: - default: *400 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61513,8 +62190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -61575,7 +62252,7 @@ paths: required: - app_id - setting - repository: *131 + repository: *135 examples: default: value: @@ -61823,9 +62500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *314 - - *315 - - &401 + - *309 + - *310 + - &396 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61837,9 +62514,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *394 examples: - default: *400 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61862,17 +62539,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *314 - - *315 - - *401 - - &449 + - *309 + - *310 + - *396 + - &444 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &450 + - &445 name: status description: Returns check runs with the specified `status`. in: query @@ -61911,9 +62588,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *390 examples: - default: &451 + default: &446 value: total_count: 1 check_runs: @@ -61995,7 +62672,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62015,15 +62692,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *314 - - *315 - - *401 + - *309 + - *310 + - *396 responses: '201': description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -62050,21 +62727,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *314 - - *315 - - *402 - - *403 + - *309 + - *310 + - *397 + - *398 - *19 - *17 - - &420 + - &415 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *404 - - &421 + schema: *399 + - &416 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62089,13 +62766,13 @@ paths: be returned. in: query required: false - schema: *405 + schema: *400 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *406 + schema: *401 responses: '200': description: Response @@ -62106,24 +62783,24 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 - state: *151 - fixed_at: *147 + number: *151 + created_at: *152 + updated_at: *153 + url: *154 + html_url: *155 + instances_url: *402 + state: *160 + fixed_at: *156 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 - rule: *410 - tool: *411 - most_recent_instance: *412 + dismissed_at: *157 + dismissed_reason: *403 + dismissed_comment: *404 + rule: *405 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -62246,14 +62923,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &413 + '403': &408 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62273,9 +62950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *314 - - *315 - - &414 + - *309 + - *310 + - &409 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62283,30 +62960,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *52 + schema: *151 responses: '200': description: Response content: application/json: - schema: &415 + schema: &410 type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 - state: *151 - fixed_at: *147 + number: *151 + created_at: *152 + updated_at: *153 + url: *154 + html_url: *155 + instances_url: *402 + state: *160 + fixed_at: *156 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_at: *157 + dismissed_reason: *403 + dismissed_comment: *404 rule: type: object properties: @@ -62368,8 +63045,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *411 - most_recent_instance: *412 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -62465,9 +63142,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62485,9 +63162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 requestBody: required: true content: @@ -62502,8 +63179,8 @@ paths: enum: - open - dismissed - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *403 + dismissed_comment: *404 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62522,7 +63199,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *410 examples: default: value: @@ -62598,14 +63275,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &419 + '403': &414 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62625,15 +63302,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 responses: '200': description: Response content: application/json: - schema: &416 + schema: &411 type: object properties: status: @@ -62660,13 +63337,13 @@ paths: - description - started_at examples: - default: &417 + default: &412 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &418 + '400': &413 description: Bad Request content: application/json: @@ -62677,9 +63354,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62702,29 +63379,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 responses: '200': description: OK content: application/json: - schema: *416 + schema: *411 examples: - default: *417 + default: *412 '202': description: Accepted content: application/json: - schema: *416 + schema: *411 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *418 + '400': *413 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62734,7 +63411,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62756,9 +63433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 requestBody: required: false content: @@ -62804,12 +63481,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *418 - '403': *419 + '400': *413 + '403': *414 '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62829,13 +63506,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 - *19 - *17 - - *420 - - *421 + - *415 + - *416 responses: '200': description: Response @@ -62843,7 +63520,7 @@ paths: application/json: schema: type: array - items: *412 + items: *407 examples: default: value: @@ -62882,9 +63559,9 @@ paths: end_column: 50 classifications: - source - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62916,25 +63593,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *314 - - *315 - - *402 - - *403 + - *309 + - *310 + - *397 + - *398 - *19 - *17 - - *421 + - *416 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *404 + schema: *399 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &424 + schema: &419 type: string description: An identifier for the upload. examples: @@ -62956,23 +63633,23 @@ paths: application/json: schema: type: array - items: &425 + items: &420 type: object properties: - ref: *404 - commit_sha: &433 + ref: *399 + commit_sha: &428 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *422 + analysis_key: *417 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *423 + category: *418 error: type: string examples: @@ -62997,8 +63674,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *424 - tool: *411 + sarif_id: *419 + tool: *406 deletable: type: boolean warning: @@ -63060,9 +63737,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63096,8 +63773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63110,7 +63787,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *420 examples: response: summary: application/json response @@ -63164,14 +63841,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *413 + '403': *408 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63251,8 +63928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63308,9 +63985,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *419 + '403': *414 '404': *6 - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63330,8 +64007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -63339,7 +64016,7 @@ paths: application/json: schema: type: array - items: &426 + items: &421 title: CodeQL Database description: A CodeQL database. type: object @@ -63451,9 +64128,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63480,8 +64157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63493,7 +64170,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *421 examples: default: value: @@ -63525,11 +64202,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &456 + '302': &451 description: Found - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63549,8 +64226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *314 - - *315 + - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63560,9 +64237,9 @@ paths: responses: '204': description: Response - '403': *419 + '403': *414 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63588,8 +64265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -63598,7 +64275,7 @@ paths: type: object additionalProperties: false properties: - language: &427 + language: &422 type: string description: The language targeted by the CodeQL query enum: @@ -63677,7 +64354,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &431 + schema: &426 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63687,7 +64364,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *427 + query_language: *422 query_pack_url: type: string description: The download url for the query pack. @@ -63735,7 +64412,7 @@ paths: items: type: object properties: - repository: &428 + repository: &423 title: Repository Identifier description: Repository Identifier type: object @@ -63777,7 +64454,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &432 + analysis_status: &427 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63809,7 +64486,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &429 + access_mismatch_repos: &424 type: object properties: repository_count: @@ -63824,7 +64501,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *428 + items: *423 required: - repository_count - repositories @@ -63847,8 +64524,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *429 - over_limit_repos: *429 + no_codeql_db_repos: *424 + over_limit_repos: *424 required: - access_mismatch_repos - not_found_repos @@ -63864,7 +64541,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &430 + value: &425 summary: Default response value: id: 1 @@ -64016,17 +64693,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *430 + value: *425 repository_lists: summary: Response for a successful variant analysis submission - value: *430 + value: *425 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64047,8 +64724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *309 + - *310 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64060,11 +64737,11 @@ paths: description: Response content: application/json: - schema: *431 + schema: *426 examples: - default: *430 + default: *425 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64085,7 +64762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *314 + - *309 - name: repo in: path description: The name of the controller repository. @@ -64120,7 +64797,7 @@ paths: type: object properties: repository: *51 - analysis_status: *432 + analysis_status: *427 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64224,7 +64901,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64245,8 +64922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -64339,9 +65016,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64360,8 +65037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -64430,7 +65107,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -64455,7 +65132,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *419 + '403': *414 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64469,7 +65146,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64526,8 +65203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -64535,7 +65212,7 @@ paths: schema: type: object properties: - commit_sha: *433 + commit_sha: *428 ref: type: string description: |- @@ -64595,7 +65272,7 @@ paths: schema: type: object properties: - id: *424 + id: *419 url: type: string description: The REST API URL for checking the status of the upload. @@ -64609,11 +65286,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *419 + '403': *414 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64632,8 +65309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *314 - - *315 + - *309 + - *310 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64681,10 +65358,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *413 + '403': *408 '404': description: Not Found if the sarif id does not match any upload - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64706,8 +65383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -64763,7 +65440,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *156 + '204': *165 '304': *35 '403': *27 '404': *6 @@ -64788,8 +65465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *314 - - *315 + - *309 + - *310 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -64917,8 +65594,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -64934,7 +65611,7 @@ paths: type: integer codespaces: type: array - items: *204 + items: *210 examples: default: value: @@ -65210,7 +65887,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -65232,8 +65909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -65297,22 +65974,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65336,8 +66013,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -65377,7 +66054,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *100 + '500': *98 '400': *14 '401': *23 '403': *27 @@ -65401,8 +66078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65439,9 +66116,9 @@ paths: type: integer machines: type: array - items: *435 + items: *430 examples: - default: &637 + default: &642 value: total_count: 2 machines: @@ -65458,7 +66135,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -65481,8 +66158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *314 - - *315 + - *309 + - *310 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65569,8 +66246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *314 - - *315 + - *309 + - *310 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -65618,7 +66295,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65639,8 +66316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -65658,7 +66335,7 @@ paths: type: integer secrets: type: array - items: &439 + items: &434 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65679,9 +66356,9 @@ paths: - created_at - updated_at examples: - default: *436 + default: *431 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65702,16 +66379,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *437 + schema: *432 examples: - default: *438 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65731,17 +66408,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 responses: '200': description: Response content: application/json: - schema: *439 + schema: *434 examples: - default: *440 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65761,9 +66438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 requestBody: required: true content: @@ -65791,7 +66468,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -65815,9 +66492,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 responses: '204': description: Response @@ -65845,8 +66522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *314 - - *315 + - *309 + - *310 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65884,7 +66561,7 @@ paths: application/json: schema: type: array - items: &441 + items: &436 title: Collaborator description: Collaborator type: object @@ -66052,7 +66729,7 @@ paths: admin: false role_name: write headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66077,9 +66754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 responses: '204': description: Response if user is a collaborator @@ -66125,9 +66802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 requestBody: required: false content: @@ -66153,7 +66830,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &505 + schema: &500 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66165,7 +66842,7 @@ paths: format: int64 examples: - 42 - repository: *131 + repository: *135 invitee: anyOf: - type: 'null' @@ -66341,7 +67018,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *105 + schema: *104 '403': *27 x-github: triggersNotification: true @@ -66381,9 +67058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66414,9 +67091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 responses: '200': description: if user has admin permissions @@ -66436,7 +67113,7 @@ paths: user: anyOf: - type: 'null' - - *441 + - *436 required: - permission - role_name @@ -66490,8 +67167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -66501,7 +67178,7 @@ paths: application/json: schema: type: array - items: &442 + items: &437 title: Commit Comment description: Commit Comment type: object @@ -66542,8 +67219,8 @@ paths: updated_at: type: string format: date-time - author_association: *69 - reactions: *70 + author_association: *67 + reactions: *68 required: - url - html_url @@ -66559,7 +67236,7 @@ paths: - created_at - updated_at examples: - default: &445 + default: &440 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66593,7 +67270,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66618,17 +67295,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '200': description: Response content: application/json: - schema: *442 + schema: *437 examples: - default: &446 + default: &441 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66685,9 +67362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -66709,7 +67386,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *437 examples: default: value: @@ -66760,9 +67437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '204': description: Response @@ -66783,9 +67460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -66811,11 +67488,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66834,9 +67511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -66868,16 +67545,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -66899,10 +67576,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *314 - - *315 - - *84 + - *309 - *310 + - *81 + - *305 responses: '204': description: Response @@ -66951,8 +67628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *314 - - *315 + - *309 + - *310 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67008,9 +67685,9 @@ paths: application/json: schema: type: array - items: *443 + items: *438 examples: - default: &551 + default: &548 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67080,8 +67757,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *57 - '500': *100 + Link: *52 + '500': *98 '400': *14 '404': *6 '409': *45 @@ -67104,9 +67781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *314 - - *315 - - &444 + - *309 + - *310 + - &439 name: commit_sha description: The SHA of the commit. in: path @@ -67178,9 +67855,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 - *17 - *19 responses: @@ -67190,11 +67867,11 @@ paths: application/json: schema: type: array - items: *442 + items: *437 examples: - default: *445 + default: *440 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67220,9 +67897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 requestBody: required: true content: @@ -67257,9 +67934,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *437 examples: - default: *446 + default: *441 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67287,9 +67964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 - *17 - *19 responses: @@ -67299,9 +67976,9 @@ paths: application/json: schema: type: array - items: *447 + items: *442 examples: - default: &543 + default: &540 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67780,7 +68457,7 @@ paths: auto_merge: draft: false headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -67838,11 +68515,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *314 - - *315 + - *309 + - *310 - *19 - *17 - - &448 + - &443 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -67857,9 +68534,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *438 examples: - default: &531 + default: &526 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67945,8 +68622,8 @@ paths: ..... '422': *15 '404': *6 - '500': *100 - '503': *73 + '500': *98 + '503': *99 '409': *45 x-github: githubCloudOnly: false @@ -67972,11 +68649,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *314 - - *315 - - *448 - - *449 - - *450 + - *309 + - *310 + - *443 + - *444 + - *445 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68010,11 +68687,11 @@ paths: type: integer check_runs: type: array - items: *395 + items: *390 examples: - default: *451 + default: *446 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68037,9 +68714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *314 - - *315 - - *448 + - *309 + - *310 + - *443 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68047,7 +68724,7 @@ paths: schema: type: integer example: 1 - - *449 + - *444 - *17 - *19 responses: @@ -68065,7 +68742,7 @@ paths: type: integer check_suites: type: array - items: *399 + items: *394 examples: default: value: @@ -68240,7 +68917,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68265,9 +68942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *314 - - *315 - - *448 + - *309 + - *310 + - *443 - *17 - *19 responses: @@ -68338,7 +69015,7 @@ paths: type: string total_count: type: integer - repository: *131 + repository: *135 commit_url: type: string format: uri @@ -68469,9 +69146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *314 - - *315 - - *448 + - *309 + - *310 + - *443 - *17 - *19 responses: @@ -68481,7 +69158,7 @@ paths: application/json: schema: type: array - items: &608 + items: &613 title: Status description: The status of a commit. type: object @@ -68561,8 +69238,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68590,8 +69267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -68624,11 +69301,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *452 + - *447 code_of_conduct_file: anyOf: - type: 'null' - - &453 + - &448 title: Community Health File type: object properties: @@ -68644,23 +69321,23 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 contributing: anyOf: - type: 'null' - - *453 + - *448 readme: anyOf: - type: 'null' - - *453 + - *448 issue_template: anyOf: - type: 'null' - - *453 + - *448 pull_request_template: anyOf: - type: 'null' - - *453 + - *448 required: - code_of_conduct - code_of_conduct_file @@ -68789,8 +69466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *314 - - *315 + - *309 + - *310 - *19 - *17 - name: basehead @@ -68838,8 +69515,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *443 - merge_base_commit: *443 + base_commit: *438 + merge_base_commit: *438 status: type: string enum: @@ -68863,10 +69540,10 @@ paths: - 6 commits: type: array - items: *443 + items: *438 files: type: array - items: *454 + items: *449 required: - url - html_url @@ -69109,8 +69786,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69152,8 +69829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *314 - - *315 + - *309 + - *310 - name: path description: path parameter in: path @@ -69306,7 +69983,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &455 + response-if-content-is-a-file: &450 summary: Response if content is a file value: type: file @@ -69443,7 +70120,7 @@ paths: - size - type - url - - &556 + - &553 title: Content File description: Content File type: object @@ -69661,7 +70338,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *455 + response-if-content-is-a-file: *450 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69730,7 +70407,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *456 + '302': *451 '304': *35 x-github: githubCloudOnly: false @@ -69753,8 +70430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *314 - - *315 + - *309 + - *310 - name: path description: path parameter in: path @@ -69849,7 +70526,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &452 title: File Commit description: File Commit type: object @@ -70005,7 +70682,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *452 examples: example-for-creating-a-file: value: @@ -70059,7 +70736,7 @@ paths: schema: oneOf: - *3 - - &487 + - &482 description: Repository rule violation was detected type: object properties: @@ -70080,7 +70757,7 @@ paths: items: type: object properties: - placeholder_id: &600 + placeholder_id: &605 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70112,8 +70789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *314 - - *315 + - *309 + - *310 - name: path description: path parameter in: path @@ -70174,7 +70851,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *452 examples: default: value: @@ -70209,7 +70886,7 @@ paths: '422': *15 '404': *6 '409': *45 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70229,8 +70906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *314 - - *315 + - *309 + - *310 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70331,7 +71008,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *57 + Link: *52 '204': description: Response if repository is empty '403': *27 @@ -70354,31 +71031,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *314 - - *315 - - *162 - - *163 - - *164 - - *165 + - *309 + - *310 + - *170 + - *171 + - *172 + - *173 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *166 - - *458 - - *167 - - *168 + - *174 + - *453 + - *175 + - *176 - *46 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -70389,8 +71058,6 @@ paths: default: 30 - *38 - *39 - - *169 - - *170 responses: '200': description: Response @@ -70398,11 +71065,11 @@ paths: application/json: schema: type: array - items: &461 + items: &456 type: object description: A Dependabot alert. properties: - number: *52 + number: *151 state: type: string description: The state of the Dependabot alert. @@ -70448,13 +71115,13 @@ paths: - direct - transitive - - security_advisory: *459 + security_advisory: *454 security_vulnerability: *50 - url: *55 - html_url: *56 - created_at: *53 - updated_at: *54 - dismissed_at: *148 + url: *154 + html_url: *155 + created_at: *152 + updated_at: *153 + dismissed_at: *157 dismissed_by: anyOf: - type: 'null' @@ -70478,8 +71145,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *147 - auto_dismissed_at: *460 + fixed_at: *156 + auto_dismissed_at: *455 required: - number - state @@ -70709,9 +71376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *314 - - *315 - - &462 + - *309 + - *310 + - &457 name: alert_number in: path description: |- @@ -70720,13 +71387,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *52 + schema: *151 responses: '200': description: Response content: application/json: - schema: *461 + schema: *456 examples: default: value: @@ -70839,9 +71506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *314 - - *315 - - *462 + - *309 + - *310 + - *457 requestBody: required: true content: @@ -70886,7 +71553,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *456 examples: default: value: @@ -71015,8 +71682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -71034,7 +71701,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &460 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71066,7 +71733,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71088,16 +71755,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *463 + schema: *458 examples: - default: *464 + default: *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71117,15 +71784,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 responses: '200': description: Response content: application/json: - schema: *465 + schema: *460 examples: default: value: @@ -71151,9 +71818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 requestBody: required: true content: @@ -71181,7 +71848,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -71205,9 +71872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 responses: '204': description: Response @@ -71229,8 +71896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *314 - - *315 + - *309 + - *310 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -71380,7 +72047,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *57 + Link: *52 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -71404,8 +72071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -71642,7 +72309,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *57 + Link: *52 '404': *6 '403': *27 x-github: @@ -71665,8 +72332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -71749,7 +72416,7 @@ paths: - version - url additionalProperties: false - metadata: &466 + metadata: &461 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71788,7 +72455,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *466 + metadata: *461 resolved: type: object description: A collection of resolved package dependencies. @@ -71802,7 +72469,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *466 + metadata: *461 relationship: type: string description: A notation of whether a dependency is requested @@ -71935,8 +72602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *314 - - *315 + - *309 + - *310 - name: sha description: The SHA recorded at creation time. in: query @@ -71977,11 +72644,11 @@ paths: application/json: schema: type: array - items: *467 + items: *462 examples: - default: *468 + default: *463 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72045,8 +72712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -72128,7 +72795,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *462 examples: simple-example: summary: Simple example @@ -72201,9 +72868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *314 - - *315 - - &469 + - *309 + - *310 + - &464 name: deployment_id description: deployment_id parameter in: path @@ -72215,7 +72882,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *462 examples: default: value: @@ -72280,9 +72947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 responses: '204': description: Response @@ -72304,9 +72971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 - *17 - *19 responses: @@ -72316,7 +72983,7 @@ paths: application/json: schema: type: array - items: &470 + items: &465 title: Deployment Status description: The status of a deployment. type: object @@ -72460,7 +73127,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -72480,9 +73147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 requestBody: required: true content: @@ -72557,9 +73224,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *465 examples: - default: &471 + default: &466 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72615,9 +73282,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 - name: status_id in: path required: true @@ -72628,9 +73295,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *465 examples: - default: *471 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -72655,8 +73322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -72713,8 +73380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -72732,7 +73399,7 @@ paths: - 5 environments: type: array - items: &473 + items: &468 title: Environment description: Details of a deployment environment type: object @@ -72794,7 +73461,7 @@ paths: type: string examples: - wait_timer - wait_timer: &475 + wait_timer: &470 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72836,11 +73503,11 @@ paths: items: type: object properties: - type: *472 + type: *467 reviewer: anyOf: - *4 - - *161 + - *169 required: - id - node_id @@ -72863,7 +73530,7 @@ paths: - id - node_id - type - deployment_branch_policy: &476 + deployment_branch_policy: &471 type: - object - 'null' @@ -72980,9 +73647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *314 - - *315 - - &474 + - *309 + - *310 + - &469 name: environment_name in: path required: true @@ -72995,9 +73662,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *468 examples: - default: &477 + default: &472 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73081,9 +73748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 requestBody: required: false content: @@ -73093,7 +73760,7 @@ paths: - object - 'null' properties: - wait_timer: *475 + wait_timer: *470 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73112,14 +73779,14 @@ paths: items: type: object properties: - type: *472 + type: *467 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *476 + deployment_branch_policy: *471 additionalProperties: false examples: default: @@ -73139,9 +73806,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *468 examples: - default: *477 + default: *472 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73165,9 +73832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 responses: '204': description: Default response @@ -73192,9 +73859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 - *17 - *19 responses: @@ -73213,7 +73880,7 @@ paths: - 2 branch_policies: type: array - items: &478 + items: &473 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73274,9 +73941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 requestBody: required: true content: @@ -73324,9 +73991,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: - example-wildcard: &479 + example-wildcard: &474 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73368,10 +74035,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - &480 + - *309 + - *310 + - *469 + - &475 name: branch_policy_id in: path required: true @@ -73383,9 +74050,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: - default: *479 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73404,10 +74071,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - *480 + - *309 + - *310 + - *469 + - *475 requestBody: required: true content: @@ -73436,9 +74103,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: - default: *479 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73457,10 +74124,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - *480 + - *309 + - *310 + - *469 + - *475 responses: '204': description: Response @@ -73485,9 +74152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *474 - - *315 - - *314 + - *469 + - *310 + - *309 responses: '200': description: List of deployment protection rules @@ -73504,7 +74171,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &481 + items: &476 title: Deployment protection rule description: Deployment protection rule type: object @@ -73526,7 +74193,7 @@ paths: for the environment. examples: - true - app: &482 + app: &477 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73629,9 +74296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *474 - - *315 - - *314 + - *469 + - *310 + - *309 requestBody: content: application/json: @@ -73652,9 +74319,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *481 + schema: *476 examples: - default: &483 + default: &478 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73689,9 +74356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *474 - - *315 - - *314 + - *469 + - *310 + - *309 - *19 - *17 responses: @@ -73711,7 +74378,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *482 + items: *477 examples: default: value: @@ -73746,10 +74413,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *314 - - *315 - - *474 - - &484 + - *309 + - *310 + - *469 + - &479 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73761,9 +74428,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *476 examples: - default: *483 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73784,10 +74451,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *474 - - *315 - - *314 - - *484 + - *469 + - *310 + - *309 + - *479 responses: '204': description: Response @@ -73813,9 +74480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 - *17 - *19 responses: @@ -73833,11 +74500,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *357 examples: - default: *363 + default: *358 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73860,17 +74527,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 responses: '200': description: Response content: application/json: - schema: *364 + schema: *359 examples: - default: *365 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73892,18 +74559,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *309 + - *310 + - *469 + - *143 responses: '200': description: Response content: application/json: - schema: *362 + schema: *357 examples: - default: *485 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73925,10 +74592,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *309 + - *310 + - *469 + - *143 requestBody: required: true content: @@ -73959,7 +74626,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -73985,10 +74652,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *309 + - *310 + - *469 + - *143 responses: '204': description: Default response @@ -74013,10 +74680,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *314 - - *315 - - *474 - - *333 + - *309 + - *310 + - *469 + - *328 - *19 responses: '200': @@ -74033,11 +74700,11 @@ paths: type: integer variables: type: array - items: *366 + items: *361 examples: - default: *367 + default: *362 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74058,9 +74725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 requestBody: required: true content: @@ -74087,7 +74754,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -74112,18 +74779,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *314 - - *315 - - *474 - - *142 + - *309 + - *310 + - *469 + - *146 responses: '200': description: Response content: application/json: - schema: *366 + schema: *361 examples: - default: *486 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74144,10 +74811,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *309 + - *310 + - *146 + - *469 requestBody: required: true content: @@ -74189,10 +74856,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *309 + - *310 + - *146 + - *469 responses: '204': description: Response @@ -74214,8 +74881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -74225,7 +74892,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -74283,8 +74950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *314 - - *315 + - *309 + - *310 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74306,7 +74973,7 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: default: value: @@ -74419,7 +75086,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *57 + Link: *52 '400': *14 x-github: githubCloudOnly: false @@ -74443,8 +75110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -74477,9 +75144,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 '400': *14 '422': *15 '403': *27 @@ -74500,8 +75167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -74560,8 +75227,8 @@ paths: application/json: schema: oneOf: - - *105 - - *487 + - *104 + - *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74586,8 +75253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *314 - - *315 + - *309 + - *310 - name: file_sha in: path required: true @@ -74687,8 +75354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -74797,7 +75464,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &483 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75024,15 +75691,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 responses: '200': description: Response content: application/json: - schema: *488 + schema: *483 examples: default: value: @@ -75088,9 +75755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *314 - - *315 - - &489 + - *309 + - *310 + - &484 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -75107,7 +75774,7 @@ paths: application/json: schema: type: array - items: &490 + items: &485 title: Git Reference description: Git references within a repository type: object @@ -75161,7 +75828,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -75183,17 +75850,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *314 - - *315 - - *489 + - *309 + - *310 + - *484 responses: '200': description: Response content: application/json: - schema: *490 + schema: *485 examples: - default: &491 + default: &486 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75222,8 +75889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -75252,9 +75919,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *485 examples: - default: *491 + default: *486 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75280,9 +75947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *314 - - *315 - - *489 + - *309 + - *310 + - *484 requestBody: required: true content: @@ -75311,9 +75978,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *485 examples: - default: *491 + default: *486 '422': *15 '409': *45 x-github: @@ -75331,9 +75998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *314 - - *315 - - *489 + - *309 + - *310 + - *484 responses: '204': description: Response @@ -75388,8 +76055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -75456,7 +76123,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &488 title: Git Tag description: Metadata for a Git tag type: object @@ -75512,7 +76179,7 @@ paths: - sha - type - url - verification: *492 + verification: *487 required: - sha - url @@ -75522,7 +76189,7 @@ paths: - tag - message examples: - default: &494 + default: &489 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75595,8 +76262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *314 - - *315 + - *309 + - *310 - name: tag_sha in: path required: true @@ -75607,9 +76274,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *488 examples: - default: *494 + default: *489 '404': *6 '409': *45 x-github: @@ -75633,8 +76300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -75708,7 +76375,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &490 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75810,8 +76477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *314 - - *315 + - *309 + - *310 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75834,7 +76501,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *490 examples: default-response: summary: Default response @@ -75893,8 +76560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -75904,7 +76571,7 @@ paths: application/json: schema: type: array - items: &496 + items: &491 title: Webhook description: Webhooks for repositories. type: object @@ -75967,7 +76634,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &719 + last_response: &723 title: Hook Response type: object properties: @@ -76025,7 +76692,7 @@ paths: status: unused message: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -76044,8 +76711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -76098,9 +76765,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *491 examples: - default: &497 + default: &492 value: type: Repository id: 12345678 @@ -76148,17 +76815,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 responses: '200': description: Response content: application/json: - schema: *496 + schema: *491 examples: - default: *497 + default: *492 '404': *6 x-github: githubCloudOnly: false @@ -76178,9 +76845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 requestBody: required: true content: @@ -76225,9 +76892,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *491 examples: - default: *497 + default: *492 '422': *15 '404': *6 x-github: @@ -76248,9 +76915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 responses: '204': description: Response @@ -76274,9 +76941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 responses: '200': description: Response @@ -76303,9 +76970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 requestBody: required: false content: @@ -76349,11 +77016,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 - *17 - - *177 + - *183 responses: '200': description: Response @@ -76361,9 +77028,9 @@ paths: application/json: schema: type: array - items: *178 + items: *184 examples: - default: *179 + default: *185 '400': *14 '422': *15 x-github: @@ -76382,18 +77049,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 - *16 responses: '200': description: Response content: application/json: - schema: *180 + schema: *186 examples: - default: *181 + default: *187 '400': *14 '422': *15 x-github: @@ -76412,9 +77079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 - *16 responses: '202': *37 @@ -76437,9 +77104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 responses: '204': description: Response @@ -76464,9 +77131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 responses: '204': description: Response @@ -76489,8 +77156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response if immutable releases are enabled @@ -76538,10 +77205,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *165 '409': *45 x-github: githubCloudOnly: false @@ -76559,10 +77226,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *165 '409': *45 x-github: githubCloudOnly: false @@ -76617,14 +77284,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &498 + schema: &493 title: Import description: A repository import from an external source. type: object @@ -76731,7 +77398,7 @@ paths: - html_url - authors_url examples: - default: &501 + default: &496 value: vcs: subversion use_lfs: true @@ -76747,7 +77414,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &499 + '503': &494 description: Unavailable due to service under maintenance. content: application/json: @@ -76776,8 +77443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -76825,7 +77492,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *493 examples: default: value: @@ -76850,7 +77517,7 @@ paths: type: string '422': *15 '404': *6 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76878,8 +77545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -76931,7 +77598,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *493 examples: example-1: summary: Example 1 @@ -76979,7 +77646,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77002,12 +77669,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77033,9 +77700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *314 - - *315 - - &659 + - *309 + - *310 + - &663 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77049,7 +77716,7 @@ paths: application/json: schema: type: array - items: &500 + items: &495 title: Porter Author description: Porter Author type: object @@ -77103,7 +77770,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77128,8 +77795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *314 - - *315 + - *309 + - *310 - name: author_id in: path required: true @@ -77159,7 +77826,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *495 examples: default: value: @@ -77172,7 +77839,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77196,8 +77863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -77238,7 +77905,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77266,8 +77933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -77294,11 +77961,11 @@ paths: description: Response content: application/json: - schema: *498 + schema: *493 examples: - default: *501 + default: *496 '422': *15 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77321,8 +77988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -77330,8 +77997,8 @@ paths: application/json: schema: *20 examples: - default: *502 - '301': *323 + default: *497 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -77351,8 +78018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -77360,12 +78027,12 @@ paths: application/json: schema: anyOf: - - *194 + - *200 - type: object properties: {} additionalProperties: false examples: - default: &504 + default: &499 value: limit: collaborators_only origin: repository @@ -77390,13 +78057,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: application/json: - schema: *503 + schema: *498 examples: default: summary: Example request body @@ -77408,9 +78075,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *200 examples: - default: *504 + default: *499 '409': description: Response x-github: @@ -77432,8 +78099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -77456,8 +78123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -77467,9 +78134,9 @@ paths: application/json: schema: type: array - items: *505 + items: *500 examples: - default: &652 + default: &656 value: - id: 1 repository: @@ -77583,7 +78250,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77600,9 +78267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *314 - - *315 - - *198 + - *309 + - *310 + - *204 requestBody: required: false content: @@ -77631,7 +78298,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *500 examples: default: value: @@ -77762,9 +78429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *314 - - *315 - - *198 + - *309 + - *310 + - *204 responses: '204': description: Response @@ -77795,8 +78462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *314 - - *315 + - *309 + - *310 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -77844,7 +78511,7 @@ paths: required: false schema: type: string - - *202 + - *208 - name: sort description: What to sort results by. in: query @@ -77857,7 +78524,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -77867,9 +78534,9 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: &512 + default: &507 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78016,8 +78683,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '422': *15 '404': *6 x-github: @@ -78046,8 +78713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -78137,9 +78804,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: &509 + default: &504 value: id: 1 node_id: MDU6SXNzdWUx @@ -78293,9 +78960,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *73 + '503': *99 '404': *6 - '410': *320 + '410': *315 x-github: triggersNotification: true githubCloudOnly: false @@ -78323,9 +78990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *314 - - *315 - - *92 + - *309 + - *310 + - *89 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78335,7 +79002,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -78345,9 +79012,9 @@ paths: application/json: schema: type: array - items: *506 + items: *501 examples: - default: &511 + default: &506 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78378,7 +79045,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '404': *6 x-github: @@ -78405,17 +79072,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '200': description: Response content: application/json: - schema: *506 + schema: *501 examples: - default: &507 + default: &502 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78469,9 +79136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -78493,9 +79160,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *501 examples: - default: *507 + default: *502 '422': *15 x-github: githubCloudOnly: false @@ -78513,9 +79180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '204': description: Response @@ -78535,9 +79202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -78563,11 +79230,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -78586,9 +79253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -78620,16 +79287,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -78651,10 +79318,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *314 - - *315 - - *84 + - *309 - *310 + - *81 + - *305 responses: '204': description: Response @@ -78674,8 +79341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -78685,7 +79352,7 @@ paths: application/json: schema: type: array - items: &508 + items: &503 title: Issue Event description: Issue Event type: object @@ -78732,7 +79399,7 @@ paths: issue: anyOf: - type: 'null' - - *68 + - *66 label: title: Issue Event Label description: Issue Event Label @@ -78765,7 +79432,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *161 + requested_team: *169 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78832,7 +79499,7 @@ paths: required: - from - to - author_association: *69 + author_association: *67 lock_reason: type: - string @@ -79006,7 +79673,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -79024,8 +79691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *314 - - *315 + - *309 + - *310 - name: event_id in: path required: true @@ -79036,7 +79703,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *503 examples: default: value: @@ -79229,7 +79896,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *320 + '410': *315 '403': *27 x-github: githubCloudOnly: false @@ -79263,9 +79930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *314 - - *315 - - &510 + - *309 + - *310 + - &505 name: issue_number description: The number that identifies the issue. in: path @@ -79277,12 +79944,12 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *504 + '301': *318 '404': *6 - '410': *320 + '410': *315 '304': *35 x-github: githubCloudOnly: false @@ -79307,9 +79974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -79428,15 +80095,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 '422': *15 - '503': *73 + '503': *99 '403': *27 - '301': *323 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79454,9 +80121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -79482,9 +80149,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79500,9 +80167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: content: application/json: @@ -79527,9 +80194,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79551,9 +80218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: assignee in: path required: true @@ -79593,10 +80260,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *314 - - *315 - - *510 - - *75 + - *309 + - *310 + - *505 + - *72 - *17 - *19 responses: @@ -79606,13 +80273,13 @@ paths: application/json: schema: type: array - items: *506 + items: *501 examples: - default: *511 + default: *506 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79641,9 +80308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -79665,16 +80332,16 @@ paths: description: Response content: application/json: - schema: *506 + schema: *501 examples: - default: *507 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *320 + '410': *315 '422': *15 '404': *6 x-github: @@ -79702,9 +80369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -79714,14 +80381,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *507 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79749,9 +80416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -79773,17 +80440,17 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *323 + '301': *318 '403': *27 - '410': *320 + '410': *315 '422': *15 '404': *6 x-github: @@ -79814,9 +80481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79828,15 +80495,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *504 + '301': *318 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *315 x-github: triggersNotification: true githubCloudOnly: false @@ -79862,9 +80529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -79874,14 +80541,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *507 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79898,9 +80565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -79914,7 +80581,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &514 + - &509 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79963,7 +80630,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &510 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80091,7 +80758,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &511 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80137,7 +80804,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &512 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80183,7 +80850,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &513 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80232,7 +80899,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &514 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80261,7 +80928,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *169 requested_reviewer: *4 required: - review_requester @@ -80274,7 +80941,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &515 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80303,7 +80970,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *169 requested_reviewer: *4 required: - review_requester @@ -80316,7 +80983,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &516 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80372,7 +81039,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &517 title: Locked Issue Event description: Locked Issue Event type: object @@ -80417,7 +81084,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &518 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80478,7 +81145,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &519 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80539,7 +81206,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &520 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80600,7 +81267,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &521 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80692,8 +81359,8 @@ paths: name: label color: red headers: - Link: *57 - '410': *320 + Link: *52 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80710,9 +81377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -80722,9 +81389,9 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: &513 + default: &508 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80741,10 +81408,10 @@ paths: color: a2eeef default: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80761,9 +81428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -80822,12 +81489,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *508 + '301': *318 '404': *6 - '410': *320 + '410': *315 '422': *15 x-github: githubCloudOnly: false @@ -80844,9 +81511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -80906,12 +81573,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *508 + '301': *318 '404': *6 - '410': *320 + '410': *315 '422': *15 x-github: githubCloudOnly: false @@ -80928,15 +81595,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 responses: '204': description: Response - '301': *323 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80955,9 +81622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: name in: path required: true @@ -80970,7 +81637,7 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: default: value: @@ -80981,9 +81648,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *323 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81003,9 +81670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -81034,7 +81701,7 @@ paths: '204': description: Response '403': *27 - '410': *320 + '410': *315 '404': *6 '422': *15 x-github: @@ -81052,9 +81719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 responses: '204': description: Response @@ -81084,20 +81751,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 responses: '200': description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *504 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81114,9 +81781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -81142,13 +81809,13 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81166,9 +81833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81200,16 +81867,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -81231,10 +81898,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *314 - - *315 - - *510 + - *309 - *310 + - *505 + - *305 responses: '204': description: Response @@ -81263,9 +81930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81287,9 +81954,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81322,9 +81989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -81334,13 +82001,13 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *507 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81368,9 +82035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81397,16 +82064,16 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *320 + '410': *315 '422': *15 '404': *6 x-github: @@ -81426,9 +82093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81459,13 +82126,13 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 '403': *27 '404': *6 '422': *7 - '503': *73 + '503': *99 x-github: triggersNotification: true githubCloudOnly: false @@ -81483,9 +82150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -81500,6 +82167,11 @@ paths: description: Timeline Event type: object anyOf: + - *509 + - *510 + - *511 + - *512 + - *513 - *514 - *515 - *516 @@ -81508,11 +82180,6 @@ paths: - *519 - *520 - *521 - - *522 - - *523 - - *524 - - *525 - - *526 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81560,12 +82227,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - event - actor @@ -81596,7 +82263,7 @@ paths: properties: type: type: string - issue: *68 + issue: *66 required: - event - created_at @@ -81818,7 +82485,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - event - id @@ -81841,7 +82508,7 @@ paths: type: string comments: type: array - items: &545 + items: &542 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81946,7 +82613,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *67 _links: type: object properties: @@ -82041,7 +82708,7 @@ paths: enum: - line - file - reactions: *70 + reactions: *68 body_html: type: string examples: @@ -82079,7 +82746,7 @@ paths: type: string comments: type: array - items: *442 + items: *437 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82352,9 +83019,9 @@ paths: type: User site_admin: true headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82371,8 +83038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -82382,7 +83049,7 @@ paths: application/json: schema: type: array - items: &527 + items: &522 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82434,7 +83101,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82450,8 +83117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -82487,9 +83154,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: &528 + default: &523 value: id: 1 key: ssh-rsa AAA... @@ -82523,9 +83190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *314 - - *315 - - &529 + - *309 + - *310 + - &524 name: key_id description: The unique identifier of the key. in: path @@ -82537,9 +83204,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: *528 + default: *523 '404': *6 x-github: githubCloudOnly: false @@ -82557,9 +83224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *314 - - *315 - - *529 + - *309 + - *310 + - *524 responses: '204': description: Response @@ -82579,8 +83246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -82590,11 +83257,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *508 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -82613,8 +83280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -82650,9 +83317,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: &530 + default: &525 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82684,8 +83351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *314 - - *315 + - *309 + - *310 - name: name in: path required: true @@ -82696,9 +83363,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: *530 + default: *525 '404': *6 x-github: githubCloudOnly: false @@ -82715,8 +83382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *314 - - *315 + - *309 + - *310 - name: name in: path required: true @@ -82755,7 +83422,7 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: default: value: @@ -82781,8 +83448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *314 - - *315 + - *309 + - *310 - name: name in: path required: true @@ -82808,8 +83475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -82848,9 +83515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *314 - - *315 - - *420 + - *309 + - *310 + - *415 responses: '200': description: Response @@ -82916,7 +83583,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 required: - _links - git_url @@ -82997,8 +83664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83063,8 +83730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83098,9 +83765,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *443 + schema: *438 examples: - default: *531 + default: *526 '204': description: Response when already merged '404': @@ -83125,8 +83792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *314 - - *315 + - *309 + - *310 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83167,7 +83834,7 @@ paths: application/json: schema: type: array - items: *238 + items: *244 examples: default: value: @@ -83206,7 +83873,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -83223,8 +83890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83264,9 +83931,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *244 examples: - default: &532 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83325,9 +83992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *314 - - *315 - - &533 + - *309 + - *310 + - &528 name: milestone_number description: The number that identifies the milestone. in: path @@ -83339,9 +84006,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *244 examples: - default: *532 + default: *527 '404': *6 x-github: githubCloudOnly: false @@ -83358,9 +84025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *314 - - *315 - - *533 + - *309 + - *310 + - *528 requestBody: required: false content: @@ -83398,9 +84065,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *244 examples: - default: *532 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83416,9 +84083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *314 - - *315 - - *533 + - *309 + - *310 + - *528 responses: '204': description: Response @@ -83439,9 +84106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *314 - - *315 - - *533 + - *309 + - *310 + - *528 - *17 - *19 responses: @@ -83451,11 +84118,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *508 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83472,12 +84139,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *314 - - *315 - - *534 - - *535 - - *75 - - *536 + - *309 + - *310 + - *529 + - *530 + - *72 + - *531 - *17 - *19 responses: @@ -83487,11 +84154,11 @@ paths: application/json: schema: type: array - items: *95 + items: *92 examples: - default: *537 + default: *532 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83513,8 +84180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -83572,14 +84239,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &538 + schema: &533 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83723,7 +84390,7 @@ paths: - custom_404 - public examples: - default: &539 + default: &534 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83764,8 +84431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83820,9 +84487,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *533 examples: - default: *539 + default: *534 '422': *15 '409': *45 x-github: @@ -83845,8 +84512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83946,8 +84613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -83973,8 +84640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -83984,7 +84651,7 @@ paths: application/json: schema: type: array - items: &540 + items: &535 title: Page Build description: Page Build type: object @@ -84057,7 +84724,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84076,8 +84743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *314 - - *315 + - *309 + - *310 responses: '201': description: Response @@ -84124,16 +84791,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *540 + schema: *535 examples: - default: &541 + default: &536 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84181,8 +84848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *314 - - *315 + - *309 + - *310 - name: build_id in: path required: true @@ -84193,9 +84860,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *535 examples: - default: *541 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84215,8 +84882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -84324,9 +84991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *314 - - *315 - - &542 + - *309 + - *310 + - &537 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84384,11 +85051,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *314 - - *315 - - *542 + - *309 + - *310 + - *537 responses: - '204': *156 + '204': *165 '404': *6 x-github: githubCloudOnly: false @@ -84413,8 +85080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -84682,7 +85349,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -84709,8 +85376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Private vulnerability reporting status @@ -84747,10 +85414,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *165 '422': *14 x-github: githubCloudOnly: false @@ -84769,10 +85436,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *165 '422': *14 x-github: githubCloudOnly: false @@ -84793,8 +85460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *314 - - *315 + - *309 + - *310 - name: state description: Indicates the state of the projects to return. in: query @@ -84815,7 +85482,7 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: default: value: @@ -84851,11 +85518,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *57 + Link: *52 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *315 '422': *7 x-github: githubCloudOnly: false @@ -84878,8 +85545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -84905,13 +85572,13 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: - default: *319 + default: *314 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *315 '422': *7 x-github: githubCloudOnly: false @@ -84934,8 +85601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -84943,16 +85610,9 @@ paths: application/json: schema: type: array - items: *249 + items: *97 examples: - default: - value: - - property_name: environment - value: production - - property_name: service - value: web - - property_name: team - value: octocat + default: *538 '403': *27 '404': *6 x-github: @@ -84974,8 +85634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -84987,19 +85647,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *249 + items: *97 required: - properties examples: - default: - value: - properties: - - property_name: environment - value: production - - property_name: service - value: web - - property_name: team - value: octocat + default: *539 responses: '204': description: No Content when custom property values are successfully created @@ -85037,8 +85689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *314 - - *315 + - *309 + - *310 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85098,11 +85750,11 @@ paths: application/json: schema: type: array - items: *447 + items: *442 examples: - default: *543 + default: *540 headers: - Link: *57 + Link: *52 '304': *35 '422': *15 x-github: @@ -85132,8 +85784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -85200,7 +85852,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &544 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85329,7 +85981,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *244 active_lock_reason: type: - string @@ -85384,7 +86036,7 @@ paths: type: - array - 'null' - items: *214 + items: *220 head: type: object properties: @@ -85392,7 +86044,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85409,7 +86061,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85422,14 +86074,14 @@ paths: _links: type: object properties: - comments: *239 - commits: *239 - statuses: *239 - html: *239 - issue: *239 - review_comments: *239 - review_comment: *239 - self: *239 + comments: *245 + commits: *245 + statuses: *245 + html: *245 + issue: *245 + review_comments: *245 + review_comment: *245 + self: *245 required: - comments - commits @@ -85439,8 +86091,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: *544 + author_association: *67 + auto_merge: *541 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85542,7 +86194,7 @@ paths: - merged_by - review_comments examples: - default: &548 + default: &545 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86069,8 +86721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: sort in: query required: false @@ -86089,7 +86741,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86099,9 +86751,9 @@ paths: application/json: schema: type: array - items: *545 + items: *542 examples: - default: &550 + default: &547 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86153,7 +86805,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86178,17 +86830,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '200': description: Response content: application/json: - schema: *545 + schema: *542 examples: - default: &546 + default: &543 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86263,9 +86915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -86287,9 +86939,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: - default: *546 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86305,9 +86957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '204': description: Response @@ -86328,9 +86980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -86356,11 +87008,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -86379,9 +87031,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -86413,16 +87065,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -86444,10 +87096,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *314 - - *315 - - *84 + - *309 - *310 + - *81 + - *305 responses: '204': description: Response @@ -86490,9 +87142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *314 - - *315 - - &549 + - *309 + - *310 + - &546 name: pull_number description: The number that identifies the pull request. in: path @@ -86505,9 +87157,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *547 + schema: *544 examples: - default: *548 + default: *545 '304': *35 '404': *6 '406': @@ -86515,8 +87167,8 @@ paths: content: application/json: schema: *3 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86542,9 +87194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: false content: @@ -86586,9 +87238,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *544 examples: - default: *548 + default: *545 '422': *15 '403': *27 x-github: @@ -86610,9 +87262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: true content: @@ -86673,21 +87325,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86713,10 +87365,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *314 - - *315 - - *549 - - *92 + - *309 + - *310 + - *546 + - *89 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86726,7 +87378,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86736,11 +87388,11 @@ paths: application/json: schema: type: array - items: *545 + items: *542 examples: - default: *550 + default: *547 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86771,9 +87423,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: true content: @@ -86879,7 +87531,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: example-for-a-multi-line-comment: value: @@ -86967,10 +87619,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *314 - - *315 - - *549 - - *84 + - *309 + - *310 + - *546 + - *81 requestBody: required: true content: @@ -86992,7 +87644,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: default: value: @@ -87078,9 +87730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 - *17 - *19 responses: @@ -87090,11 +87742,11 @@ paths: application/json: schema: type: array - items: *443 + items: *438 examples: - default: *551 + default: *548 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87122,9 +87774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 - *17 - *19 responses: @@ -87134,7 +87786,7 @@ paths: application/json: schema: type: array - items: *454 + items: *449 examples: default: value: @@ -87150,10 +87802,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *57 + Link: *52 '422': *15 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87172,9 +87824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 responses: '204': description: Response if pull request has been merged @@ -87197,9 +87849,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: false content: @@ -87311,9 +87963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 responses: '200': description: Response @@ -87329,7 +87981,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *169 required: - users - teams @@ -87370,7 +88022,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87388,9 +88040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: false content: @@ -87427,7 +88079,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *442 examples: default: value: @@ -87963,9 +88615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: true content: @@ -87999,7 +88651,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *442 examples: default: value: @@ -88504,9 +89156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 - *17 - *19 responses: @@ -88516,7 +89168,7 @@ paths: application/json: schema: type: array - items: &552 + items: &549 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88590,7 +89242,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - id - node_id @@ -88639,7 +89291,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88672,9 +89324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: false content: @@ -88764,9 +89416,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *549 examples: - default: &554 + default: &551 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88829,10 +89481,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - &553 + - *309 + - *310 + - *546 + - &550 name: review_id description: The unique identifier of the review. in: path @@ -88844,9 +89496,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *549 examples: - default: &555 + default: &552 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88905,10 +89557,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *546 + - *550 requestBody: required: true content: @@ -88931,7 +89583,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *549 examples: default: value: @@ -88993,18 +89645,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *546 + - *550 responses: '200': description: Response content: application/json: - schema: *552 + schema: *549 examples: - default: *554 + default: *551 '422': *7 '404': *6 x-github: @@ -89031,10 +89683,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *546 + - *550 - *17 - *19 responses: @@ -89128,13 +89780,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *67 _links: type: object properties: - self: *239 - html: *239 - pull_request: *239 + self: *245 + html: *245 + pull_request: *245 required: - self - html @@ -89143,7 +89795,7 @@ paths: type: string body_html: type: string - reactions: *70 + reactions: *68 side: description: The side of the first line of the range for a multi-line comment. @@ -89263,7 +89915,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89292,10 +89944,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *546 + - *550 requestBody: required: true content: @@ -89324,7 +89976,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *549 examples: default: value: @@ -89387,10 +90039,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *546 + - *550 requestBody: required: true content: @@ -89425,9 +90077,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *549 examples: - default: *555 + default: *552 '404': *6 '422': *7 '403': *27 @@ -89449,9 +90101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: false content: @@ -89515,8 +90167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *314 - - *315 + - *309 + - *310 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89529,9 +90181,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: - default: &557 + default: &554 value: type: file encoding: base64 @@ -89573,8 +90225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *314 - - *315 + - *309 + - *310 - name: dir description: The alternate path to look for a README file in: path @@ -89594,9 +90246,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: - default: *557 + default: *554 '404': *6 '422': *15 x-github: @@ -89618,8 +90270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -89629,7 +90281,7 @@ paths: application/json: schema: type: array - items: *558 + items: *555 examples: default: value: @@ -89703,7 +90355,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89723,8 +90375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -89800,9 +90452,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *555 examples: - default: &562 + default: &559 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89907,9 +90559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *314 - - *315 - - &560 + - *309 + - *310 + - &557 name: asset_id description: The unique identifier of the asset. in: path @@ -89921,9 +90573,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *556 examples: - default: &561 + default: &558 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -89958,7 +90610,7 @@ paths: type: User site_admin: false '404': *6 - '302': *456 + '302': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89974,9 +90626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *314 - - *315 - - *560 + - *309 + - *310 + - *557 requestBody: required: false content: @@ -90005,9 +90657,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *556 examples: - default: *561 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90023,9 +90675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *314 - - *315 - - *560 + - *309 + - *310 + - *557 responses: '204': description: Response @@ -90049,8 +90701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -90136,16 +90788,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *558 + schema: *555 examples: - default: *562 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90162,8 +90814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *314 - - *315 + - *309 + - *310 - name: tag description: tag parameter in: path @@ -90176,9 +90828,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *555 examples: - default: *562 + default: *559 '404': *6 x-github: githubCloudOnly: false @@ -90200,9 +90852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *314 - - *315 - - &563 + - *309 + - *310 + - &560 name: release_id description: The unique identifier of the release. in: path @@ -90216,9 +90868,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *558 + schema: *555 examples: - default: *562 + default: *559 '401': description: Unauthorized x-github: @@ -90236,9 +90888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *560 requestBody: required: false content: @@ -90302,9 +90954,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *555 examples: - default: *562 + default: *559 '404': description: Not Found if the discussion category name is invalid content: @@ -90325,9 +90977,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *560 responses: '204': description: Response @@ -90347,9 +90999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *560 - *17 - *19 responses: @@ -90359,7 +91011,7 @@ paths: application/json: schema: type: array - items: *559 + items: *556 examples: default: value: @@ -90396,7 +91048,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90440,9 +91092,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *560 - name: name in: query required: true @@ -90468,7 +91120,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *556 examples: response-for-successful-upload: value: @@ -90523,9 +91175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *560 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -90549,11 +91201,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -90572,9 +91224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *560 requestBody: required: true content: @@ -90604,16 +91256,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -90635,10 +91287,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *314 - - *315 - - *563 + - *309 - *310 + - *560 + - *305 responses: '204': description: Response @@ -90662,9 +91314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 - *17 - *19 responses: @@ -90680,8 +91332,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *256 - - &564 + - *261 + - &561 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90700,69 +91352,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *257 - - *564 - - allOf: - - *258 - - *564 - - allOf: - - *259 - - *564 - - allOf: - - *565 - - *564 - - allOf: - - *260 - - *564 - - allOf: - - *261 - - *564 - allOf: - *262 - - *564 + - *561 - allOf: - *263 - - *564 + - *561 - allOf: - *264 - - *564 + - *561 + - allOf: + - *562 + - *561 - allOf: - *265 - - *564 + - *561 - allOf: - *266 - - *564 + - *561 - allOf: - *267 - - *564 + - *561 - allOf: - *268 - - *564 + - *561 - allOf: - *269 - - *564 + - *561 - allOf: - *270 - - *564 + - *561 - allOf: - *271 - - *564 + - *561 - allOf: - *272 - - *564 + - *561 - allOf: - *273 - - *564 + - *561 - allOf: - *274 - - *564 + - *561 - allOf: - *275 - - *564 + - *561 + - allOf: + - *276 + - *561 + - allOf: + - *277 + - *561 - allOf: - - *566 - - *564 + - *278 + - *561 + - allOf: + - *279 + - *561 + - allOf: + - *280 + - *561 + - allOf: + - *563 + - *561 examples: default: value: @@ -90801,8 +91453,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - name: includes_parents @@ -90813,7 +91465,7 @@ paths: schema: type: boolean default: true - - *567 + - *564 responses: '200': description: Response @@ -90821,7 +91473,7 @@ paths: application/json: schema: type: array - items: *276 + items: *281 examples: default: value: @@ -90852,7 +91504,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *98 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -90868,8 +91520,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 requestBody: description: Request body required: true @@ -90889,16 +91541,16 @@ paths: - tag - push default: branch - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *251 + items: *259 + conditions: *256 rules: type: array description: An array of rules within the ruleset. - items: *568 + items: *565 required: - name - enforcement @@ -90929,9 +91581,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: &578 + default: &575 value: id: 42 name: super cool ruleset @@ -90964,7 +91616,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *98 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -90978,12 +91630,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *314 - - *315 + - *309 + - *310 + - *566 + - *567 + - *568 - *569 - - *570 - - *571 - - *572 - *17 - *19 responses: @@ -90991,11 +91643,11 @@ paths: description: Response content: application/json: - schema: *573 + schema: *570 examples: - default: *574 + default: *571 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91014,19 +91666,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *314 - - *315 - - *575 + - *309 + - *310 + - *572 responses: '200': description: Response content: application/json: - schema: *576 + schema: *573 examples: - default: *577 + default: *574 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,8 +91704,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91073,11 +91725,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *578 + default: *575 '404': *6 - '500': *100 + '500': *98 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91093,8 +91745,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91119,16 +91771,16 @@ paths: - branch - tag - push - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *251 + items: *259 + conditions: *256 rules: description: An array of rules within the ruleset. type: array - items: *568 + items: *565 examples: default: value: @@ -91156,11 +91808,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *578 + default: *575 '404': *6 - '500': *100 + '500': *98 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91176,8 +91828,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91188,7 +91840,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *98 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -91200,8 +91852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - name: ruleset_id @@ -91217,11 +91869,11 @@ paths: application/json: schema: type: array - items: *279 + items: *284 examples: - default: *579 + default: *576 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91238,8 +91890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91257,7 +91909,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *577 examples: default: value: @@ -91290,7 +91942,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91312,21 +91964,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *314 - - *315 - - *280 - - *281 - - *282 - - *283 + - *309 + - *310 + - *578 + - *579 + - *580 + - *581 - *46 - *19 - *17 - - *581 - *582 - - *284 - - *285 - - *286 - - *287 + - *583 + - *584 + - *585 + - *586 + - *587 responses: '200': description: Response @@ -91334,24 +91986,24 @@ paths: application/json: schema: type: array - items: &586 + items: &591 type: object properties: - number: *52 - created_at: *53 + number: *151 + created_at: *152 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *153 + url: *154 + html_url: *155 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *583 - resolution: *584 + state: *588 + resolution: *589 resolved_at: type: - string @@ -91445,7 +92097,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *585 + - *590 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91568,7 +92220,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91590,16 +92242,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 - - *287 + - *309 + - *310 + - *409 + - *587 responses: '200': description: Response content: application/json: - schema: *586 + schema: *591 examples: default: value: @@ -91630,7 +92282,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91651,9 +92303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 requestBody: required: true content: @@ -91661,8 +92313,8 @@ paths: schema: type: object properties: - state: *583 - resolution: *584 + state: *588 + resolution: *589 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91681,7 +92333,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *591 examples: default: value: @@ -91734,7 +92386,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91756,9 +92408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 - *19 - *17 responses: @@ -91769,7 +92421,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &739 + items: &743 type: object properties: type: @@ -91796,11 +92448,6 @@ paths: - commit details: oneOf: - - *587 - - *588 - - *589 - - *590 - - *591 - *592 - *593 - *594 @@ -91809,6 +92456,11 @@ paths: - *597 - *598 - *599 + - *600 + - *601 + - *602 + - *603 + - *604 examples: default: value: @@ -91868,11 +92520,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *57 + Link: *52 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91894,8 +92546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -91903,14 +92555,14 @@ paths: schema: type: object properties: - reason: &601 + reason: &606 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *600 + placeholder_id: *605 required: - reason - placeholder_id @@ -91927,7 +92579,7 @@ paths: schema: type: object properties: - reason: *601 + reason: *606 expire_at: type: - string @@ -91951,7 +92603,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91963,6 +92615,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -91971,13 +92626,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *73 + '503': *99 '200': description: Response content: @@ -91987,7 +92642,7 @@ paths: properties: incremental_scans: type: array - items: &602 + items: &607 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92015,15 +92670,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *602 + items: *607 backfill_scans: type: array - items: *602 + items: *607 custom_pattern_backfill_scans: type: array items: allOf: - - *602 + - *607 - type: object properties: pattern_name: @@ -92093,8 +92748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *314 - - *315 + - *309 + - *310 - *46 - name: sort description: The property to sort the results by. @@ -92138,9 +92793,9 @@ paths: application/json: schema: type: array - items: *603 + items: *608 examples: - default: *604 + default: *609 '400': *14 '404': *6 x-github: @@ -92163,8 +92818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -92244,7 +92899,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *287 required: - login - type @@ -92334,9 +92989,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *608 examples: - default: &606 + default: &611 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92569,8 +93224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -92683,7 +93338,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *608 examples: default: value: @@ -92830,17 +93485,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *610 responses: '200': description: Response content: application/json: - schema: *603 + schema: *608 examples: - default: *606 + default: *611 '403': *27 '404': *6 x-github: @@ -92864,9 +93519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *610 requestBody: required: true content: @@ -92946,7 +93601,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *287 required: - login - type @@ -93037,17 +93692,17 @@ paths: description: Response content: application/json: - schema: *603 + schema: *608 examples: - default: *606 - add_credit: *606 + default: *611 + add_credit: *611 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *105 + schema: *104 examples: invalid_state_transition: value: @@ -93078,9 +93733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *610 responses: '202': *37 '400': *14 @@ -93107,17 +93762,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *610 responses: '202': description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 '400': *14 '422': *15 '403': *27 @@ -93143,8 +93798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -93218,7 +93873,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -93240,8 +93895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93250,7 +93905,7 @@ paths: application/json: schema: type: array - items: &607 + items: &612 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93263,7 +93918,7 @@ paths: - 1124 - -435 '202': *37 - '204': *156 + '204': *165 '422': description: Repository contains more than 10,000 commits x-github: @@ -93283,8 +93938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -93335,7 +93990,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *156 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93362,8 +94017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -93435,7 +94090,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *156 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93457,8 +94112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93612,8 +94267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93623,7 +94278,7 @@ paths: application/json: schema: type: array - items: *607 + items: *612 examples: default: value: @@ -93636,7 +94291,7 @@ paths: - - 0 - 2 - 21 - '204': *156 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93656,8 +94311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *314 - - *315 + - *309 + - *310 - name: sha in: path required: true @@ -93713,7 +94368,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *613 examples: default: value: @@ -93767,8 +94422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -93780,9 +94435,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93800,14 +94455,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &609 + schema: &614 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93880,8 +94535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -93907,7 +94562,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *614 examples: default: value: @@ -93934,8 +94589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -93955,8 +94610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -94015,7 +94670,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94038,8 +94693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -94047,7 +94702,7 @@ paths: application/json: schema: type: array - items: &610 + items: &615 title: Tag protection description: Tag protection type: object @@ -94104,8 +94759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -94128,7 +94783,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *615 examples: default: value: @@ -94159,8 +94814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94197,8 +94852,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *314 - - *315 + - *309 + - *310 - name: ref in: path required: true @@ -94234,8 +94889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -94245,11 +94900,11 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: *215 + default: *221 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -94267,8 +94922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *314 - - *315 + - *309 + - *310 - *19 - *17 responses: @@ -94276,7 +94931,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &616 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94288,7 +94943,7 @@ paths: required: - names examples: - default: &612 + default: &617 value: names: - octocat @@ -94311,8 +94966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -94343,9 +94998,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *616 examples: - default: *612 + default: *617 '404': *6 '422': *7 x-github: @@ -94366,9 +95021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *314 - - *315 - - &613 + - *309 + - *310 + - &618 name: per description: The time frame to display results for. in: query @@ -94399,7 +95054,7 @@ paths: - 128 clones: type: array - items: &614 + items: &619 title: Traffic type: object properties: @@ -94486,8 +95141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -94581,8 +95236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -94645,9 +95300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *314 - - *315 - - *613 + - *309 + - *310 + - *618 responses: '200': description: Response @@ -94668,7 +95323,7 @@ paths: - 3782 views: type: array - items: *614 + items: *619 required: - uniques - count @@ -94745,8 +95400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -94782,7 +95437,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *135 examples: default: value: @@ -95020,8 +95675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95044,8 +95699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -95067,8 +95722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -95094,8 +95749,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *314 - - *315 + - *309 + - *310 - name: ref in: path required: true @@ -95187,9 +95842,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95230,7 +95885,7 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: default: value: @@ -95419,7 +96074,7 @@ paths: html_url: type: string format: uri - repository: *131 + repository: *135 score: type: number file_size: @@ -95438,7 +96093,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &615 + text_matches: &620 title: Search Result Text Matches type: array items: @@ -95553,7 +96208,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *73 + '503': *99 '422': *15 '403': *27 x-github: @@ -95601,7 +96256,7 @@ paths: enum: - author-date - committer-date - - &616 + - &621 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -95670,7 +96325,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *377 comment_count: type: integer message: @@ -95689,7 +96344,7 @@ paths: url: type: string format: uri - verification: *492 + verification: *487 required: - author - committer @@ -95704,7 +96359,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *377 parents: type: array items: @@ -95716,12 +96371,12 @@ paths: type: string sha: type: string - repository: *131 + repository: *135 score: type: number node_id: type: string - text_matches: *615 + text_matches: *620 required: - sha - node_id @@ -95913,7 +96568,7 @@ paths: - interactions - created - updated - - *616 + - *621 - *17 - *19 - name: advanced_search @@ -96010,11 +96665,11 @@ paths: type: - string - 'null' - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: type: string state_reason: @@ -96028,7 +96683,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *244 comments: type: integer created_at: @@ -96042,7 +96697,7 @@ paths: - string - 'null' format: date-time - text_matches: *615 + text_matches: *620 pull_request: type: object properties: @@ -96080,10 +96735,10 @@ paths: type: string score: type: number - author_association: *69 + author_association: *67 draft: type: boolean - repository: *66 + repository: *64 body_html: type: string body_text: @@ -96091,12 +96746,12 @@ paths: timeline_url: type: string format: uri - type: *199 + type: *205 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - assignee - closed_at @@ -96212,7 +96867,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *73 + '503': *99 '422': *15 '304': *35 '403': *27 @@ -96265,7 +96920,7 @@ paths: enum: - created - updated - - *616 + - *621 - *17 - *19 responses: @@ -96310,7 +96965,7 @@ paths: - 'null' score: type: number - text_matches: *615 + text_matches: *620 required: - id - node_id @@ -96395,7 +97050,7 @@ paths: - forks - help-wanted-issues - updated - - *616 + - *621 - *17 - *19 responses: @@ -96614,7 +97269,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 permissions: type: object properties: @@ -96632,7 +97287,7 @@ paths: - admin - pull - push - text_matches: *615 + text_matches: *620 temp_clone_token: type: string allow_merge_commit: @@ -96835,7 +97490,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *73 + '503': *99 '422': *15 '304': *35 x-github: @@ -96940,7 +97595,7 @@ paths: - string - 'null' format: uri - text_matches: *615 + text_matches: *620 related: type: - array @@ -97133,7 +97788,7 @@ paths: - followers - repositories - joined - - *616 + - *621 - *17 - *19 responses: @@ -97243,7 +97898,7 @@ paths: type: - boolean - 'null' - text_matches: *615 + text_matches: *620 blog: type: - string @@ -97305,7 +97960,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *73 + '503': *99 '422': *15 x-github: githubCloudOnly: false @@ -97325,7 +97980,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &620 + - &625 name: team_id description: The unique identifier of the team. in: path @@ -97337,9 +97992,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -97366,7 +98021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *620 + - *625 requestBody: required: true content: @@ -97430,16 +98085,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '201': description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 '422': *15 '403': *27 @@ -97467,7 +98122,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *620 + - *625 responses: '204': description: Response @@ -97498,7 +98153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *620 + - *625 - *46 - *17 - *19 @@ -97509,11 +98164,11 @@ paths: application/json: schema: type: array - items: *301 + items: *296 examples: - default: *621 + default: *626 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97540,7 +98195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *620 + - *625 requestBody: required: true content: @@ -97574,9 +98229,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *302 + default: *297 x-github: triggersNotification: true githubCloudOnly: false @@ -97603,16 +98258,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *620 - - *303 + - *625 + - *298 responses: '200': description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *302 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97637,8 +98292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *620 - - *303 + - *625 + - *298 requestBody: required: false content: @@ -97661,9 +98316,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *622 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97688,8 +98343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *620 - - *303 + - *625 + - *298 responses: '204': description: Response @@ -97718,8 +98373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *620 - - *303 + - *625 + - *298 - *46 - *17 - *19 @@ -97730,11 +98385,11 @@ paths: application/json: schema: type: array - items: *304 + items: *299 examples: - default: *623 + default: *628 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97761,8 +98416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *620 - - *303 + - *625 + - *298 requestBody: required: true content: @@ -97784,9 +98439,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *305 + default: *300 x-github: triggersNotification: true githubCloudOnly: false @@ -97813,17 +98468,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *625 + - *298 + - *301 responses: '200': description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *305 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97848,9 +98503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *625 + - *298 + - *301 requestBody: required: true content: @@ -97872,9 +98527,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *624 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97899,9 +98554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *625 + - *298 + - *301 responses: '204': description: Response @@ -97930,9 +98585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *625 + - *298 + - *301 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -97958,11 +98613,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97989,9 +98644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *625 + - *298 + - *301 requestBody: required: true content: @@ -98023,9 +98678,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98051,8 +98706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *625 + - *298 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -98078,11 +98733,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98109,8 +98764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *625 + - *298 requestBody: required: true content: @@ -98142,9 +98797,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98168,7 +98823,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *620 + - *625 - *17 - *19 responses: @@ -98178,11 +98833,11 @@ paths: application/json: schema: type: array - items: *196 + items: *202 examples: - default: *197 + default: *203 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98206,7 +98861,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *620 + - *625 - name: role description: Filters members returned by their role in the team. in: query @@ -98229,9 +98884,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98257,8 +98912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *620 - - *62 + - *625 + - *57 responses: '204': description: if user is a member @@ -98294,8 +98949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *620 - - *62 + - *625 + - *57 responses: '204': description: Response @@ -98334,8 +98989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *620 - - *62 + - *625 + - *57 responses: '204': description: Response @@ -98371,16 +99026,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *625 + - *57 responses: '200': description: Response content: application/json: - schema: *311 + schema: *306 examples: - response-if-user-is-a-team-maintainer: *625 + response-if-user-is-a-team-maintainer: *630 '404': *6 x-github: githubCloudOnly: false @@ -98413,8 +99068,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *625 + - *57 requestBody: required: false content: @@ -98439,9 +99094,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *306 examples: - response-if-users-membership-with-team-is-now-pending: *626 + response-if-users-membership-with-team-is-now-pending: *631 '403': description: Forbidden if team synchronization is set up '422': @@ -98475,8 +99130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *625 + - *57 responses: '204': description: Response @@ -98504,7 +99159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *620 + - *625 - *17 - *19 responses: @@ -98514,11 +99169,11 @@ paths: application/json: schema: type: array - items: *312 + items: *307 examples: - default: *627 + default: *632 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98542,16 +99197,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *620 - - *313 + - *625 + - *308 responses: '200': description: Response content: application/json: - schema: *312 + schema: *307 examples: - default: *628 + default: *633 '404': description: Not Found if project is not managed by this team x-github: @@ -98575,8 +99230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *620 - - *313 + - *625 + - *308 requestBody: required: false content: @@ -98643,8 +99298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *620 - - *313 + - *625 + - *308 responses: '204': description: Response @@ -98671,7 +99326,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *620 + - *625 - *17 - *19 responses: @@ -98681,11 +99336,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98713,15 +99368,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *620 - - *314 - - *315 + - *625 + - *309 + - *310 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *629 + schema: *634 examples: alternative-response-with-extra-repository-information: value: @@ -98872,9 +99527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *620 - - *314 - - *315 + - *625 + - *309 + - *310 requestBody: required: false content: @@ -98924,9 +99579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *620 - - *314 - - *315 + - *625 + - *309 + - *310 responses: '204': description: Response @@ -98951,7 +99606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *620 + - *625 - *17 - *19 responses: @@ -98961,11 +99616,11 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - response-if-child-teams-exist: *630 + response-if-child-teams-exist: *635 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '422': *15 @@ -98996,7 +99651,7 @@ paths: application/json: schema: oneOf: - - &632 + - &637 title: Private User description: Private User type: object @@ -99246,7 +99901,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *631 + - *636 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99406,7 +100061,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *637 examples: default: value: @@ -99485,7 +100140,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '304': *35 '404': *6 '403': *27 @@ -99508,7 +100163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *62 + - *57 responses: '204': description: If the user is blocked @@ -99536,7 +100191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99560,7 +100215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99609,11 +100264,11 @@ paths: type: integer codespaces: type: array - items: *204 + items: *210 examples: - default: *205 + default: *211 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -99750,21 +100405,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99804,7 +100459,7 @@ paths: type: integer secrets: type: array - items: &633 + items: &638 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99846,9 +100501,9 @@ paths: - visibility - selected_repositories_url examples: - default: *436 + default: *431 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99918,13 +100573,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *139 + - *143 responses: '200': description: Response content: application/json: - schema: *633 + schema: *638 examples: default: value: @@ -99954,7 +100609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *139 + - *143 requestBody: required: true content: @@ -99999,7 +100654,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -100027,7 +100682,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *139 + - *143 responses: '204': description: Response @@ -100052,7 +100707,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *139 + - *143 responses: '200': description: Response @@ -100068,13 +100723,13 @@ paths: type: integer repositories: type: array - items: *131 + items: *135 examples: - default: *634 + default: *639 '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100095,7 +100750,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *139 + - *143 requestBody: required: true content: @@ -100127,7 +100782,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100149,7 +100804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *139 + - *143 - name: repository_id in: path required: true @@ -100161,7 +100816,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100182,7 +100837,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *139 + - *143 - name: repository_id in: path required: true @@ -100194,7 +100849,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100214,17 +100869,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *206 + - *212 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -100248,7 +100903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *206 + - *212 requestBody: required: false content: @@ -100278,9 +100933,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '401': *23 '403': *27 '404': *6 @@ -100302,11 +100957,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *206 + - *212 responses: '202': *37 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -100331,13 +100986,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *206 + - *212 responses: '202': description: Response content: application/json: - schema: &635 + schema: &640 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100390,7 +101045,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &636 + default: &641 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100398,7 +101053,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -100422,7 +101077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *206 + - *212 - name: export_id in: path required: true @@ -100435,9 +101090,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *640 examples: - default: *636 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -100458,7 +101113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *206 + - *212 responses: '200': description: Response @@ -100474,11 +101129,11 @@ paths: type: integer machines: type: array - items: *435 + items: *430 examples: - default: *637 + default: *642 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -100505,7 +101160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *206 + - *212 requestBody: required: true content: @@ -100561,11 +101216,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *322 + repository: *317 machine: anyOf: - type: 'null' - - *435 + - *430 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101362,17 +102017,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *206 + - *212 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '304': *35 - '500': *100 + '500': *98 '400': *14 '401': *23 '402': @@ -101402,16 +102057,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *206 + - *212 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *434 - '500': *100 + default: *429 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -101440,9 +102095,9 @@ paths: application/json: schema: type: array - items: *216 + items: *222 examples: - default: &649 + default: &653 value: - id: 197 name: hello_docker @@ -101543,7 +102198,7 @@ paths: application/json: schema: type: array - items: &638 + items: &643 title: Email description: Email type: object @@ -101613,16 +102268,16 @@ paths: application/json: schema: type: array - items: *638 + items: *643 examples: - default: &651 + default: &655 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -101692,7 +102347,7 @@ paths: application/json: schema: type: array - items: *638 + items: *643 examples: default: value: @@ -101804,9 +102459,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101837,9 +102492,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101859,7 +102514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *62 + - *57 responses: '204': description: if the person is followed by the authenticated user @@ -101889,7 +102544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -101914,7 +102569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -101950,7 +102605,7 @@ paths: application/json: schema: type: array - items: &639 + items: &644 title: GPG Key description: A unique encryption key type: object @@ -102095,7 +102750,7 @@ paths: - subkeys - revoked examples: - default: &665 + default: &669 value: - id: 3 name: Octocat's GPG Key @@ -102127,7 +102782,7 @@ paths: revoked: false raw_key: string headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102180,9 +102835,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *644 examples: - default: &640 + default: &645 value: id: 3 name: Octocat's GPG Key @@ -102239,7 +102894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &641 + - &646 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102251,9 +102906,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *644 examples: - default: *640 + default: *645 '404': *6 '304': *35 '403': *27 @@ -102276,7 +102931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *641 + - *646 responses: '204': description: Response @@ -102419,7 +103074,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -102465,11 +103120,11 @@ paths: type: string repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *127 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '304': *35 @@ -102492,7 +103147,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *120 + - *124 responses: '204': description: Response @@ -102518,7 +103173,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *120 + - *124 responses: '204': description: Response @@ -102552,12 +103207,12 @@ paths: application/json: schema: anyOf: - - *194 + - *200 - type: object properties: {} additionalProperties: false examples: - default: *195 + default: *201 '204': description: Response when there are no restrictions x-github: @@ -102581,7 +103236,7 @@ paths: required: true content: application/json: - schema: *503 + schema: *498 examples: default: value: @@ -102592,7 +103247,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *200 examples: default: value: @@ -102673,7 +103328,7 @@ paths: - closed - all default: open - - *202 + - *208 - name: sort description: What to sort results by. in: query @@ -102686,7 +103341,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -102696,11 +103351,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *203 + default: *209 headers: - Link: *57 + Link: *52 '404': *6 '304': *35 x-github: @@ -102731,7 +103386,7 @@ paths: application/json: schema: type: array - items: &642 + items: &647 title: Key description: Key type: object @@ -102783,7 +103438,7 @@ paths: verified: false read_only: false headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102834,9 +103489,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *647 examples: - default: &643 + default: &648 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102869,15 +103524,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *524 responses: '200': description: Response content: application/json: - schema: *642 + schema: *647 examples: - default: *643 + default: *648 '404': *6 '304': *35 '403': *27 @@ -102900,7 +103555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *524 responses: '204': description: Response @@ -102933,7 +103588,7 @@ paths: application/json: schema: type: array - items: &644 + items: &649 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103001,7 +103656,7 @@ paths: - id - type - login - plan: *86 + plan: *83 required: - billing_cycle - next_billing_date @@ -103012,7 +103667,7 @@ paths: - account - plan examples: - default: &645 + default: &650 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103045,7 +103700,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '304': *35 '401': *23 '404': *6 @@ -103074,11 +103729,11 @@ paths: application/json: schema: type: array - items: *644 + items: *649 examples: - default: *645 + default: *650 headers: - Link: *57 + Link: *52 '304': *35 '401': *23 x-github: @@ -103116,7 +103771,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -103193,7 +103848,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103218,13 +103873,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *208 + schema: *214 examples: default: value: @@ -103282,7 +103937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *61 requestBody: required: true content: @@ -103307,7 +103962,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *214 examples: default: value: @@ -103375,7 +104030,7 @@ paths: application/json: schema: type: array - items: *210 + items: *216 examples: default: value: @@ -103528,7 +104183,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103637,7 +104292,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *216 examples: default: value: @@ -103817,7 +104472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *211 + - *217 - name: exclude in: query required: false @@ -103830,7 +104485,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *216 examples: default: value: @@ -104024,7 +104679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *211 + - *217 responses: '302': description: Response @@ -104050,7 +104705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *211 + - *217 responses: '204': description: Response @@ -104079,8 +104734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *211 - - *646 + - *217 + - *651 responses: '204': description: Response @@ -104104,7 +104759,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *211 + - *217 - *17 - *19 responses: @@ -104114,11 +104769,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -104151,11 +104806,11 @@ paths: application/json: schema: type: array - items: *160 + items: *59 examples: - default: *647 + default: *96 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -104195,7 +104850,7 @@ paths: - docker - nuget - container - - *648 + - *652 - *19 - *17 responses: @@ -104205,10 +104860,10 @@ paths: application/json: schema: type: array - items: *216 + items: *222 examples: - default: *649 - '400': *650 + default: *653 + '400': *654 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104228,16 +104883,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *224 + - *225 responses: '200': description: Response content: application/json: - schema: *216 + schema: *222 examples: - default: &666 + default: &670 value: id: 40201 name: octo-name @@ -104350,8 +105005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *224 + - *225 responses: '204': description: Response @@ -104381,8 +105036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *224 + - *225 - name: token description: package token schema: @@ -104414,8 +105069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *218 - - *219 + - *224 + - *225 - *19 - *17 - name: state @@ -104435,7 +105090,7 @@ paths: application/json: schema: type: array - items: *220 + items: *226 examples: default: value: @@ -104484,15 +105139,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *218 - - *219 - - *221 + - *224 + - *225 + - *227 responses: '200': description: Response content: application/json: - schema: *220 + schema: *226 examples: default: value: @@ -104528,9 +105183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *218 - - *219 - - *221 + - *224 + - *225 + - *227 responses: '204': description: Response @@ -104560,9 +105215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *218 - - *219 - - *221 + - *224 + - *225 + - *227 responses: '204': description: Response @@ -104620,7 +105275,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: default: value: @@ -104692,11 +105347,11 @@ paths: application/json: schema: type: array - items: *638 + items: *643 examples: - default: *651 + default: *655 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -104805,9 +105460,9 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default: &658 + default: &662 summary: Default response value: - id: 1296269 @@ -104928,7 +105583,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -105125,9 +105780,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105165,11 +105820,11 @@ paths: application/json: schema: type: array - items: *505 + items: *500 examples: - default: *652 + default: *656 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105190,7 +105845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *198 + - *204 responses: '204': description: Response @@ -105213,7 +105868,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *198 + - *204 responses: '204': description: Response @@ -105246,7 +105901,7 @@ paths: application/json: schema: type: array - items: &653 + items: &657 title: Social account description: Social media account type: object @@ -105263,12 +105918,12 @@ paths: - provider - url examples: - default: &654 + default: &658 value: - provider: twitter url: https://twitter.com/github headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105326,9 +105981,9 @@ paths: application/json: schema: type: array - items: *653 + items: *657 examples: - default: *654 + default: *658 '422': *15 '304': *35 '404': *6 @@ -105416,7 +106071,7 @@ paths: application/json: schema: type: array - items: &655 + items: &659 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105436,7 +106091,7 @@ paths: - title - created_at examples: - default: &680 + default: &684 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105449,7 +106104,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105503,9 +106158,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *659 examples: - default: &656 + default: &660 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105536,7 +106191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &657 + - &661 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105548,9 +106203,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *659 examples: - default: *656 + default: *660 '404': *6 '304': *35 '403': *27 @@ -105573,7 +106228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *657 + - *661 responses: '204': description: Response @@ -105602,7 +106257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &681 + - &685 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -105625,13 +106280,13 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *662 application/vnd.github.v3.star+json: schema: type: array - items: &682 + items: &686 title: Starred Repository description: Starred Repository type: object @@ -105639,7 +106294,7 @@ paths: starred_at: type: string format: date-time - repo: *66 + repo: *64 required: - starred_at - repo @@ -105767,7 +106422,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105787,8 +106442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response if this repository is starred by you @@ -105816,8 +106471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -105841,8 +106496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -105875,11 +106530,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105914,7 +106569,7 @@ paths: application/json: schema: type: array - items: *299 + items: *294 examples: default: value: @@ -105965,7 +106620,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105992,7 +106647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *88 + - *85 responses: '200': description: Response @@ -106000,10 +106655,10 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *637 + - *636 examples: - default-response: &660 + default-response: &664 summary: Default response value: login: octocat @@ -106038,7 +106693,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &661 + response-with-git-hub-plan-information: &665 summary: Response with GitHub plan information value: login: octocat @@ -106098,7 +106753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *659 + - *663 - *17 responses: '200': @@ -106109,7 +106764,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: Link: example: ; rel="next" @@ -106139,7 +106794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106147,11 +106802,11 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *637 + - *636 examples: - default-response: *660 - response-with-git-hub-plan-information: *661 + default-response: *664 + response-with-git-hub-plan-information: *665 '404': *6 x-github: githubCloudOnly: false @@ -106177,7 +106832,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 requestBody: required: true content: @@ -106200,8 +106855,8 @@ paths: required: - subject_digests examples: - default: *662 - withPredicateType: *663 + default: *666 + withPredicateType: *667 responses: '200': description: Response @@ -106255,7 +106910,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *664 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106273,7 +106928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *62 + - *57 requestBody: required: true content: @@ -106338,7 +106993,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106369,7 +107024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *62 + - *57 - name: attestation_id description: Attestation ID in: path @@ -106407,7 +107062,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106459,12 +107114,12 @@ paths: initiator: type: string examples: - default: *378 + default: *373 '201': description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -106490,7 +107145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106498,9 +107153,9 @@ paths: application/json: schema: type: array - items: *216 + items: *222 examples: - default: *649 + default: *653 '403': *27 '401': *23 x-github: @@ -106523,7 +107178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106533,7 +107188,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106595,8 +107250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *62 - - *99 + - *57 + - *61 - *17 - *19 responses: @@ -106606,7 +107261,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106683,7 +107338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106693,7 +107348,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106751,7 +107406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106763,9 +107418,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106782,7 +107437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106794,9 +107449,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106813,7 +107468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *62 + - *57 - name: target_user in: path required: true @@ -106840,8 +107495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *62 - - *75 + - *57 + - *72 - *17 - *19 responses: @@ -106851,11 +107506,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -106874,7 +107529,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106884,11 +107539,11 @@ paths: application/json: schema: type: array - items: *639 + items: *644 examples: - default: *665 + default: *669 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106910,7 +107565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *62 + - *57 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -106982,7 +107637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *62 + - *57 responses: '200': description: Response @@ -106990,7 +107645,7 @@ paths: application/json: schema: *20 examples: - default: *502 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107008,7 +107663,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107044,7 +107699,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107064,7 +107719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107074,11 +107729,11 @@ paths: application/json: schema: type: array - items: *160 + items: *59 examples: - default: *647 + default: *96 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107115,8 +107770,8 @@ paths: - docker - nuget - container - - *648 - - *62 + - *652 + - *57 - *19 - *17 responses: @@ -107126,12 +107781,12 @@ paths: application/json: schema: type: array - items: *216 + items: *222 examples: - default: *649 + default: *653 '403': *27 '401': *23 - '400': *650 + '400': *654 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107151,17 +107806,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *224 + - *225 + - *57 responses: '200': description: Response content: application/json: - schema: *216 + schema: *222 examples: - default: *666 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107182,9 +107837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *224 + - *225 + - *57 responses: '204': description: Response @@ -107216,9 +107871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *224 + - *225 + - *57 - name: token description: package token schema: @@ -107250,9 +107905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *218 - - *219 - - *62 + - *224 + - *225 + - *57 responses: '200': description: Response @@ -107260,7 +107915,7 @@ paths: application/json: schema: type: array - items: *220 + items: *226 examples: default: value: @@ -107318,16 +107973,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *218 - - *219 - - *221 - - *62 + - *224 + - *225 + - *227 + - *57 responses: '200': description: Response content: application/json: - schema: *220 + schema: *226 examples: default: value: @@ -107362,10 +108017,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *218 - - *219 - - *62 - - *221 + - *224 + - *225 + - *57 + - *227 responses: '204': description: Response @@ -107397,10 +108052,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *218 - - *219 - - *62 - - *221 + - *224 + - *225 + - *57 + - *227 responses: '204': description: Response @@ -107426,7 +108081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *62 + - *57 - name: state description: Indicates the state of the projects to return. in: query @@ -107447,7 +108102,7 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: default: value: @@ -107483,7 +108138,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -107505,7 +108160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *62 + - *57 - name: q description: Limit results to projects of the specified type. in: query @@ -107522,11 +108177,11 @@ paths: application/json: schema: type: array - items: *233 + items: *239 examples: - default: *234 + default: *240 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107546,18 +108201,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *235 - - *62 + - *241 + - *57 responses: '200': description: Response content: application/json: - schema: *233 + schema: *239 examples: - default: *234 + default: *240 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107577,8 +108232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *235 - - *62 + - *241 + - *57 - *17 - *38 - *39 @@ -107589,11 +108244,11 @@ paths: application/json: schema: type: array - items: *236 + items: *242 examples: - default: *237 + default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107613,19 +108268,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *235 - - *667 - - *62 + - *241 + - *671 + - *57 responses: '200': description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *237 + default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107646,8 +108301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *235 - - *62 + - *241 + - *57 - *38 - *39 - *17 @@ -107659,17 +108314,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -107677,11 +108334,11 @@ paths: application/json: schema: type: array - items: *242 + items: *248 examples: - default: *243 + default: *249 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107700,8 +108357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *62 - - *235 + - *57 + - *241 requestBody: required: true description: Details of the item to add to the project. @@ -107738,10 +108395,10 @@ paths: description: Response content: application/json: - schema: *668 + schema: *672 examples: - issue: *241 - pull_request: *241 + issue: *247 + pull_request: *247 '304': *35 '403': *27 '401': *23 @@ -107761,31 +108418,33 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *235 - - *62 - - *244 + - *241 + - *57 + - *250 - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *242 + schema: *248 examples: - default: *243 + default: *249 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107804,9 +108463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *235 - - *62 - - *244 + - *241 + - *57 + - *250 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107879,13 +108538,13 @@ paths: description: Response content: application/json: - schema: *242 + schema: *248 examples: - text_field: *243 - number_field: *243 - date_field: *243 - single_select_field: *243 - iteration_field: *243 + text_field: *249 + number_field: *249 + date_field: *249 + single_select_field: *249 + iteration_field: *249 '401': *23 '403': *27 '404': *6 @@ -107905,9 +108564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *235 - - *62 - - *244 + - *241 + - *57 + - *250 responses: '204': description: Response @@ -107934,7 +108593,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107944,7 +108603,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108009,7 +108668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108019,7 +108678,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108082,7 +108741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *62 + - *57 - name: type description: Limit results to repositories of the specified type. in: query @@ -108125,11 +108784,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108151,15 +108810,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *669 + schema: *673 examples: - default: *670 + default: *674 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108181,15 +108840,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *671 + schema: *675 examples: - default: *672 + default: *676 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108198,7 +108857,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -108206,12 +108868,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *62 + - *57 + - *100 + - *677 - *101 - - *673 - - *102 - - *674 - - *675 + - *678 + - *679 responses: '200': description: Response when getting a billing premium request usage report @@ -108264,19 +108926,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -108318,8 +108980,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108341,15 +109003,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *676 + schema: *680 examples: - default: *677 + default: *681 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108369,11 +109031,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *62 + - *57 + - *100 + - *682 - *101 - - *678 - - *102 - - *679 + - *683 responses: '200': description: Response when getting a billing usage report @@ -108443,8 +109105,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108462,7 +109124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108472,11 +109134,11 @@ paths: application/json: schema: type: array - items: *653 + items: *657 examples: - default: *654 + default: *658 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108494,7 +109156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108504,11 +109166,11 @@ paths: application/json: schema: type: array - items: *655 + items: *659 examples: - default: *680 + default: *684 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108530,8 +109192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *62 - - *681 + - *57 + - *685 - *46 - *17 - *19 @@ -108543,13 +109205,13 @@ paths: schema: anyOf: - type: array - items: *682 + items: *686 - type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *662 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108566,7 +109228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108576,11 +109238,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108707,7 +109369,7 @@ webhooks: type: string enum: - disabled - enterprise: &683 + enterprise: &687 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108776,7 +109438,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &684 + installation: &688 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108797,7 +109459,7 @@ webhooks: required: - id - node_id - organization: &685 + organization: &689 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108870,7 +109532,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &686 + repository: &690 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -108899,7 +109561,7 @@ webhooks: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' @@ -109783,10 +110445,10 @@ webhooks: type: string enum: - enabled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -109862,11 +110524,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: &687 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + rule: &691 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -110089,11 +110751,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + rule: *691 sender: *4 required: - action @@ -110281,11 +110943,11 @@ webhooks: - everyone required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + rule: *691 sender: *4 required: - action @@ -110369,7 +111031,7 @@ webhooks: type: string enum: - completed - check_run: &689 + check_run: &693 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110434,8 +111096,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *72 - repository: *131 + items: *70 + repository: *135 status: type: string enum: @@ -110479,7 +111141,7 @@ webhooks: - examples: - neutral - deployment: *688 + deployment: *692 details_url: type: string examples: @@ -110539,7 +111201,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *72 + items: *70 started_at: type: string format: date-time @@ -110577,10 +111239,10 @@ webhooks: - output - app - pull_requests - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 sender: *4 required: - check_run @@ -110973,11 +111635,11 @@ webhooks: type: string enum: - created - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *693 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 sender: *4 required: - check_run @@ -111373,11 +112035,11 @@ webhooks: type: string enum: - requested_action - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *693 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 requested_action: description: The action requested by the user. type: object @@ -111782,11 +112444,11 @@ webhooks: type: string enum: - rerequested - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *693 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 sender: *4 required: - check_run @@ -112778,10 +113440,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -113466,10 +114128,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -114148,10 +114810,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -114320,7 +114982,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114472,20 +115134,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &690 + commit_oid: &694 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *683 - installation: *684 - organization: *685 - ref: &691 + enterprise: *687 + installation: *688 + organization: *689 + ref: &695 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *686 + repository: *690 sender: *4 required: - action @@ -114652,7 +115314,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114893,12 +115555,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -114996,7 +115658,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115181,12 +115843,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -115355,7 +116017,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115532,12 +116194,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -115640,7 +116302,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115820,9 +116482,9 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115830,7 +116492,7 @@ webhooks: type: - string - 'null' - repository: *686 + repository: *690 sender: *4 required: - action @@ -115929,7 +116591,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116076,12 +116738,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -116343,10 +117005,10 @@ webhooks: - updated_at - author_association - body - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -116427,18 +117089,18 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *685 - pusher_type: &692 + organization: *689 + pusher_type: &696 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &693 + ref: &697 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116448,7 +117110,7 @@ webhooks: enum: - tag - branch - repository: *686 + repository: *690 sender: *4 required: - ref @@ -116530,10 +117192,10 @@ webhooks: type: string enum: - created - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *251 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116618,9 +117280,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116697,10 +117359,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *251 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116777,10 +117439,10 @@ webhooks: type: string enum: - updated - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *251 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116857,19 +117519,19 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - repository: *686 - organization: *685 + enterprise: *687 + installation: *688 + repository: *690 + organization: *689 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *249 + items: *97 old_property_values: type: array description: The old custom property values for the repository. - items: *249 + items: *97 required: - action - repository @@ -116945,18 +117607,18 @@ webhooks: title: delete event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - pusher_type: *692 - ref: *693 + enterprise: *687 + installation: *688 + organization: *689 + pusher_type: *696 + ref: *697 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *686 + repository: *690 sender: *4 required: - ref @@ -117040,11 +117702,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117128,11 +117790,11 @@ webhooks: type: string enum: - auto_reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117216,11 +117878,11 @@ webhooks: type: string enum: - created - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117302,11 +117964,11 @@ webhooks: type: string enum: - dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117388,11 +118050,11 @@ webhooks: type: string enum: - fixed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117475,11 +118137,11 @@ webhooks: type: string enum: - reintroduced - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117561,11 +118223,11 @@ webhooks: type: string enum: - reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117642,9 +118304,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - key: &694 + enterprise: *687 + installation: *688 + key: &698 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117682,8 +118344,8 @@ webhooks: - verified - created_at - read_only - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -117760,11 +118422,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - key: *694 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + key: *698 + organization: *689 + repository: *690 sender: *4 required: - action @@ -118336,12 +118998,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: &698 + workflow: &702 title: Workflow type: - object @@ -119079,13 +119741,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *467 + deployment: *462 pull_requests: type: array - items: *547 - repository: *686 - organization: *685 - installation: *684 + items: *544 + repository: *690 + organization: *689 + installation: *688 sender: *4 responses: '200': @@ -119156,7 +119818,7 @@ webhooks: type: string enum: - approved - approver: &695 + approver: &699 type: object properties: avatar_url: @@ -119199,11 +119861,11 @@ webhooks: type: string comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: &696 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + reviewers: &700 type: array items: type: object @@ -119284,7 +119946,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &697 + workflow_job_run: &701 type: object properties: conclusion: @@ -120030,18 +120692,18 @@ webhooks: type: string enum: - rejected - approver: *695 + approver: *699 comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: *696 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + reviewers: *700 sender: *4 since: type: string - workflow_job_run: *697 + workflow_job_run: *701 workflow_job_runs: type: array items: @@ -120758,13 +121420,13 @@ webhooks: type: string enum: - requested - enterprise: *683 + enterprise: *687 environment: type: string - installation: *684 - organization: *685 - repository: *686 - requestor: &703 + installation: *688 + organization: *689 + repository: *690 + requestor: &707 title: User type: - object @@ -122707,12 +123369,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *698 + workflow: *702 workflow_run: title: Deployment Workflow Run type: @@ -123403,7 +124065,7 @@ webhooks: type: string enum: - answered - answer: &701 + answer: &705 type: object properties: author_association: @@ -123563,11 +124225,11 @@ webhooks: - created_at - updated_at - body - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -123694,11 +124356,11 @@ webhooks: - from required: - category - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -123781,11 +124443,11 @@ webhooks: type: string enum: - closed - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -123867,7 +124529,7 @@ webhooks: type: string enum: - created - comment: &700 + comment: &704 type: object properties: author_association: @@ -124027,11 +124689,11 @@ webhooks: - updated_at - body - reactions - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124114,12 +124776,12 @@ webhooks: type: string enum: - deleted - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *704 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124214,12 +124876,12 @@ webhooks: - from required: - body - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *704 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124303,11 +124965,11 @@ webhooks: type: string enum: - created - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124389,11 +125051,11 @@ webhooks: type: string enum: - deleted - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124493,11 +125155,11 @@ webhooks: type: string required: - from - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124579,10 +125241,10 @@ webhooks: type: string enum: - labeled - discussion: *699 - enterprise: *683 - installation: *684 - label: &702 + discussion: *703 + enterprise: *687 + installation: *688 + label: &706 title: Label type: object properties: @@ -124615,8 +125277,8 @@ webhooks: - color - default - description - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124699,11 +125361,11 @@ webhooks: type: string enum: - locked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124785,11 +125447,11 @@ webhooks: type: string enum: - pinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124871,11 +125533,11 @@ webhooks: type: string enum: - reopened - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124960,16 +125622,16 @@ webhooks: changes: type: object properties: - new_discussion: *699 - new_repository: *686 + new_discussion: *703 + new_repository: *690 required: - new_discussion - new_repository - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125052,10 +125714,10 @@ webhooks: type: string enum: - unanswered - discussion: *699 - old_answer: *701 - organization: *685 - repository: *686 + discussion: *703 + old_answer: *705 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125137,12 +125799,12 @@ webhooks: type: string enum: - unlabeled - discussion: *699 - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125225,11 +125887,11 @@ webhooks: type: string enum: - unlocked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125311,11 +125973,11 @@ webhooks: type: string enum: - unpinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125388,7 +126050,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *683 + enterprise: *687 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126066,9 +126728,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - forkee @@ -126214,9 +126876,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pages: description: The pages that were updated. type: array @@ -126254,7 +126916,7 @@ webhooks: - action - sha - html_url - repository: *686 + repository: *690 sender: *4 required: - pages @@ -126330,10 +126992,10 @@ webhooks: type: string enum: - created - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories: &704 + organization: *689 + repositories: &708 description: An array of repository objects that the installation can access. type: array @@ -126359,8 +127021,8 @@ webhooks: - name - full_name - private - repository: *686 - requester: *703 + repository: *690 + requester: *707 sender: *4 required: - action @@ -126435,11 +127097,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -126516,11 +127178,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -126597,10 +127259,10 @@ webhooks: type: string enum: - added - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories_added: &705 + organization: *689 + repositories_added: &709 description: An array of repository objects, which were added to the installation. type: array @@ -126646,15 +127308,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *686 - repository_selection: &706 + repository: *690 + repository_selection: &710 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *703 + requester: *707 sender: *4 required: - action @@ -126733,10 +127395,10 @@ webhooks: type: string enum: - removed - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories_added: *705 + organization: *689 + repositories_added: *709 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126763,9 +127425,9 @@ webhooks: - name - full_name - private - repository: *686 - repository_selection: *706 - requester: *703 + repository: *690 + repository_selection: *710 + requester: *707 sender: *4 required: - action @@ -126844,11 +127506,11 @@ webhooks: type: string enum: - suspend - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -127030,10 +127692,10 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 target_type: type: string @@ -127112,11 +127774,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -127364,8 +128026,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128182,8 +128844,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128200,7 +128862,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -128544,8 +129206,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -128625,7 +129287,7 @@ webhooks: type: string enum: - deleted - comment: &707 + comment: &711 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128792,8 +129454,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129606,8 +130268,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129624,7 +130286,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -129970,8 +130632,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -130051,7 +130713,7 @@ webhooks: type: string enum: - edited - changes: &731 + changes: &735 description: The changes to the comment. type: object properties: @@ -130063,9 +130725,9 @@ webhooks: type: string required: - from - comment: *707 - enterprise: *683 - installation: *684 + comment: *711 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130881,8 +131543,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130899,7 +131561,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -131243,8 +131905,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131328,15 +131990,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - blocking_issue_repo: *66 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + blocking_issue_repo: *64 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131424,15 +132086,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - blocking_issue_repo: *66 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + blocking_issue_repo: *64 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131519,15 +132181,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *66 + blocked_issue_repo: *64 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131615,15 +132277,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *66 + blocked_issue_repo: *64 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131708,10 +132370,10 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - issue: &710 + assignee: *707 + enterprise: *687 + installation: *688 + issue: &714 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132523,11 +133185,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132544,7 +133206,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -132647,8 +133309,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -132728,8 +133390,8 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133546,11 +134208,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133567,7 +134229,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -133813,8 +134475,8 @@ webhooks: required: - state - closed_at - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -133893,8 +134555,8 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134702,11 +135364,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134723,7 +135385,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -134825,8 +135487,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -134905,8 +135567,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135737,11 +136399,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135758,7 +136420,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -135839,7 +136501,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &708 + milestone: &712 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135982,8 +136644,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -136082,8 +136744,8 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136895,11 +137557,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136913,7 +137575,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *205 title: description: Title of the issue type: string @@ -137019,9 +137681,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -137101,8 +137763,8 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137913,11 +138575,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137931,7 +138593,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *205 title: description: Title of the issue type: string @@ -138037,9 +138699,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -138119,8 +138781,8 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138956,11 +139618,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138974,7 +139636,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *205 title: description: Title of the issue type: string @@ -139057,8 +139719,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -139137,8 +139799,8 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139968,11 +140630,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139989,7 +140651,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -140069,9 +140731,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *708 - organization: *685 - repository: *686 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -140963,11 +141625,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141063,7 +141725,7 @@ webhooks: required: - login - id - type: *199 + type: *205 required: - id - number @@ -141544,8 +142206,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142357,11 +143019,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142378,7 +143040,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -142480,8 +143142,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -142561,9 +143223,9 @@ webhooks: type: string enum: - pinned - enterprise: *683 - installation: *684 - issue: &709 + enterprise: *687 + installation: *688 + issue: &713 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143369,11 +144031,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143390,7 +144052,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -143492,8 +144154,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -143572,8 +144234,8 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144407,11 +145069,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144508,9 +145170,9 @@ webhooks: format: uri user_view_type: type: string - type: *199 - organization: *685 - repository: *686 + type: *205 + organization: *689 + repository: *690 sender: *4 required: - action @@ -145399,11 +146061,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145420,7 +146082,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -146002,11 +146664,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + issue: *713 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146086,12 +146748,12 @@ webhooks: type: string enum: - typed - enterprise: *683 - installation: *684 - issue: *710 - type: *199 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + issue: *714 + type: *205 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146172,7 +146834,7 @@ webhooks: type: string enum: - unassigned - assignee: &734 + assignee: &738 title: User type: - object @@ -146244,11 +146906,11 @@ webhooks: required: - login - id - enterprise: *683 - installation: *684 - issue: *710 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + issue: *714 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146327,12 +146989,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - issue: *710 - label: *702 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + issue: *714 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146412,8 +147074,8 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147247,11 +147909,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147268,7 +147930,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -147348,8 +148010,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147429,11 +148091,11 @@ webhooks: type: string enum: - unpinned - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + issue: *713 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147512,12 +148174,12 @@ webhooks: type: string enum: - untyped - enterprise: *683 - installation: *684 - issue: *710 - type: *199 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + issue: *714 + type: *205 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147597,11 +148259,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147679,11 +148341,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147793,11 +148455,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147879,9 +148541,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: &711 + enterprise: *687 + installation: *688 + marketplace_purchase: &715 title: Marketplace Purchase type: object required: @@ -147969,8 +148631,8 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: &712 + organization: *689 + previous_marketplace_purchase: &716 title: Marketplace Purchase type: object properties: @@ -148054,7 +148716,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *690 sender: *4 required: - action @@ -148134,10 +148796,10 @@ webhooks: - changed effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *687 + installation: *688 + marketplace_purchase: *715 + organization: *689 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148225,7 +148887,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *690 sender: *4 required: - action @@ -148307,10 +148969,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *687 + installation: *688 + marketplace_purchase: *715 + organization: *689 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148396,7 +149058,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *690 sender: *4 required: - action @@ -148477,8 +149139,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 marketplace_purchase: title: Marketplace Purchase type: object @@ -148564,9 +149226,9 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + organization: *689 + previous_marketplace_purchase: *716 + repository: *690 sender: *4 required: - action @@ -148646,12 +149308,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + enterprise: *687 + installation: *688 + marketplace_purchase: *715 + organization: *689 + previous_marketplace_purchase: *716 + repository: *690 sender: *4 required: - action @@ -148753,11 +149415,11 @@ webhooks: type: string required: - to - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 sender: *4 required: - action @@ -148859,11 +149521,11 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 sender: *4 required: - action @@ -148942,11 +149604,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149024,11 +149686,11 @@ webhooks: type: string enum: - added - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149106,7 +149768,7 @@ webhooks: required: - login - id - team: &713 + team: &717 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149336,11 +149998,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149419,7 +150081,7 @@ webhooks: required: - login - id - team: *713 + team: *717 required: - action - scope @@ -149501,8 +150163,8 @@ webhooks: type: string enum: - checks_requested - installation: *684 - merge_group: &714 + installation: *688 + merge_group: &718 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149521,15 +150183,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *398 + head_commit: *393 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149615,10 +150277,10 @@ webhooks: - merged - invalidated - dequeued - installation: *684 - merge_group: *714 - organization: *685 - repository: *686 + installation: *688 + merge_group: *718 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149691,7 +150353,7 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *687 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149800,12 +150462,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *684 - organization: *685 + installation: *688 + organization: *689 repository: anyOf: - type: 'null' - - *686 + - *690 sender: *4 required: - action @@ -149885,11 +150547,11 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149968,9 +150630,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - milestone: &715 + enterprise: *687 + installation: *688 + milestone: &719 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150112,8 +150774,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150192,11 +150854,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150306,11 +150968,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150390,11 +151052,11 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - milestone: *715 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + milestone: *719 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150473,11 +151135,11 @@ webhooks: type: string enum: - blocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *707 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150556,11 +151218,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *707 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150639,9 +151301,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - membership: &716 + enterprise: *687 + installation: *688 + membership: &720 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150751,8 +151413,8 @@ webhooks: - role - organization_url - user - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150830,11 +151492,11 @@ webhooks: type: string enum: - member_added - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + membership: *720 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150913,8 +151575,8 @@ webhooks: type: string enum: - member_invited - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151036,10 +151698,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 - user: *703 + user: *707 required: - action - invitation @@ -151117,11 +151779,11 @@ webhooks: type: string enum: - member_removed - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + membership: *720 + organization: *689 + repository: *690 sender: *4 required: - action @@ -151208,11 +151870,11 @@ webhooks: properties: from: type: string - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + membership: *720 + organization: *689 + repository: *690 sender: *4 required: - action @@ -151288,9 +151950,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 package: description: Information about the package. type: object @@ -151813,7 +152475,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &717 + items: &721 title: Ruby Gems metadata type: object properties: @@ -151910,7 +152572,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *690 sender: *4 required: - action @@ -151986,9 +152648,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 package: description: Information about the package. type: object @@ -152350,7 +153012,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *721 source_url: type: string format: uri @@ -152421,7 +153083,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *690 sender: *4 required: - action @@ -152602,12 +153264,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *683 + enterprise: *687 id: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - id @@ -152684,7 +153346,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &718 + personal_access_token_request: &722 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152834,10 +153496,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *683 - organization: *685 + enterprise: *687 + organization: *689 sender: *4 - installation: *684 + installation: *688 required: - action - personal_access_token_request @@ -152914,11 +153576,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *722 + enterprise: *687 + organization: *689 sender: *4 - installation: *684 + installation: *688 required: - action - personal_access_token_request @@ -152994,11 +153656,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *722 + enterprise: *687 + organization: *689 sender: *4 - installation: *684 + installation: *688 required: - action - personal_access_token_request @@ -153073,11 +153735,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *718 - organization: *685 - enterprise: *683 + personal_access_token_request: *722 + organization: *689 + enterprise: *687 sender: *4 - installation: *684 + installation: *688 required: - action - personal_access_token_request @@ -153182,7 +153844,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *719 + last_response: *723 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153214,8 +153876,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 zen: description: Random string of GitHub zen. @@ -153460,10 +154122,10 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: &720 + enterprise: *687 + installation: *688 + organization: *689 + project_card: &724 title: Project Card type: object properties: @@ -153586,7 +154248,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *690 sender: *4 required: - action @@ -153667,11 +154329,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project_card: *724 + repository: *690 sender: *4 required: - action @@ -153751,9 +154413,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 project_card: title: Project Card type: object @@ -153883,7 +154545,7 @@ webhooks: repository: anyOf: - type: 'null' - - *686 + - *690 sender: *4 required: - action @@ -153977,11 +154639,11 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project_card: *724 + repository: *690 sender: *4 required: - action @@ -154075,9 +154737,9 @@ webhooks: - from required: - column_id - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 project_card: allOf: - title: Project Card @@ -154274,7 +154936,7 @@ webhooks: type: string required: - after_id - repository: *686 + repository: *690 sender: *4 required: - action @@ -154354,10 +155016,10 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - organization: *685 - project: &722 + enterprise: *687 + installation: *688 + organization: *689 + project: &726 title: Project type: object properties: @@ -154484,7 +155146,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *690 sender: *4 required: - action @@ -154564,10 +155226,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_column: &721 + enterprise: *687 + installation: *688 + organization: *689 + project_column: &725 title: Project Column type: object properties: @@ -154607,7 +155269,7 @@ webhooks: - name - created_at - updated_at - repository: *686 + repository: *690 sender: *4 required: - action @@ -154686,14 +155348,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 + enterprise: *687 + installation: *688 + organization: *689 + project_column: *725 repository: anyOf: - type: 'null' - - *686 + - *690 sender: *4 required: - action @@ -154782,11 +155444,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project_column: *725 + repository: *690 sender: *4 required: - action @@ -154866,11 +155528,11 @@ webhooks: type: string enum: - moved - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project_column: *725 + repository: *690 sender: *4 required: - action @@ -154950,11 +155612,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 + repository: *690 sender: *4 required: - action @@ -155034,14 +155696,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project: *722 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 repository: anyOf: - type: 'null' - - *686 + - *690 sender: *4 required: - action @@ -155142,11 +155804,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 + repository: *690 sender: *4 required: - action @@ -155225,11 +155887,11 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 + repository: *690 sender: *4 required: - action @@ -155310,9 +155972,9 @@ webhooks: type: string enum: - closed - installation: *684 - organization: *685 - projects_v2: *233 + installation: *688 + organization: *689 + projects_v2: *239 sender: *4 required: - action @@ -155393,9 +156055,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2: *233 + installation: *688 + organization: *689 + projects_v2: *239 sender: *4 required: - action @@ -155476,9 +156138,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2: *233 + installation: *688 + organization: *689 + projects_v2: *239 sender: *4 required: - action @@ -155599,9 +156261,9 @@ webhooks: type: string to: type: string - installation: *684 - organization: *685 - projects_v2: *233 + installation: *688 + organization: *689 + projects_v2: *239 sender: *4 required: - action @@ -155684,7 +156346,7 @@ webhooks: type: string enum: - archived - changes: &726 + changes: &730 type: object properties: archived_at: @@ -155700,9 +156362,9 @@ webhooks: - string - 'null' format: date-time - installation: *684 - organization: *685 - projects_v2_item: &723 + installation: *688 + organization: *689 + projects_v2_item: &727 title: Projects v2 Item description: An item belonging to a project type: object @@ -155720,7 +156382,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *240 + content_type: *246 creator: *4 created_at: type: string @@ -155842,9 +156504,9 @@ webhooks: - 'null' to: type: string - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -155926,9 +156588,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156009,9 +156671,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156116,7 +156778,7 @@ webhooks: oneOf: - type: string - type: integer - - &724 + - &728 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156140,7 +156802,7 @@ webhooks: required: - id - name - - &725 + - &729 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156180,8 +156842,8 @@ webhooks: oneOf: - type: string - type: integer - - *724 - - *725 + - *728 + - *729 type: - 'null' - string @@ -156204,9 +156866,9 @@ webhooks: - 'null' required: - body - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156303,9 +156965,9 @@ webhooks: type: - string - 'null' - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156388,10 +157050,10 @@ webhooks: type: string enum: - restored - changes: *726 - installation: *684 - organization: *685 - projects_v2_item: *723 + changes: *730 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156473,9 +157135,9 @@ webhooks: type: string enum: - reopened - installation: *684 - organization: *685 - projects_v2: *233 + installation: *688 + organization: *689 + projects_v2: *239 sender: *4 required: - action @@ -156556,9 +157218,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *688 + organization: *689 + projects_v2_status_update: *731 sender: *4 required: - action @@ -156639,9 +157301,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *688 + organization: *689 + projects_v2_status_update: *731 sender: *4 required: - action @@ -156787,9 +157449,9 @@ webhooks: - string - 'null' format: date - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *688 + organization: *689 + projects_v2_status_update: *731 sender: *4 required: - action @@ -156860,10 +157522,10 @@ webhooks: title: public event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - repository @@ -156940,13 +157602,13 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - number: &728 + assignee: *707 + enterprise: *687 + installation: *688 + number: &732 description: The pull request number. type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -159295,7 +159957,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -159377,11 +160039,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -161723,7 +162385,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *690 sender: *4 required: - action @@ -161805,11 +162467,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -164151,7 +164813,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *690 sender: *4 required: - action @@ -164233,13 +164895,13 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: &729 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: &733 allOf: - - *547 + - *544 - type: object properties: allow_auto_merge: @@ -164301,7 +164963,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *686 + repository: *690 sender: *4 required: - action @@ -164382,12 +165044,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -164467,11 +165129,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - milestone: *238 - number: *728 - organization: *685 - pull_request: &730 + enterprise: *687 + milestone: *244 + number: *732 + organization: *689 + pull_request: &734 title: Pull Request type: object properties: @@ -166798,7 +167460,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -166877,11 +167539,11 @@ webhooks: type: string enum: - dequeued - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -169227,7 +169889,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *686 + repository: *690 sender: *4 required: - action @@ -169351,12 +170013,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -169436,11 +170098,11 @@ webhooks: type: string enum: - enqueued - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -171771,7 +172433,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -171851,11 +172513,11 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *687 + installation: *688 + label: *706 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -174203,7 +174865,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -174284,10 +174946,10 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -176633,7 +177295,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -176713,12 +177375,12 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - milestone: *238 - number: *728 - organization: *685 - pull_request: *730 - repository: *686 + enterprise: *687 + milestone: *244 + number: *732 + organization: *689 + pull_request: *734 + repository: *690 sender: *4 required: - action @@ -176797,12 +177459,12 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -176883,12 +177545,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -176968,12 +177630,12 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -177348,9 +178010,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: type: object properties: @@ -179580,7 +180242,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *690 sender: *4 required: - action @@ -179660,7 +180322,7 @@ webhooks: type: string enum: - deleted - comment: &732 + comment: &736 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -179953,9 +180615,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: type: object properties: @@ -182173,7 +182835,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *690 sender: *4 required: - action @@ -182253,11 +182915,11 @@ webhooks: type: string enum: - edited - changes: *731 - comment: *732 - enterprise: *683 - installation: *684 - organization: *685 + changes: *735 + comment: *736 + enterprise: *687 + installation: *688 + organization: *689 pull_request: type: object properties: @@ -184478,7 +185140,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *690 sender: *4 required: - action @@ -184559,9 +185221,9 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -186794,7 +187456,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *690 review: description: The review that was affected. type: object @@ -187045,9 +187707,9 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -189161,8 +189823,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: &733 + repository: *690 + review: &737 description: The review that was affected. type: object properties: @@ -189400,12 +190062,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -191752,7 +192414,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 requested_reviewer: title: User type: @@ -191838,12 +192500,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -194197,7 +194859,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194392,12 +195054,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -196746,7 +197408,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 requested_reviewer: title: User type: @@ -196833,12 +197495,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -199178,7 +199840,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199362,9 +200024,9 @@ webhooks: type: string enum: - submitted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -201600,8 +202262,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: *733 + repository: *690 + review: *737 sender: *4 required: - action @@ -201681,9 +202343,9 @@ webhooks: type: string enum: - resolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -203814,7 +204476,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *690 sender: *4 thread: type: object @@ -204211,9 +204873,9 @@ webhooks: type: string enum: - unresolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -206327,7 +206989,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *690 sender: *4 thread: type: object @@ -206726,10 +207388,10 @@ webhooks: type: string before: type: string - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -209064,7 +209726,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -209146,11 +209808,11 @@ webhooks: type: string enum: - unassigned - assignee: *734 - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + assignee: *738 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -211500,7 +212162,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -211579,11 +212241,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *687 + installation: *688 + label: *706 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -213922,7 +214584,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -214003,10 +214665,10 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -216335,7 +216997,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -216538,7 +217200,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *683 + enterprise: *687 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216633,8 +217295,8 @@ webhooks: - url - author - committer - installation: *684 - organization: *685 + installation: *688 + organization: *689 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217222,9 +217884,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 registry_package: type: object properties: @@ -217701,7 +218363,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *717 + items: *721 summary: type: string tag_name: @@ -217757,7 +218419,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *690 sender: *4 required: - action @@ -217835,9 +218497,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 registry_package: type: object properties: @@ -218149,7 +218811,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *721 summary: type: string tag_name: @@ -218199,7 +218861,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *690 sender: *4 required: - action @@ -218276,10 +218938,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - release: &735 + enterprise: *687 + installation: *688 + organization: *689 + release: &739 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218610,7 +219272,7 @@ webhooks: - updated_at - zipball_url - body - repository: *686 + repository: *690 sender: *4 required: - action @@ -218687,11 +219349,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + release: *739 + repository: *690 sender: *4 required: - action @@ -218808,11 +219470,11 @@ webhooks: type: boolean required: - to - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + release: *739 + repository: *690 sender: *4 required: - action @@ -218890,9 +219552,9 @@ webhooks: type: string enum: - prereleased - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219228,7 +219890,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *690 sender: *4 required: - action @@ -219304,10 +219966,10 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - release: &736 + enterprise: *687 + installation: *688 + organization: *689 + release: &740 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219640,7 +220302,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *690 sender: *4 required: - action @@ -219716,11 +220378,11 @@ webhooks: type: string enum: - released - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + release: *739 + repository: *690 sender: *4 required: - action @@ -219796,11 +220458,11 @@ webhooks: type: string enum: - unpublished - enterprise: *683 - installation: *684 - organization: *685 - release: *736 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + release: *740 + repository: *690 sender: *4 required: - action @@ -219876,11 +220538,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_advisory: *608 sender: *4 required: - action @@ -219956,11 +220618,11 @@ webhooks: type: string enum: - reported - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_advisory: *608 sender: *4 required: - action @@ -220036,10 +220698,10 @@ webhooks: type: string enum: - archived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220116,10 +220778,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220197,10 +220859,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220285,10 +220947,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220403,10 +221065,10 @@ webhooks: - 'null' items: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220478,10 +221140,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 status: type: string @@ -220562,10 +221224,10 @@ webhooks: type: string enum: - privatized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220642,10 +221304,10 @@ webhooks: type: string enum: - publicized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220739,10 +221401,10 @@ webhooks: - name required: - repository - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220822,11 +221484,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_ruleset: *281 sender: *4 required: - action @@ -220904,11 +221566,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_ruleset: *281 sender: *4 required: - action @@ -220986,11 +221648,11 @@ webhooks: type: string enum: - edited - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_ruleset: *281 changes: type: object properties: @@ -221009,16 +221671,16 @@ webhooks: properties: added: type: array - items: *251 + items: *256 deleted: type: array - items: *251 + items: *256 updated: type: array items: type: object properties: - condition: *251 + condition: *256 changes: type: object properties: @@ -221051,16 +221713,16 @@ webhooks: properties: added: type: array - items: *568 + items: *565 deleted: type: array - items: *568 + items: *565 updated: type: array items: type: object properties: - rule: *568 + rule: *565 changes: type: object properties: @@ -221297,10 +221959,10 @@ webhooks: - from required: - owner - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221378,10 +222040,10 @@ webhooks: type: string enum: - unarchived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221459,7 +222121,7 @@ webhooks: type: string enum: - create - alert: &737 + alert: &741 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221583,10 +222245,10 @@ webhooks: type: string enum: - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221796,10 +222458,10 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221877,11 +222539,11 @@ webhooks: type: string enum: - reopen - alert: *737 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *741 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222083,10 +222745,10 @@ webhooks: enum: - fixed - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222164,17 +222826,17 @@ webhooks: type: string enum: - created - alert: &738 + alert: &742 type: object properties: - number: *52 - created_at: *53 + number: *151 + created_at: *152 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *153 + url: *154 + html_url: *155 locations_url: type: string format: uri @@ -222278,10 +222940,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222362,11 +223024,11 @@ webhooks: type: string enum: - created - alert: *738 - installation: *684 - location: *739 - organization: *685 - repository: *686 + alert: *742 + installation: *688 + location: *743 + organization: *689 + repository: *690 sender: *4 required: - location @@ -222604,11 +223266,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222686,11 +223348,11 @@ webhooks: type: string enum: - reopened - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222768,11 +223430,11 @@ webhooks: type: string enum: - resolved - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222850,11 +223512,11 @@ webhooks: type: string enum: - validated - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222984,10 +223646,10 @@ webhooks: - organization - enterprise - - repository: *686 - enterprise: *683 - installation: *684 - organization: *685 + repository: *690 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -223065,11 +223727,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: &740 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + security_advisory: &744 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223255,11 +223917,11 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: *740 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + security_advisory: *744 sender: *4 required: - action @@ -223332,10 +223994,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223521,11 +224183,11 @@ webhooks: from: type: object properties: - security_and_analysis: *250 - enterprise: *683 - installation: *684 - organization: *685 - repository: *322 + security_and_analysis: *255 + enterprise: *687 + installation: *688 + organization: *689 + repository: *317 sender: *4 required: - changes @@ -223603,12 +224265,12 @@ webhooks: type: string enum: - cancelled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: &741 + sponsorship: &745 type: object properties: created_at: @@ -223913,12 +224575,12 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *741 + sponsorship: *745 required: - action - sponsorship @@ -224006,12 +224668,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *741 + sponsorship: *745 required: - action - changes @@ -224088,17 +224750,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &742 + effective_date: &746 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *741 + sponsorship: *745 required: - action - sponsorship @@ -224172,7 +224834,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &743 + changes: &747 type: object properties: tier: @@ -224216,13 +224878,13 @@ webhooks: - from required: - tier - effective_date: *742 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + effective_date: *746 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *741 + sponsorship: *745 required: - action - changes @@ -224299,13 +224961,13 @@ webhooks: type: string enum: - tier_changed - changes: *743 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + changes: *747 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *741 + sponsorship: *745 required: - action - changes @@ -224379,10 +225041,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224466,10 +225128,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224903,15 +225565,15 @@ webhooks: type: - string - 'null' - enterprise: *683 + enterprise: *687 id: description: The unique identifier of the status. type: integer - installation: *684 + installation: *688 name: type: string - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 sha: description: The Commit SHA. @@ -225021,15 +225683,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *66 + parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *66 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225113,15 +225775,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *66 + parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *66 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225205,15 +225867,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *66 + sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *66 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225297,15 +225959,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *66 + sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *66 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225382,12 +226044,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - team: &744 + team: &748 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225617,9 +226279,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -226089,7 +226751,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *748 required: - action - team @@ -226165,9 +226827,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -226637,7 +227299,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *748 required: - action - team @@ -226714,9 +227376,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -227186,7 +227848,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *748 required: - action - team @@ -227330,9 +227992,9 @@ webhooks: - from required: - permissions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -227802,7 +228464,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *748 required: - action - changes @@ -227880,9 +228542,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -228352,7 +229014,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *748 required: - action - team @@ -228428,10 +229090,10 @@ webhooks: type: string enum: - started - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -228504,17 +229166,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *683 + enterprise: *687 inputs: type: - object - 'null' additionalProperties: true - installation: *684 - organization: *685 + installation: *688 + organization: *689 ref: type: string - repository: *686 + repository: *690 sender: *4 workflow: type: string @@ -228596,10 +229258,10 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: allOf: @@ -228855,7 +229517,7 @@ webhooks: type: string required: - conclusion - deployment: *467 + deployment: *462 required: - action - repository @@ -228934,10 +229596,10 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: allOf: @@ -229219,7 +229881,7 @@ webhooks: required: - status - steps - deployment: *467 + deployment: *462 required: - action - repository @@ -229298,10 +229960,10 @@ webhooks: type: string enum: - queued - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: type: object @@ -229447,7 +230109,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *462 required: - action - repository @@ -229526,10 +230188,10 @@ webhooks: type: string enum: - waiting - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: type: object @@ -229676,7 +230338,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *462 required: - action - repository @@ -229756,12 +230418,12 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *698 + workflow: *702 workflow_run: title: Workflow Run type: object @@ -230780,12 +231442,12 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *698 + workflow: *702 workflow_run: title: Workflow Run type: object @@ -231789,12 +232451,12 @@ webhooks: type: string enum: - requested - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *698 + workflow: *702 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 4fd58eb26..2a440794f 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -5607,6 +5611,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -5804,6 +5816,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -6698,6 +6719,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -6895,6 +6924,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -7562,6 +7600,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -7759,6 +7805,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -7991,6 +8046,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -8188,6 +8251,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -10278,6 +10350,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -10475,6 +10555,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -11401,6 +11490,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -11598,6 +11695,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -12388,6 +12494,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -12585,6 +12699,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -13078,6 +13201,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -13275,6 +13406,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -22616,29 +22756,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -24471,2163 +24588,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - } - ] - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "html_url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { - "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" - ] - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ] - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -26874,6 +24834,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -28424,6 +26394,876 @@ } } }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "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", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "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" + } + } + }, "/enterprises/{enterprise}/teams/{team_slug}": { "get": { "summary": "Get an enterprise team", @@ -28670,6 +27510,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -76361,10 +75211,391 @@ } } }, + "/organizations/{org}/org-properties/values": { + "get": { + "summary": "Get all custom property values for an organization", + "description": "Gets all custom property values that are set for an organization.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `read:org` scope\n- Actors with the organization-level \"read custom properties for an organization\" fine-grained permission or above", + "tags": [ + "orgs" + ], + "operationId": "orgs/custom-properties-for-orgs-get-organization-values", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-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": "array", + "items": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + } + } + } + } + }, + "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": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "custom-properties-for-orgs" + } + }, + "patch": { + "summary": "Create or update custom property values for an organization", + "description": "Create new or update existing custom property values for an organization.\nTo remove a custom property value from an organization, set the property value to `null`.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `admin:org` scope\n- Actors with the organization-level \"edit custom properties for an organization\" fine-grained permission", + "tags": [ + "orgs" + ], + "operationId": "orgs/custom-properties-for-orgs-create-or-update-organization-values", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "properties": { + "type": "array", + "description": "A list of custom property names and associated values to apply to the organization.", + "items": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + } + } + }, + "required": [ + "properties" + ] + }, + "examples": { + "default": { + "value": { + "properties": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content when custom property values are successfully created or updated" + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "custom-properties-for-orgs" + } + } + }, "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -76508,7 +75739,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -76516,7 +75747,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -76524,7 +75755,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -79074,6 +78305,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -79204,6 +78442,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -79344,6 +78586,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -79362,6 +78611,11 @@ "enable_static_ip": { "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -79459,6 +78713,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -79589,6 +78850,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -79644,6 +78909,639 @@ } } }, + "/orgs/{org}/actions/hosted-runners/images/custom": { + "get": { + "summary": "List custom images for an organization", + "description": "List custom images for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-images-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get a custom image definition for GitHub Actions Hosted Runners", + "description": "Get a custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "platform": "linux-x64", + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a custom image from the organization", + "description": "Delete a custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { + "get": { + "summary": "List image versions of a custom image for an organization", + "description": "List image versions of a custom image for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-image-versions-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization" + }, + "parameters": [ + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "image_versions" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "image_versions": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { + "get": { + "summary": "Get an image version of a custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of a custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-version-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + }, + "examples": { + "default": { + "value": { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete an image version of custom image from the organization", + "description": "Delete an image version of custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, "/orgs/{org}/actions/hosted-runners/images/github-owned": { "get": { "summary": "Get GitHub-owned images for GitHub-hosted runners in an organization", @@ -80238,6 +80136,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -80368,6 +80273,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -80483,6 +80392,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -80569,6 +80485,309 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] + } + }, + "required": [ + "id", + "size_gb", + "display_name", + "source" + ] + } + ] + }, + "machine_size_details": { + "title": "Github-owned VM details.", + "description": "Provides details of a particular machine spec.", + "type": "object", + "properties": { + "id": { + "description": "The ID used for the `size` parameter when creating a new runner.", + "type": "string", + "examples": [ + "8-core" + ] + }, + "cpu_cores": { + "description": "The number of cores.", + "type": "integer", + "examples": [ + 8 + ] + }, + "memory_gb": { + "description": "The available RAM for the machine spec.", + "type": "integer", + "examples": [ + 32 + ] + }, + "storage_gb": { + "description": "The available SSD storage for the machine spec.", + "type": "integer", + "examples": [ + 300 + ] + } + }, + "required": [ + "id", + "cpu_cores", + "memory_gb", + "storage_gb" + ] + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "enum": [ + "Ready", + "Provisioning", + "Shutdown", + "Deleting", + "Stuck" + ], + "examples": [ + "Ready" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "maximum_runners": { + "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", + "type": "integer", + "default": 10, + "examples": [ + 5 + ] + }, + "public_ip_enabled": { + "description": "Whether public IP is enabled for the hosted runners.", + "type": "boolean", + "examples": [ + true + ] + }, + "public_ips": { + "description": "The public IP ranges when public IP is enabled for the hosted runners.", + "type": "array", + "items": { + "title": "Public IP for a GitHub-hosted larger runners.", + "description": "Provides details of Public IP for a GitHub-hosted larger runners", + "type": "object", + "properties": { + "enabled": { + "description": "Whether public IP is enabled.", + "type": "boolean", + "examples": [ + true + ] + }, + "prefix": { + "description": "The prefix for the public IP.", + "type": "string", + "examples": [ + "20.80.208.150" + ] + }, + "length": { + "description": "The length of the IP prefix.", + "type": "integer", + "examples": [ + 28 + ] + } + } + } + }, + "last_active_on": { + "description": "The time at which the runner was last used, in ISO 8601 format.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2022-10-09T23:39:01Z" + ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." + } + }, + "required": [ + "id", + "name", + "image_details", + "machine_size_details", + "status", + "public_ip_enabled", + "platform" + ] + }, + "examples": { + "default": { + "value": { + "id": 5, + "name": "My hosted ubuntu runner", + "runner_group_id": 2, + "platform": "linux-x64", + "image": { + "id": "ubuntu-20.04", + "size": 86 + }, + "machine_size_details": { + "id": "4-core", + "cpu_cores": 4, + "memory_gb": 16, + "storage_gb": 150 + }, + "status": "Ready", + "maximum_runners": 10, + "public_ip_enabled": true, + "public_ips": [ + { + "enabled": true, + "prefix": "20.80.208.150", + "length": 31 + } + ], + "last_active_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a GitHub-hosted runner for an organization", + "description": "Deletes a GitHub-hosted runner for an organization.", + "operationId": "actions/delete-hosted-runner-for-org", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "hosted_runner_id", + "description": "Unique identifier of the GitHub-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "202": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted hosted runner", + "description": "A Github-hosted hosted runner.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the hosted runner.", + "type": "integer", + "examples": [ + 5 + ] + }, + "name": { + "description": "The name of the hosted runner.", + "type": "string", + "examples": [ + "my-github-hosted-runner" + ] + }, + "runner_group_id": { + "description": "The unique identifier of the group that the hosted runner belongs to.", + "type": "integer", + "examples": [ + 2 + ] + }, + "image_details": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub-hosted runner image details.", + "description": "Provides details of a hosted runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "string", + "examples": [ + "ubuntu-20.04" + ] + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "examples": [ + 86 + ] + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + 20.04 + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "enum": [ + "github", + "partner", + "custom" + ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -80699,291 +80918,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] - } - }, - "required": [ - "id", - "name", - "image_details", - "machine_size_details", - "status", - "public_ip_enabled", - "platform" - ] - }, - "examples": { - "default": { - "value": { - "id": 5, - "name": "My hosted ubuntu runner", - "runner_group_id": 2, - "platform": "linux-x64", - "image": { - "id": "ubuntu-20.04", - "size": 86 - }, - "machine_size_details": { - "id": "4-core", - "cpu_cores": 4, - "memory_gb": 16, - "storage_gb": 150 - }, - "status": "Ready", - "maximum_runners": 10, - "public_ip_enabled": true, - "public_ips": [ - { - "enabled": true, - "prefix": "20.80.208.150", - "length": 31 - } - ], - "last_active_on": "2022-10-09T23:39:01Z" - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "githubCloudOnly": false, - "category": "actions", - "subcategory": "hosted-runners" - } - }, - "delete": { - "summary": "Delete a GitHub-hosted runner for an organization", - "description": "Deletes a GitHub-hosted runner for an organization.", - "operationId": "actions/delete-hosted-runner-for-org", - "tags": [ - "actions" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "hosted_runner_id", - "description": "Unique identifier of the GitHub-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "202": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "GitHub-hosted hosted runner", - "description": "A Github-hosted hosted runner.", - "type": "object", - "properties": { - "id": { - "description": "The unique identifier of the hosted runner.", - "type": "integer", - "examples": [ - 5 - ] }, - "name": { - "description": "The name of the hosted runner.", - "type": "string", - "examples": [ - "my-github-hosted-runner" - ] - }, - "runner_group_id": { - "description": "The unique identifier of the group that the hosted runner belongs to.", - "type": "integer", - "examples": [ - 2 - ] - }, - "image_details": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "GitHub-hosted runner image details.", - "description": "Provides details of a hosted runner image", - "type": "object", - "properties": { - "id": { - "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", - "type": "string", - "examples": [ - "ubuntu-20.04" - ] - }, - "size_gb": { - "description": "Image size in GB.", - "type": "integer", - "examples": [ - 86 - ] - }, - "display_name": { - "description": "Display name for this image.", - "type": "string", - "examples": [ - 20.04 - ] - }, - "source": { - "description": "The image provider.", - "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] - } - }, - "required": [ - "id", - "size_gb", - "display_name", - "source" - ] - } - ] - }, - "machine_size_details": { - "title": "Github-owned VM details.", - "description": "Provides details of a particular machine spec.", - "type": "object", - "properties": { - "id": { - "description": "The ID used for the `size` parameter when creating a new runner.", - "type": "string", - "examples": [ - "8-core" - ] - }, - "cpu_cores": { - "description": "The number of cores.", - "type": "integer", - "examples": [ - 8 - ] - }, - "memory_gb": { - "description": "The available RAM for the machine spec.", - "type": "integer", - "examples": [ - 32 - ] - }, - "storage_gb": { - "description": "The available SSD storage for the machine spec.", - "type": "integer", - "examples": [ - 300 - ] - } - }, - "required": [ - "id", - "cpu_cores", - "memory_gb", - "storage_gb" - ] - }, - "status": { - "description": "The status of the runner.", - "type": "string", - "enum": [ - "Ready", - "Provisioning", - "Shutdown", - "Deleting", - "Stuck" - ], - "examples": [ - "Ready" - ] - }, - "platform": { - "description": "The operating system of the image.", - "type": "string", - "examples": [ - "linux-x64" - ] - }, - "maximum_runners": { - "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", - "type": "integer", - "default": 10, - "examples": [ - 5 - ] - }, - "public_ip_enabled": { - "description": "Whether public IP is enabled for the hosted runners.", + "image_gen": { "type": "boolean", - "examples": [ - true - ] - }, - "public_ips": { - "description": "The public IP ranges when public IP is enabled for the hosted runners.", - "type": "array", - "items": { - "title": "Public IP for a GitHub-hosted larger runners.", - "description": "Provides details of Public IP for a GitHub-hosted larger runners", - "type": "object", - "properties": { - "enabled": { - "description": "Whether public IP is enabled.", - "type": "boolean", - "examples": [ - true - ] - }, - "prefix": { - "description": "The prefix for the public IP.", - "type": "string", - "examples": [ - "20.80.208.150" - ] - }, - "length": { - "description": "The length of the IP prefix.", - "type": "integer", - "examples": [ - 28 - ] - } - } - } - }, - "last_active_on": { - "description": "The time at which the runner was last used, in ISO 8601 format.", - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2022-10-09T23:39:01Z" - ] + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -86971,6 +86909,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -87101,6 +87046,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -97158,6 +97107,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", @@ -98836,7 +98889,10 @@ }, "code_scanning_alerts": { "description": "The code scanning alerts to include in this campaign", - "type": "array", + "type": [ + "array", + "null" + ], "minItems": 1, "items": { "type": "object", @@ -98870,8 +98926,19 @@ "required": [ "name", "description", - "ends_at", - "code_scanning_alerts" + "ends_at" + ], + "oneOf": [ + { + "required": [ + "code_scanning_alerts" + ] + }, + { + "required": [ + "secret_scanning_alerts" + ] + } ] }, "examples": { @@ -115170,29 +115237,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).\"", @@ -135763,6 +135807,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -135960,6 +136012,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -136869,6 +136930,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -137066,6 +137135,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -171836,17 +171914,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } }, @@ -180822,17 +180904,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -353327,16 +353413,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -353364,29 +353440,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": { @@ -395615,6 +395668,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -395812,6 +395873,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -577049,7 +577119,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" ], @@ -658103,6 +658173,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -658300,6 +658378,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -731001,6 +731088,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -731198,6 +731293,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -739040,17 +739144,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -747999,17 +748107,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -776666,7 +776778,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -776797,7 +776909,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -776805,7 +776917,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -776813,7 +776925,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -946024,6 +946136,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -946221,6 +946341,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -949090,6 +949219,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -949287,6 +949424,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -952061,6 +952207,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -952258,6 +952412,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -955032,6 +955195,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -955229,6 +955400,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -958137,6 +958317,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -958334,6 +958522,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -961249,6 +961446,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -961446,6 +961651,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { @@ -966356,6 +966570,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -966553,6 +966775,15 @@ "read", "write" ] + }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] } }, "example": { diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 0aad05175..f1d93bcbd 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -905,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &292 + type: &287 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1040,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &106 + schema: &105 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &605 + - &610 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1656,7 +1658,7 @@ paths: schema: type: integer default: 30 - - &177 + - &183 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1672,7 +1674,7 @@ paths: application/json: schema: type: array - items: &178 + items: &184 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1768,7 +1770,7 @@ paths: - installation_id - repository_id examples: - default: &179 + default: &185 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1831,7 +1833,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &105 + schema: &104 title: Validation Error description: Validation Error type: object @@ -1903,7 +1905,7 @@ paths: description: Response content: application/json: - schema: &180 + schema: &186 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2038,7 +2040,7 @@ paths: - request - response examples: - default: &181 + default: &187 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2242,7 +2244,7 @@ paths: parameters: - *17 - *19 - - &75 + - &72 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2495,6 +2497,14 @@ paths: token to update GitHub Actions workflow files. enum: - write + custom_properties_for_organizations: + type: string + description: The level of permission to grant the access + token to view and edit custom properties for an organization, + when allowed by the property. + enum: + - read + - write members: type: string description: The level of permission to grant the access @@ -2675,6 +2685,15 @@ paths: enum: - read - write + enterprise_custom_properties_for_organizations: + type: string + description: The level of permission to grant the access + token for organization custom properties management at + the enterprise level. + enum: + - read + - write + - admin example: contents: read issues: read @@ -2792,7 +2811,7 @@ paths: suspended_at: suspended_by: headers: - Link: &57 + Link: &52 example: ; rel="next", ; rel="last" schema: @@ -2982,7 +3001,7 @@ paths: - selected repositories: type: array - items: &66 + items: &64 title: Repository description: A repository on GitHub. type: object @@ -3009,7 +3028,7 @@ paths: license: anyOf: - type: 'null' - - &71 + - &69 title: License Simple description: License Simple type: object @@ -5387,7 +5406,7 @@ paths: responses: '202': *37 '422': *7 - '500': &100 + '500': &98 description: Internal Error content: application/json: @@ -7717,7 +7736,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &152 + code_scanning_options: &161 type: - object - 'null' @@ -7915,7 +7934,7 @@ paths: description: Response content: application/json: - schema: &154 + schema: &163 type: array description: A list of default code security configurations items: @@ -7931,7 +7950,7 @@ paths: default configuration: *41 examples: - default: &155 + default: &164 value: - default_for_new_repos: public configuration: @@ -8262,7 +8281,7 @@ paths: - *40 - *43 responses: - '204': &156 + '204': &165 description: A header with no content is returned. '400': *14 '403': *27 @@ -8389,7 +8408,7 @@ paths: default: value: default_for_new_repos: all - configuration: &153 + configuration: &162 value: id: 1325 target_type: organization @@ -8474,7 +8493,7 @@ paths: application/json: schema: type: array - items: &157 + items: &166 type: object description: Repositories associated with a code security configuration and attachment status @@ -8819,7 +8838,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &158 + repository: &167 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8913,7 +8932,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &162 + - &170 name: state in: query description: |- @@ -8922,7 +8941,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &163 + - &171 name: severity in: query description: |- @@ -8931,7 +8950,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &164 + - &172 name: ecosystem in: query description: |- @@ -8940,14 +8959,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &165 + - &173 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &166 + - &174 name: epss_percentage in: query description: |- @@ -8959,7 +8978,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &458 + - &453 name: has in: query description: |- @@ -8973,7 +8992,7 @@ paths: type: string enum: - patch - - &167 + - &175 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8983,7 +9002,7 @@ paths: enum: - development - runtime - - &168 + - &176 name: sort in: query description: |- @@ -9001,31 +9020,6 @@ paths: - *46 - *38 - *39 - - &169 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &170 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -9034,11 +9028,11 @@ paths: application/json: schema: type: array - items: &171 + items: &177 type: object description: A Dependabot alert. properties: - number: &52 + number: &151 type: integer description: The security alert number. readOnly: true @@ -9104,7 +9098,7 @@ paths: - direct - transitive - - security_advisory: &459 + security_advisory: &454 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9311,29 +9305,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &55 + url: &154 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &56 + html_url: &155 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &53 + created_at: &152 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &54 + updated_at: &153 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &148 + dismissed_at: &157 type: - string - 'null' @@ -9364,7 +9358,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &147 + fixed_at: &156 type: - string - 'null' @@ -9372,7 +9366,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &460 + auto_dismissed_at: &455 type: - string - 'null' @@ -9399,7 +9393,7 @@ paths: - repository additionalProperties: false examples: - default: &172 + default: &178 value: - number: 2 state: dismissed @@ -9727,740 +9721,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - *40 - - &280 - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - - &281 - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default - secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - - &282 - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - - &283 - name: sort - description: The property to sort the results by. `created` means when the - alert was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - - *46 - - *17 - - *38 - - *39 - - &284 - name: validity - in: query - description: A comma-separated list of validities that, when present, will - return alerts that match the validities in this list. Valid options are - `active`, `inactive`, and `unknown`. - required: false - schema: - type: string - - &285 - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts - by the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - - &286 - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts - by the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - - &287 - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &288 - type: object - properties: - number: *52 - created_at: *53 - updated_at: - anyOf: - - type: 'null' - - *54 - url: *55 - html_url: *56 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &583 - description: Sets the state of the secret scanning alert. You - must provide `resolution` when you set the state to `resolved`. - type: string - enum: - - open - - resolved - resolution: &584 - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - *4 - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: *51 - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected - secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - *4 - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - *4 - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection - bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection - bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this - alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert - is base64 encoded - first_location_detected: - anyOf: - - type: 'null' - - &585 - description: 'Details on the location where the token was - initially detected. This can be a commit, wiki commit, issue, - discussion, pull request. - - ' - oneOf: - - &587 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT - ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob - resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - &588 - description: Represents a 'wiki_commit' secret scanning - location type. This location type shows that a secret - was detected inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit - ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - &589 - description: Represents an 'issue_title' secret scanning - location type. This location type shows that a secret - was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &590 - description: Represents an 'issue_body' secret scanning - location type. This location type shows that a secret - was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &591 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &592 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &593 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &594 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &595 - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &596 - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &597 - description: Represents a 'pull_request_comment' secret - scanning location type. This location type shows that - a secret was detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &598 - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret - was detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &599 - description: Represents a 'pull_request_review_comment' - secret scanning location type. This location type shows - that a secret was detected in a review comment on a pull - request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - has_more_locations: - type: boolean - description: A boolean value representing whether or not the - token in the alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - *4 - examples: - default: &289 - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - headers: - Link: *57 - '404': *6 - '503': &73 - description: Service unavailable - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10482,7 +9742,7 @@ paths: application/json: schema: type: array - items: &58 + items: &53 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10547,7 +9807,7 @@ paths: - updated_at - group_id examples: - default: &59 + default: &54 value: - id: 1 name: Justice League @@ -10560,7 +9820,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10604,6 +9864,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10623,9 +9895,9 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10643,7 +9915,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &60 + - &55 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10662,7 +9934,7 @@ paths: type: array items: *4 examples: - default: &61 + default: &56 value: - login: octocat id: 1 @@ -10683,7 +9955,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10701,7 +9973,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10732,7 +10004,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10750,7 +10022,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10781,7 +10053,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10799,8 +10071,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *60 - - &62 + - *55 + - &57 name: username description: The handle for the GitHub user account. in: path @@ -10814,7 +10086,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &63 + exampleKey1: &58 value: login: octocat id: 1 @@ -10850,8 +10122,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '201': description: Successfully added team member @@ -10859,7 +10131,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *63 + exampleKey1: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10877,8 +10149,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '204': description: Response @@ -10888,6 +10160,303 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *40 + - *55 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: &59 + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + examples: + default: &60 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *59 + examples: + default: &96 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *40 + - *55 + - &61 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *59 + examples: + default: *60 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *59 + examples: + default: *60 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -10903,7 +10472,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &64 + - &62 name: team_slug description: The slug of the team name. in: path @@ -10915,11 +10484,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10937,7 +10506,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *64 + - *62 requestBody: required: true content: @@ -10965,6 +10534,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10983,11 +10564,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -11008,7 +10589,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *64 + - *62 responses: '204': description: Response @@ -11046,7 +10627,7 @@ paths: application/json: schema: type: array - items: &94 + items: &91 title: Event description: Event type: object @@ -11057,7 +10638,7 @@ paths: type: - string - 'null' - actor: &65 + actor: &63 title: Actor description: Actor type: object @@ -11098,7 +10679,7 @@ paths: - id - name - url - org: *65 + org: *63 payload: oneOf: - title: CreateEvent @@ -11145,7 +10726,7 @@ paths: properties: action: type: string - discussion: &699 + discussion: &703 title: Discussion description: A Discussion in a repository. type: object @@ -11442,7 +11023,7 @@ paths: - id labels: type: array - items: &67 + items: &65 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11525,7 +11106,7 @@ paths: properties: action: type: string - issue: &68 + issue: &66 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11648,7 +11229,7 @@ paths: milestone: anyOf: - type: 'null' - - &238 + - &244 title: Milestone description: A collection of related issues and pull requests. @@ -11820,7 +11401,7 @@ paths: timeline_url: type: string format: uri - type: &199 + type: &205 title: Issue Type description: The type of issue. type: @@ -11874,12 +11455,12 @@ paths: - node_id - name - description - repository: *66 + repository: *64 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &69 + author_association: &67 title: author_association type: string description: How the author is associated with the @@ -11895,7 +11476,7 @@ paths: - OWNER examples: - OWNER - reactions: &70 + reactions: &68 title: Reaction Rollup type: object properties: @@ -11931,7 +11512,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &617 + sub_issues_summary: &622 title: Sub-issues Summary type: object properties: @@ -11952,7 +11533,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &618 + issue_dependencies_summary: &623 title: Issue Dependencies Summary type: object properties: @@ -11971,7 +11552,7 @@ paths: - total_blocking issue_field_values: type: array - items: &619 + items: &624 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12071,10 +11652,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - issue @@ -12083,8 +11664,8 @@ paths: properties: action: type: string - issue: *68 - comment: &506 + issue: *66 + comment: &501 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12134,12 +11715,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - id - node_id @@ -12318,7 +11899,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 allow_forking: type: boolean is_template: @@ -12409,7 +11990,7 @@ paths: type: string number: type: integer - pull_request: &72 + pull_request: &70 title: Pull Request Minimal type: object properties: @@ -12480,10 +12061,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - number @@ -12493,7 +12074,7 @@ paths: properties: action: type: string - pull_request: *72 + pull_request: *70 comment: type: object properties: @@ -12747,7 +12328,7 @@ paths: - pull_request updated_at: type: string - pull_request: *72 + pull_request: *70 required: - action - review @@ -12796,7 +12377,7 @@ paths: updated_at: type: string format: date-time - reactions: *70 + reactions: *68 required: - action - comment @@ -12807,7 +12388,7 @@ paths: type: string release: allOf: - - &558 + - &555 title: Release description: A release. type: object @@ -12889,7 +12470,7 @@ paths: author: *4 assets: type: array - items: &559 + items: &556 title: Release Asset description: Data related to a release. type: object @@ -12964,7 +12545,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *70 + reactions: *68 required: - assets_url - upload_url @@ -13057,7 +12638,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *73 + '503': &99 + description: Service unavailable + content: + application/json: + schema: + type: object + properties: + code: + type: string + message: + type: string + documentation_url: + type: string x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -13147,7 +12740,7 @@ paths: _links: type: object properties: - timeline: &74 + timeline: &71 title: Link With Type description: Hypermedia Link with Type type: object @@ -13159,17 +12752,17 @@ paths: required: - href - type - user: *74 - security_advisories: *74 - current_user: *74 - current_user_public: *74 - current_user_actor: *74 - current_user_organization: *74 + user: *71 + security_advisories: *71 + current_user: *71 + current_user_public: *71 + current_user_actor: *71 + current_user_organization: *71 current_user_organizations: type: array - items: *74 - repository_discussions: *74 - repository_discussions_category: *74 + items: *71 + repository_discussions: *71 + repository_discussions_category: *71 required: - timeline - user @@ -13231,7 +12824,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13241,7 +12834,7 @@ paths: application/json: schema: type: array - items: &76 + items: &73 title: Base Gist description: Base Gist type: object @@ -13338,7 +12931,7 @@ paths: - created_at - updated_at examples: - default: &77 + default: &74 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13383,7 +12976,7 @@ paths: site_admin: false truncated: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 x-github: @@ -13462,7 +13055,7 @@ paths: description: Response content: application/json: - schema: &78 + schema: &75 title: Gist Simple description: Gist Simple type: object @@ -13480,7 +13073,7 @@ paths: url: type: string format: uri - user: &631 + user: &636 title: Public User description: Public User type: object @@ -13854,7 +13447,7 @@ paths: truncated: type: boolean examples: - default: &79 + default: &76 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13958,7 +13551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13968,11 +13561,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -13992,7 +13585,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -14002,11 +13595,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '401': *23 '304': *35 '403': *27 @@ -14032,7 +13625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &80 + - &77 name: gist_id description: The unique identifier of the gist. in: path @@ -14044,10 +13637,10 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 - '403': &83 + default: *76 + '403': &80 description: Forbidden Gist content: application/json: @@ -14096,7 +13689,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *80 + - *77 requestBody: required: true content: @@ -14160,9 +13753,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - updateGist: *79 + updateGist: *76 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14320,7 +13913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14349,7 +13942,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14359,7 +13952,7 @@ paths: application/json: schema: type: array - items: &81 + items: &78 title: Gist Comment description: A comment made to a gist. type: object @@ -14397,7 +13990,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *69 + author_association: *67 required: - url - id @@ -14437,7 +14030,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -14462,7 +14055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *80 + - *77 requestBody: required: true content: @@ -14488,9 +14081,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: &82 + default: &79 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14548,8 +14141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *80 - - &84 + - *77 + - &81 name: comment_id description: The unique identifier of the comment. in: path @@ -14562,12 +14155,12 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '304': *35 '404': *6 - '403': *83 + '403': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14589,8 +14182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 requestBody: required: true content: @@ -14616,9 +14209,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '404': *6 x-github: githubCloudOnly: false @@ -14635,8 +14228,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 responses: '204': description: Response @@ -14659,7 +14252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14760,7 +14353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14770,7 +14363,7 @@ paths: application/json: schema: type: array - items: *78 + items: *75 examples: default: value: @@ -14816,7 +14409,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 '304': *35 '403': *27 @@ -14835,13 +14428,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *80 + - *77 responses: '201': description: Response content: application/json: - schema: *76 + schema: *73 examples: default: value: @@ -14912,7 +14505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *80 + - *77 responses: '204': description: Response if gist is starred @@ -14942,7 +14535,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14964,7 +14557,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14993,7 +14586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *80 + - *77 - name: sha in: path required: true @@ -15004,9 +14597,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 + default: *76 '422': *15 '404': *6 '403': *27 @@ -15167,7 +14760,7 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 repository_selection: type: string examples: @@ -15291,7 +14884,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '403': *27 '304': *35 '401': *23 @@ -15375,7 +14968,7 @@ paths: - closed - all default: open - - &202 + - &208 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -15394,7 +14987,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - name: collab in: query required: false @@ -15424,9 +15017,9 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: &203 + default: &209 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15671,7 +15264,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '404': *6 @@ -15706,7 +15299,7 @@ paths: application/json: schema: type: array - items: *71 + items: *69 examples: default: value: @@ -16004,7 +15597,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &85 + X-CommonMarker-Version: &82 example: 0.17.4 schema: type: string @@ -16059,7 +15652,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *85 + X-CommonMarker-Version: *82 content: text/html: schema: @@ -16088,7 +15681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &88 + - &85 name: account_id description: account_id parameter in: path @@ -16100,7 +15693,7 @@ paths: description: Response content: application/json: - schema: &87 + schema: &84 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16134,7 +15727,7 @@ paths: - 'null' id: type: integer - plan: &86 + plan: &83 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16237,7 +15830,7 @@ paths: - 'null' updated_at: type: string - plan: *86 + plan: *83 required: - url - id @@ -16245,7 +15838,7 @@ paths: - login - marketplace_purchase examples: - default: &89 + default: &86 value: url: https://api.github.com/orgs/github type: Organization @@ -16330,9 +15923,9 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: &90 + default: &87 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16350,7 +15943,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '401': *23 x-github: @@ -16372,14 +15965,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &91 + - &88 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &92 + - &89 name: sort description: The property to sort the results by. in: query @@ -16409,9 +16002,9 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: &93 + default: &90 value: - url: https://api.github.com/orgs/github type: Organization @@ -16462,7 +16055,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '401': *23 @@ -16485,15 +16078,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *88 + - *85 responses: '200': description: Response content: application/json: - schema: *87 + schema: *84 examples: - default: *89 + default: *86 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16525,11 +16118,11 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: *90 + default: *87 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16550,8 +16143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *91 - - *92 + - *88 + - *89 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16571,11 +16164,11 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: *93 + default: *90 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16838,14 +16431,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &314 + - &309 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &315 + - &310 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16862,7 +16455,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -16907,7 +16500,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &323 + '301': &318 description: Moved permanently content: application/json: @@ -16929,7 +16522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &534 + - &529 name: all description: If `true`, show notifications marked as read. in: query @@ -16937,7 +16530,7 @@ paths: schema: type: boolean default: false - - &535 + - &530 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16946,8 +16539,8 @@ paths: schema: type: boolean default: false - - *75 - - &536 + - *72 + - &531 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16972,14 +16565,14 @@ paths: application/json: schema: type: array - items: &95 + items: &92 title: Thread description: Thread type: object properties: id: type: string - repository: &131 + repository: &135 title: Minimal Repository description: Minimal Repository type: object @@ -17318,7 +16911,7 @@ paths: type: boolean examples: - false - security_and_analysis: &250 + security_and_analysis: &255 type: - object - 'null' @@ -17483,7 +17076,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &532 value: - id: '1' repository: @@ -17565,7 +17158,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -17649,7 +17242,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &96 + - &93 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -17663,7 +17256,7 @@ paths: description: Response content: application/json: - schema: *95 + schema: *92 examples: default: value: @@ -17765,7 +17358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *96 + - *93 responses: '205': description: Reset Content @@ -17787,7 +17380,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *96 + - *93 responses: '204': description: No content @@ -17810,13 +17403,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *96 + - *93 responses: '200': description: Response content: application/json: - schema: &97 + schema: &94 title: Thread Subscription description: Thread Subscription type: object @@ -17860,7 +17453,7 @@ paths: - url - subscribed examples: - default: &98 + default: &95 value: subscribed: true ignored: false @@ -17891,7 +17484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *96 + - *93 requestBody: required: false content: @@ -17912,9 +17505,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *94 examples: - default: *98 + default: *95 '304': *35 '403': *27 '401': *23 @@ -17937,7 +17530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *96 + - *93 responses: '204': description: Response @@ -18032,92 +17625,9 @@ paths: application/json: schema: type: array - items: &160 - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description + items: *59 examples: - default: &647 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *96 headers: Link: example: ; rel="next" @@ -18144,13 +17654,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &99 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *61 - name: page in: query description: The page number of results to fetch. @@ -18301,7 +17805,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -18367,7 +17871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *99 + - *61 requestBody: required: true content: @@ -18401,12 +17905,134 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/org-properties/values": + get: + summary: Get all custom property values for an organization + description: |- + Gets all custom property values that are set for an organization. + + The organization must belong to an enterprise. + + Access requirements: + - Organization admins + - OAuth tokens and personal access tokens (classic) with the `read:org` scope + - Actors with the organization-level "read custom properties for an organization" fine-grained permission or above + tags: + - orgs + operationId: orgs/custom-properties-for-orgs-get-organization-values + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization + parameters: + - *61 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &97 + title: Custom Property Value + description: Custom property name and associated value + type: object + properties: + property_name: + type: string + description: The name of the property + value: + oneOf: + - type: string + - type: array + items: + type: string + description: The value assigned to the property + type: + - 'null' + - string + - array + required: + - property_name + - value + examples: + default: &538 + value: + - property_name: environment + value: production + - property_name: service + value: web + - property_name: team + value: octocat + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: custom-properties-for-orgs + patch: + summary: Create or update custom property values for an organization + description: |- + Create new or update existing custom property values for an organization. + To remove a custom property value from an organization, set the property value to `null`. + + The organization must belong to an enterprise. + + Access requirements: + - Organization admins + - OAuth tokens and personal access tokens (classic) with the `admin:org` scope + - Actors with the organization-level "edit custom properties for an organization" fine-grained permission + tags: + - orgs + operationId: orgs/custom-properties-for-orgs-create-or-update-organization-values + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization + parameters: + - *61 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + properties: + type: array + description: A list of custom property names and associated values + to apply to the organization. + items: *97 + required: + - properties + examples: + default: &539 + value: + properties: + - property_name: environment + value: production + - property_name: service + value: web + - property_name: team + value: octocat + responses: + '204': + description: No Content when custom property values are successfully created + or updated + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: custom-properties-for-orgs "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -18414,8 +18040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *99 - - &101 + - *61 + - &100 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18424,7 +18050,7 @@ paths: required: false schema: type: integer - - &673 + - &677 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -18433,7 +18059,7 @@ paths: required: false schema: type: integer - - &102 + - &101 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18448,14 +18074,14 @@ paths: required: false schema: type: string - - &674 + - &678 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &675 + - &679 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18517,19 +18143,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -18571,8 +18197,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18592,9 +18218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *99 - - *101 - - &678 + - *61 + - *100 + - &682 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18603,8 +18229,8 @@ paths: required: false schema: type: integer - - *102 - - &679 + - *101 + - &683 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18687,8 +18313,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18714,13 +18340,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &103 + schema: &102 title: Organization Full description: Organization Full type: object @@ -19115,7 +18741,7 @@ paths: - updated_at - archived_at examples: - default-response: &104 + default-response: &103 value: login: github id: 1 @@ -19215,7 +18841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *99 + - *61 requestBody: required: false content: @@ -19432,17 +19058,17 @@ paths: description: Response content: application/json: - schema: *103 + schema: *102 examples: - default: *104 + default: *103 '422': description: Validation failed content: application/json: schema: oneOf: + - *104 - *105 - - *106 '409': *45 x-github: githubCloudOnly: false @@ -19466,7 +19092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *99 + - *61 responses: '202': *37 '404': *6 @@ -19491,7 +19117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19517,7 +19143,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19538,7 +19164,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19556,7 +19182,7 @@ paths: type: integer repository_cache_usages: type: array - items: &328 + items: &323 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19594,7 +19220,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19614,7 +19240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19632,7 +19258,7 @@ paths: type: integer runners: type: array - items: &107 + items: &106 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19684,12 +19310,18 @@ paths: - github - partner - custom + version: + description: The image version of the hosted runner + pool. + type: string + examples: + - latest required: - id - size_gb - display_name - source - machine_size_details: &110 + machine_size_details: &114 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19785,6 +19417,10 @@ paths: format: date-time examples: - '2022-10-09T23:39:01Z' + image_gen: + type: boolean + description: Whether custom image generation is enabled + for the hosted runners. required: - id - name @@ -19794,7 +19430,7 @@ paths: - public_ip_enabled - platform examples: - default: &130 + default: &134 value: total_count: 2 runners: @@ -19836,7 +19472,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19854,7 +19490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -19883,6 +19519,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -19900,6 +19542,11 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -19921,9 +19568,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *106 examples: - default: &111 + default: &115 value: id: 5 name: My hosted ubuntu runner @@ -19950,6 +19597,320 @@ paths: githubCloudOnly: false category: actions subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an organization + description: |- + List custom images for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization + parameters: + - *61 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: &107 + title: GitHub-hosted runner custom image details + description: Provides details of a custom runner image + type: object + properties: + id: + description: The ID of the image. Use this ID for the `image` + parameter when creating a new larger runner. + type: integer + examples: + - 1 + platform: + description: The operating system of the image. + type: string + examples: + - linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + examples: + - 200 + name: + description: Display name for this image. + type: string + examples: + - CustomImage + source: + description: The image provider. + type: string + examples: + - custom + versions_count: + description: The number of image versions associated with + the image. + type: integer + examples: + - 4 + latest_version: + description: The latest image version associated with the + image. + type: string + examples: + - 1.3.0 + state: + description: The number of image versions associated with + the image. + type: string + examples: + - Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + examples: + default: &109 + value: + total_count: 2 + image_versions: + - version: 1.1.0 + size_gb: 75 + state: Ready + created_on: '2024-11-09T23:39:01Z' + - version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get a custom image definition for GitHub Actions Hosted Runners + description: |- + Get a custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners + parameters: + - *61 + - &108 + 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: *107 + examples: + default: + value: + id: 1 + platform: linux-x64 + name: CustomImage + source: custom + versions_count: 4 + total_versions_size: 200 + latest_version: 1.3.0 + state: Ready + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete a custom image from the organization + description: |- + Delete a custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization + parameters: + - *61 + - *108 + 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: + - *108 + - *61 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: &110 + title: GitHub-hosted runner custom image version details. + description: Provides details of a hosted runner custom image + version + type: object + properties: + version: + description: The version of image. + type: string + examples: + - 1.0.0 + state: + description: The state of image version. + type: string + examples: + - Ready + size_gb: + description: Image version size in GB. + type: integer + examples: + - 30 + created_on: + description: The creation date time of the image version. + type: string + examples: + - '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + examples: + - None + required: + - version + - state + - size_gb + - created_on + - state_details + examples: + default: *109 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of a custom image for GitHub Actions Hosted Runners + description: |- + Get an image version of a custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners + parameters: + - *61 + - *108 + - &111 + 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: *110 + examples: + default: + value: + version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + delete: + summary: Delete an image version of custom image from the organization + description: |- + Delete an image version of custom image from the organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-custom-image-version-from-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization + parameters: + - *61 + - *108 + - *111 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners "/orgs/{org}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an organization @@ -19962,7 +19923,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19978,7 +19939,7 @@ paths: type: integer images: type: array - items: &108 + items: &112 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20018,7 +19979,7 @@ paths: - display_name - source examples: - default: &109 + default: &113 value: id: ubuntu-20.04 platform: linux-x64 @@ -20042,7 +20003,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20058,9 +20019,9 @@ paths: type: integer images: type: array - items: *108 + items: *112 examples: - default: *109 + default: *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20077,7 +20038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20132,7 +20093,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20148,7 +20109,7 @@ paths: type: integer machine_specs: type: array - items: *110 + items: *114 examples: default: value: @@ -20173,7 +20134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20217,8 +20178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *99 - - &112 + - *61 + - &116 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20230,11 +20191,11 @@ paths: description: Response content: application/json: - schema: *107 + schema: *106 examples: - default: *111 + default: *115 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20252,8 +20213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *99 - - *112 + - *61 + - *116 requestBody: required: true content: @@ -20279,6 +20240,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -20291,9 +20258,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *106 examples: - default: *111 + default: *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20309,16 +20276,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *99 - - *112 + - *61 + - *116 responses: '202': description: Response content: application/json: - schema: *107 + schema: *106 examples: - default: *111 + default: *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20338,13 +20305,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *99 + - *61 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &113 + schema: &117 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20358,7 +20325,7 @@ paths: required: - include_claim_keys examples: - default: &114 + default: &118 value: include_claim_keys: - repo @@ -20380,20 +20347,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: *113 + schema: *117 examples: - default: *114 + default: *118 responses: '201': description: Empty response content: application/json: - schema: &140 + schema: &144 title: Empty Object description: An object without any properties. type: object @@ -20423,7 +20390,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20432,7 +20399,7 @@ paths: schema: type: object properties: - enabled_repositories: &115 + enabled_repositories: &119 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20445,7 +20412,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &116 + allowed_actions: &120 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20453,12 +20420,12 @@ paths: - all - local_only - selected - selected_actions_url: &334 + selected_actions_url: &329 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &117 + sha_pinning_required: &121 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20489,7 +20456,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -20500,9 +20467,9 @@ paths: schema: type: object properties: - enabled_repositories: *115 - allowed_actions: *116 - sha_pinning_required: *117 + enabled_repositories: *119 + allowed_actions: *120 + sha_pinning_required: *121 required: - enabled_repositories examples: @@ -20530,13 +20497,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &338 + schema: &333 type: object properties: days: @@ -20573,12 +20540,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &339 + schema: &334 type: object properties: days: @@ -20615,13 +20582,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &118 + schema: &122 type: object properties: approval_policy: @@ -20635,7 +20602,7 @@ paths: required: - approval_policy examples: - default: &340 + default: &335 value: approval_policy: first_time_contributors '404': *6 @@ -20656,7 +20623,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -20666,7 +20633,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *122 examples: default: summary: Set approval policy to first time contributors @@ -20688,13 +20655,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &341 + schema: &336 type: object required: - run_workflows_from_fork_pull_requests @@ -20720,7 +20687,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &119 + default: &123 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -20743,12 +20710,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &342 + schema: &337 type: object required: - run_workflows_from_fork_pull_requests @@ -20771,7 +20738,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *119 + default: *123 responses: '204': description: Empty response for successful settings update @@ -20801,7 +20768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -20819,9 +20786,9 @@ paths: type: number repositories: type: array - items: *66 + items: *64 examples: - default: &123 + default: &127 value: total_count: 1 repositories: @@ -20961,7 +20928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -21005,8 +20972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *99 - - &120 + - *61 + - &124 name: repository_id description: The unique identifier of the repository. in: path @@ -21034,8 +21001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *99 - - *120 + - *61 + - *124 responses: '204': description: Response @@ -21058,13 +21025,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &121 + schema: &125 type: object properties: github_owned_allowed: @@ -21086,7 +21053,7 @@ paths: items: type: string examples: - default: &122 + default: &126 value: github_owned_allowed: true verified_allowed: false @@ -21111,7 +21078,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -21119,9 +21086,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *125 examples: - selected_actions: *122 + selected_actions: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21141,7 +21108,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -21189,7 +21156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21236,7 +21203,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -21251,9 +21218,9 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *127 '403': *27 '404': *6 x-github: @@ -21273,7 +21240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21321,8 +21288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 - - *120 + - *61 + - *124 responses: '204': description: No content @@ -21348,8 +21315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 - - *120 + - *61 + - *124 responses: '204': description: No content @@ -21377,23 +21344,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &343 + schema: &338 type: object properties: - default_workflow_permissions: &124 + default_workflow_permissions: &128 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &125 + can_approve_pull_request_reviews: &129 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21401,7 +21368,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &126 + default: &130 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21426,7 +21393,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Success response @@ -21434,13 +21401,13 @@ paths: required: false content: application/json: - schema: &344 + schema: &339 type: object properties: - default_workflow_permissions: *124 - can_approve_pull_request_reviews: *125 + default_workflow_permissions: *128 + can_approve_pull_request_reviews: *129 examples: - default: *126 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21460,7 +21427,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *99 + - *61 - *17 - *19 - name: visible_to_repository @@ -21485,7 +21452,7 @@ paths: type: number runner_groups: type: array - items: &127 + items: &131 type: object properties: id: @@ -21602,7 +21569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21675,9 +21642,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *131 examples: - default: &129 + default: &133 value: id: 2 name: octo-runner-group @@ -21712,8 +21679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *99 - - &128 + - *61 + - &132 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -21725,7 +21692,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *131 examples: default: value: @@ -21761,8 +21728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *132 requestBody: required: true content: @@ -21818,9 +21785,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *131 examples: - default: *129 + default: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21839,8 +21806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *99 - - *128 + - *61 + - *132 responses: '204': description: Response @@ -21863,8 +21830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *132 - *17 - *19 responses: @@ -21882,11 +21849,11 @@ paths: type: number runners: type: array - items: *107 + items: *106 examples: - default: *130 + default: *134 headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21906,8 +21873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 + - *61 + - *132 - *19 - *17 responses: @@ -21925,9 +21892,9 @@ paths: type: number repositories: type: array - items: *131 + items: *135 examples: - default: &634 + default: &639 value: total_count: 1 repositories: @@ -22179,8 +22146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 + - *61 + - *132 requestBody: required: true content: @@ -22224,9 +22191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 - - *120 + - *61 + - *132 + - *124 responses: '204': description: Response @@ -22248,9 +22215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 - - *120 + - *61 + - *132 + - *124 responses: '204': description: Response @@ -22273,8 +22240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *132 - *17 - *19 responses: @@ -22292,7 +22259,7 @@ paths: type: number runners: type: array - items: &133 + items: &137 title: Self hosted runners description: A self hosted runner type: object @@ -22326,7 +22293,7 @@ paths: type: boolean labels: type: array - items: &136 + items: &140 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22356,7 +22323,7 @@ paths: - busy - labels examples: - default: &134 + default: &138 value: total_count: 2 runners: @@ -22396,7 +22363,7 @@ paths: name: no-gpu type: custom headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22415,8 +22382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *132 requestBody: required: true content: @@ -22460,9 +22427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *99 - - *128 - - &132 + - *61 + - *132 + - &136 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22490,9 +22457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 - *132 + - *136 responses: '204': description: Response @@ -22522,7 +22489,7 @@ paths: in: query schema: type: string - - *99 + - *61 - *17 - *19 responses: @@ -22540,11 +22507,11 @@ paths: type: integer runners: type: array - items: *133 + items: *137 examples: - default: *134 + default: *138 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22566,7 +22533,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -22574,7 +22541,7 @@ paths: application/json: schema: type: array - items: &345 + items: &340 title: Runner Application description: Runner Application type: object @@ -22599,7 +22566,7 @@ paths: - download_url - filename examples: - default: &346 + default: &341 value: - os: osx architecture: x64 @@ -22642,7 +22609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -22685,7 +22652,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &347 + '201': &342 description: Response content: application/json: @@ -22695,7 +22662,7 @@ paths: - runner - encoded_jit_config properties: - runner: *133 + runner: *137 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -22752,13 +22719,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *99 + - *61 responses: '201': description: Response content: application/json: - schema: &135 + schema: &139 title: Authentication Token description: Authentication Token type: object @@ -22782,7 +22749,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *66 + items: *64 single_file: type: - string @@ -22800,7 +22767,7 @@ paths: - token - expires_at examples: - default: &348 + default: &343 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22831,15 +22798,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *99 + - *61 responses: '201': description: Response content: application/json: - schema: *135 + schema: *139 examples: - default: &349 + default: &344 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22864,16 +22831,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *136 responses: '200': description: Response content: application/json: - schema: *133 + schema: *137 examples: - default: &350 + default: &345 value: id: 23 name: MBP @@ -22914,8 +22881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *99 - - *132 + - *61 + - *136 responses: '204': description: Response @@ -22941,10 +22908,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *136 responses: - '200': &137 + '200': &141 description: Response content: application/json: @@ -22958,7 +22925,7 @@ paths: type: integer labels: type: array - items: *136 + items: *140 examples: default: value: @@ -22997,8 +22964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *136 requestBody: required: true content: @@ -23022,7 +22989,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *141 '404': *6 '422': *7 x-github: @@ -23046,8 +23013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *136 requestBody: required: true content: @@ -23072,7 +23039,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *141 '404': *6 '422': *7 x-github: @@ -23096,10 +23063,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *136 responses: - '200': &351 + '200': &346 description: Response content: application/json: @@ -23113,7 +23080,7 @@ paths: type: integer labels: type: array - items: *136 + items: *140 examples: default: value: @@ -23154,9 +23121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 - - &352 + - *61 + - *136 + - &347 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23164,7 +23131,7 @@ paths: schema: type: string responses: - '200': *137 + '200': *141 '404': *6 '422': *7 x-github: @@ -23189,7 +23156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -23207,7 +23174,7 @@ paths: type: integer secrets: type: array - items: &138 + items: &142 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23259,7 +23226,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23282,13 +23249,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &364 + schema: &359 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23323,7 +23290,7 @@ paths: - key_id - key examples: - default: &365 + default: &360 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23348,8 +23315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *99 - - &139 + - *61 + - &143 name: secret_name description: The name of the secret. in: path @@ -23361,7 +23328,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *142 examples: default: value: @@ -23391,8 +23358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -23449,7 +23416,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -23475,8 +23442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 responses: '204': description: Response @@ -23502,8 +23469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - *19 - *17 responses: @@ -23521,9 +23488,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *135 examples: - default: &143 + default: &147 value: total_count: 1 repositories: @@ -23615,8 +23582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -23668,8 +23635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - name: repository_id in: path required: true @@ -23702,8 +23669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - name: repository_id in: path required: true @@ -23735,8 +23702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *99 - - &333 + - *61 + - &328 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -23760,7 +23727,7 @@ paths: type: integer variables: type: array - items: &141 + items: &145 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23829,7 +23796,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23850,7 +23817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *99 + - *61 requestBody: required: true content: @@ -23898,7 +23865,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -23923,8 +23890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *99 - - &142 + - *61 + - &146 name: name description: The name of the variable. in: path @@ -23936,7 +23903,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *145 examples: default: value: @@ -23966,8 +23933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *146 requestBody: required: true content: @@ -24029,8 +23996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *146 responses: '204': description: Response @@ -24056,8 +24023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *146 - *19 - *17 responses: @@ -24075,9 +24042,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *135 examples: - default: *143 + default: *147 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24103,8 +24070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *146 requestBody: required: true content: @@ -24153,8 +24120,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *146 - name: repository_id in: path required: true @@ -24188,8 +24155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *146 - name: repository_id in: path required: true @@ -24220,7 +24187,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *99 + - *61 requestBody: required: true content: @@ -24362,7 +24329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *99 + - *61 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24448,7 +24415,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 requestBody: required: true content: @@ -24471,12 +24438,12 @@ paths: required: - subject_digests examples: - default: &662 + default: &666 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &663 + withPredicateType: &667 value: subject_digests: - sha256:abc123 @@ -24535,7 +24502,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &664 + default: &668 value: attestations_subject_digests: - sha256:abc: @@ -24644,7 +24611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *99 + - *61 requestBody: required: true content: @@ -24709,7 +24676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *99 + - *61 - name: subject_digest description: Subject Digest in: path @@ -24728,6 +24695,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *38 + - *39 + - *61 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -24740,7 +24758,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *99 + - *61 - name: attestation_id description: Attestation ID in: path @@ -24778,7 +24796,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24831,7 +24849,7 @@ paths: initiator: type: string examples: - default: &378 + default: &373 value: attestations: - bundle: @@ -24938,7 +24956,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -24950,7 +24968,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24969,8 +24987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: If the user is blocked @@ -24995,8 +25013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -25016,8 +25034,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -25042,7 +25060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *99 + - *61 - *19 - *17 - *46 @@ -25050,7 +25068,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &144 + schema: &148 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -25076,7 +25094,7 @@ paths: application/json: schema: type: array - items: &145 + items: &149 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -25107,7 +25125,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &161 + items: &169 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -25184,7 +25202,7 @@ paths: parent: anyOf: - type: 'null' - - &214 + - &220 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -25320,7 +25338,7 @@ paths: - string - 'null' format: date-time - state: *144 + state: *148 contact_link: description: The contact link of the campaign. type: @@ -25416,9 +25434,9 @@ paths: closed_at: state: open headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25442,7 +25460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -25489,7 +25507,9 @@ paths: format: uri code_scanning_alerts: description: The code scanning alerts to include in this campaign - type: array + type: + - array + - 'null' minItems: 1 items: type: object @@ -25516,7 +25536,11 @@ paths: - name - description - ends_at - - code_scanning_alerts + oneOf: + - required: + - code_scanning_alerts + - required: + - secret_scanning_alerts examples: default: value: @@ -25537,9 +25561,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *149 examples: - default: &146 + default: &150 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -25588,7 +25612,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25610,7 +25634,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25622,16 +25646,16 @@ paths: description: Response content: application/json: - schema: *145 + schema: *149 examples: - default: *146 + default: *150 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25652,7 +25676,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25702,7 +25726,7 @@ paths: - string - 'null' format: uri - state: *144 + state: *148 examples: default: value: @@ -25712,9 +25736,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *149 examples: - default: *146 + default: *150 '400': description: Bad Request content: @@ -25726,7 +25750,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25747,7 +25771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25758,7 +25782,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25780,18 +25804,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *99 - - &402 + - *61 + - &397 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &149 + schema: &158 type: string description: The name of the tool used to generate the code scanning analysis. - - &403 + - &398 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -25799,7 +25823,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &150 + schema: &159 type: - string - 'null' @@ -25815,7 +25839,7 @@ paths: be returned. in: query required: false - schema: &405 + schema: &400 type: string description: State of a code scanning alert. enum: @@ -25838,7 +25862,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &401 type: string description: Severity of a code scanning alert. enum: @@ -25859,18 +25883,18 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: &407 + number: *151 + created_at: *152 + updated_at: *153 + url: *154 + html_url: *155 + instances_url: &402 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &151 + state: &160 type: - string - 'null' @@ -25880,13 +25904,13 @@ paths: - dismissed - fixed - - fixed_at: *147 + fixed_at: *156 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: &408 + dismissed_at: *157 + dismissed_reason: &403 type: - string - 'null' @@ -25897,14 +25921,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &409 + dismissed_comment: &404 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &410 + rule: &405 type: object properties: id: @@ -25965,26 +25989,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &411 + tool: &406 type: object properties: - name: *149 + name: *158 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *150 - most_recent_instance: &412 + guid: *159 + most_recent_instance: &407 type: object properties: - ref: &404 + ref: &399 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &422 + analysis_key: &417 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25995,13 +26019,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &423 + category: &418 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *151 + state: *160 commit_sha: type: string message: @@ -26294,9 +26318,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26318,7 +26342,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *99 + - *61 - name: target_type in: query description: The target type of the code security configuration @@ -26429,7 +26453,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *99 + - *61 requestBody: required: true content: @@ -26507,7 +26531,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *152 + code_scanning_options: *161 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -26650,7 +26674,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *162 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26672,15 +26696,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *154 + schema: *163 examples: - default: *155 + default: *164 '304': *35 '403': *27 '404': *6 @@ -26706,7 +26730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *99 + - *61 requestBody: required: true content: @@ -26732,7 +26756,7 @@ paths: - 32 - 91 responses: - '204': *156 + '204': *165 '400': *14 '403': *27 '404': *6 @@ -26758,7 +26782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *99 + - *61 - *43 responses: '200': @@ -26767,7 +26791,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *162 '304': *35 '403': *27 '404': *6 @@ -26791,7 +26815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27048,10 +27072,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *99 + - *61 - *43 responses: - '204': *156 + '204': *165 '400': *14 '403': *27 '404': *6 @@ -27079,7 +27103,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27143,7 +27167,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27189,7 +27213,7 @@ paths: default: value: default_for_new_repos: all - configuration: *153 + configuration: *162 '403': *27 '404': *6 x-github: @@ -27213,7 +27237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *99 + - *61 - *43 - name: per_page description: The number of results per page (max 100). For more information, @@ -27242,13 +27266,13 @@ paths: application/json: schema: type: array - items: *157 + items: *166 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *158 + repository: *167 '403': *27 '404': *6 x-github: @@ -27272,7 +27296,7 @@ paths: parameters: - *17 - *19 - - *99 + - *61 responses: '200': description: Response @@ -27288,7 +27312,7 @@ paths: type: integer codespaces: type: array - items: &204 + items: &210 type: object title: Codespace description: A codespace. @@ -27319,11 +27343,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *131 + repository: *135 machine: anyOf: - type: 'null' - - &435 + - &430 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -27610,7 +27634,7 @@ paths: - pulls_url - recent_folders examples: - default: &205 + default: &211 value: total_count: 3 codespaces: @@ -28020,7 +28044,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -28042,7 +28066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *99 + - *61 deprecated: true requestBody: required: true @@ -28086,7 +28110,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28109,7 +28133,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *99 + - *61 deprecated: true requestBody: required: true @@ -28141,7 +28165,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28164,7 +28188,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *99 + - *61 requestBody: required: true content: @@ -28195,7 +28219,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28216,7 +28240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -28234,7 +28258,7 @@ paths: type: integer secrets: type: array - items: &159 + items: &168 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -28275,7 +28299,7 @@ paths: - updated_at - visibility examples: - default: &436 + default: &431 value: total_count: 2 secrets: @@ -28288,7 +28312,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28307,13 +28331,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &437 + schema: &432 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28348,7 +28372,7 @@ paths: - key_id - key examples: - default: &438 + default: &433 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28371,23 +28395,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 responses: '200': description: Response content: application/json: - schema: *159 + schema: *168 examples: - default: &440 + default: &435 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28407,8 +28431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -28463,7 +28487,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -28489,8 +28513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 responses: '204': description: Response @@ -28515,8 +28539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - *19 - *17 responses: @@ -28534,9 +28558,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *135 examples: - default: *143 + default: *147 '404': *6 x-github: githubCloudOnly: false @@ -28558,8 +28582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -28609,8 +28633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - name: repository_id in: path required: true @@ -28643,8 +28667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - name: repository_id in: path required: true @@ -28683,7 +28707,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: OK @@ -28792,7 +28816,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -28824,7 +28848,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *99 + - *61 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -28847,7 +28871,7 @@ paths: currently being billed. seats: type: array - items: &207 + items: &213 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -28860,13 +28884,13 @@ paths: organization: anyOf: - type: 'null' - - *160 + - *59 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *161 - - *58 + - *169 + - *53 type: - 'null' - object @@ -28996,8 +29020,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '500': *100 + Link: *52 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -29030,7 +29054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29072,7 +29096,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -29108,7 +29132,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29150,7 +29174,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -29188,7 +29212,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29229,7 +29253,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -29265,7 +29289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29307,7 +29331,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -29346,7 +29370,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *99 + - *61 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -29378,7 +29402,7 @@ paths: application/json: schema: type: array - items: &296 + items: &291 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29693,7 +29717,7 @@ paths: - date additionalProperties: true examples: - default: &297 + default: &292 value: - date: '2024-06-24' total_active_users: 24 @@ -29792,10 +29816,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *100 + '500': *98 '403': *27 '404': *6 - '422': &298 + '422': &293 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29822,12 +29846,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *99 - - *162 - - *163 - - *164 - - *165 - - *166 + - *61 + - *170 + - *171 + - *172 + - *173 + - *174 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -29865,13 +29889,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *167 - - *168 + - *175 + - *176 - *46 - *38 - *39 - - *169 - - *170 - *17 responses: '200': @@ -29880,9 +29902,9 @@ paths: application/json: schema: type: array - items: *171 + items: *177 examples: - default: *172 + default: *178 '304': *35 '400': *14 '403': *27 @@ -29908,7 +29930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -29926,7 +29948,7 @@ paths: type: integer secrets: type: array - items: &173 + items: &179 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29978,7 +30000,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29999,13 +30021,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &463 + schema: &458 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30024,7 +30046,7 @@ paths: - key_id - key examples: - default: &464 + default: &459 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30047,14 +30069,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 responses: '200': description: Response content: application/json: - schema: *173 + schema: *179 examples: default: value: @@ -30082,8 +30104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -30142,7 +30164,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -30166,8 +30188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 responses: '204': description: Response @@ -30191,8 +30213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - *19 - *17 responses: @@ -30210,9 +30232,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *135 examples: - default: *143 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30233,8 +30255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -30284,8 +30306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - name: repository_id in: path required: true @@ -30316,8 +30338,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *143 - name: repository_id in: path required: true @@ -30347,7 +30369,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -30355,7 +30377,7 @@ paths: application/json: schema: type: array - items: &216 + items: &222 title: Package description: A software package type: object @@ -30408,7 +30430,7 @@ paths: repository: anyOf: - type: 'null' - - *131 + - *135 created_at: type: string format: date-time @@ -30426,7 +30448,7 @@ paths: - created_at - updated_at examples: - default: &217 + default: &223 value: - id: 197 name: hello_docker @@ -30504,7 +30526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30514,7 +30536,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -30586,7 +30608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30596,7 +30618,7 @@ paths: application/json: schema: type: array - items: &196 + items: &202 title: Organization Invitation description: Organization Invitation type: object @@ -30650,7 +30672,7 @@ paths: - invitation_teams_url - node_id examples: - default: &197 + default: &203 value: - id: 1 login: monalisa @@ -30683,7 +30705,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30707,7 +30729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30717,7 +30739,7 @@ paths: application/json: schema: type: array - items: &174 + items: &180 title: Org Hook description: Org Hook type: object @@ -30817,7 +30839,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30840,7 +30862,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *99 + - *61 requestBody: required: true content: @@ -30902,9 +30924,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *180 examples: - default: &175 + default: &181 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30951,8 +30973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *99 - - &176 + - *61 + - &182 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -30965,9 +30987,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *180 examples: - default: *175 + default: *181 '404': *6 x-github: githubCloudOnly: false @@ -30994,8 +31016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *182 requestBody: required: false content: @@ -31041,7 +31063,7 @@ paths: description: Response content: application/json: - schema: *174 + schema: *180 examples: default: value: @@ -31082,8 +31104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *182 responses: '204': description: Response @@ -31110,8 +31132,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *99 - - *176 + - *61 + - *182 responses: '200': description: Response @@ -31141,8 +31163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *99 - - *176 + - *61 + - *182 requestBody: required: false content: @@ -31192,10 +31214,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *182 - *17 - - *177 + - *183 responses: '200': description: Response @@ -31203,9 +31225,9 @@ paths: application/json: schema: type: array - items: *178 + items: *184 examples: - default: *179 + default: *185 '400': *14 '422': *15 x-github: @@ -31230,17 +31252,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *182 - *16 responses: '200': description: Response content: application/json: - schema: *180 + schema: *186 examples: - default: *181 + default: *187 '400': *14 '422': *15 x-github: @@ -31265,8 +31287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *182 - *16 responses: '202': *37 @@ -31295,8 +31317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *99 - - *176 + - *61 + - *182 responses: '204': description: Response @@ -31318,8 +31340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *99 - - &186 + - *61 + - &192 name: actor_type in: path description: The type of the actor @@ -31332,14 +31354,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &187 + - &193 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &182 + - &188 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -31347,7 +31369,7 @@ paths: required: true schema: type: string - - &183 + - &189 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -31441,13 +31463,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *99 - - *182 - - *183 + - *61 + - *188 + - *189 - *19 - *17 - *46 - - &192 + - &198 name: sort description: The property to sort the results by. in: query @@ -31526,15 +31548,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *99 - - *182 - - *183 + - *61 + - *188 + - *189 responses: '200': description: Response content: application/json: - schema: &184 + schema: &190 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -31550,7 +31572,7 @@ paths: type: integer format: int64 examples: - default: &185 + default: &191 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -31570,24 +31592,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *99 - - &188 + - *61 + - &194 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *182 - - *183 + - *188 + - *189 responses: '200': description: Response content: application/json: - schema: *184 + schema: *190 examples: - default: *185 + default: *191 x-github: enabledForGitHubApps: true category: orgs @@ -31605,19 +31627,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *99 - - *182 - - *183 - - *186 - - *187 + - *61 + - *188 + - *189 + - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *184 + schema: *190 examples: - default: *185 + default: *191 x-github: enabledForGitHubApps: true category: orgs @@ -31634,10 +31656,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *99 - - *182 - - *183 - - &189 + - *61 + - *188 + - *189 + - &195 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -31650,7 +31672,7 @@ paths: description: Response content: application/json: - schema: &190 + schema: &196 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -31666,7 +31688,7 @@ paths: type: integer format: int64 examples: - default: &191 + default: &197 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -31702,19 +31724,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *99 + - *61 + - *194 - *188 - - *182 - - *183 - *189 + - *195 responses: '200': description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: *191 + default: *197 x-github: enabledForGitHubApps: true category: orgs @@ -31731,20 +31753,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *99 - - *186 - - *187 - - *182 - - *183 + - *61 + - *192 + - *193 + - *188 - *189 + - *195 responses: '200': description: Response content: application/json: - schema: *190 + schema: *196 examples: - default: *191 + default: *197 x-github: enabledForGitHubApps: true category: orgs @@ -31761,14 +31783,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *99 + - *61 + - *194 - *188 - - *182 - - *183 + - *189 - *19 - *17 - *46 - - *192 + - *198 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -31844,7 +31866,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *99 + - *61 responses: '200': description: Response @@ -31852,7 +31874,7 @@ paths: application/json: schema: *20 examples: - default: &502 + default: &497 value: id: 1 account: @@ -31921,7 +31943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -31991,7 +32013,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32010,7 +32032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -32018,12 +32040,12 @@ paths: application/json: schema: anyOf: - - &194 + - &200 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &193 + limit: &199 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -32051,7 +32073,7 @@ paths: properties: {} additionalProperties: false examples: - default: &195 + default: &201 value: limit: collaborators_only origin: organization @@ -32075,18 +32097,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &503 + schema: &498 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *193 + limit: *199 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -32111,9 +32133,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *200 examples: - default: *195 + default: *201 '422': *15 x-github: githubCloudOnly: false @@ -32131,7 +32153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -32155,7 +32177,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *99 + - *61 - *17 - *19 - name: role @@ -32189,11 +32211,11 @@ paths: application/json: schema: type: array - items: *196 + items: *202 examples: - default: *197 + default: *203 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32214,7 +32236,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *99 + - *61 requestBody: required: false content: @@ -32268,7 +32290,7 @@ paths: description: Response content: application/json: - schema: *196 + schema: *202 examples: default: value: @@ -32322,8 +32344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *99 - - &198 + - *61 + - &204 name: invitation_id description: The unique identifier of the invitation. in: path @@ -32353,8 +32375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *99 - - *198 + - *61 + - *204 - *17 - *19 responses: @@ -32364,9 +32386,9 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: &215 + default: &221 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -32382,7 +32404,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32401,7 +32423,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -32409,7 +32431,7 @@ paths: application/json: schema: type: array - items: *199 + items: *205 examples: default: value: @@ -32447,7 +32469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -32497,9 +32519,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *205 examples: - default: &200 + default: &206 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -32531,8 +32553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *99 - - &201 + - *61 + - &207 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -32588,9 +32610,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *205 examples: - default: *200 + default: *206 '404': *6 '422': *7 x-github: @@ -32614,8 +32636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *99 - - *201 + - *61 + - *207 responses: '204': description: Response @@ -32648,7 +32670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *99 + - *61 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -32678,7 +32700,7 @@ paths: - closed - all default: open - - *202 + - *208 - name: type description: Can be the name of an issue type. in: query @@ -32697,7 +32719,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -32707,11 +32729,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *203 + default: *209 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32731,7 +32753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *99 + - *61 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -32769,9 +32791,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -32789,8 +32811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response if requester is an organization member and user is @@ -32824,8 +32846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -32851,8 +32873,8 @@ paths: parameters: - *17 - *19 - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response @@ -32868,11 +32890,11 @@ paths: type: integer codespaces: type: array - items: *204 + items: *210 examples: - default: *205 + default: *211 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -32895,9 +32917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *99 - - *62 - - &206 + - *61 + - *57 + - &212 name: codespace_name in: path required: true @@ -32907,7 +32929,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -32930,17 +32952,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *99 - - *62 - - *206 + - *61 + - *57 + - *212 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: &434 + default: &429 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33082,7 +33104,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -33113,14 +33135,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *207 + schema: *213 examples: default: value: @@ -33164,7 +33186,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -33189,14 +33211,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response content: application/json: - schema: &208 + schema: &214 title: Org Membership description: Org Membership type: object @@ -33245,7 +33267,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *160 + organization: *59 user: anyOf: - type: 'null' @@ -33265,7 +33287,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &209 + response-if-user-has-an-active-admin-membership-with-organization: &215 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -33333,8 +33355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 requestBody: required: false content: @@ -33362,9 +33384,9 @@ paths: description: Response content: application/json: - schema: *208 + schema: *214 examples: - response-if-user-already-had-membership-with-organization: *209 + response-if-user-already-had-membership-with-organization: *215 '422': *15 '403': *27 x-github: @@ -33388,8 +33410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -33414,7 +33436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *99 + - *61 - *17 - *19 - name: exclude @@ -33436,7 +33458,7 @@ paths: application/json: schema: type: array - items: &210 + items: &216 title: Migration description: A migration. type: object @@ -33478,7 +33500,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *66 + items: *64 url: type: string format: uri @@ -33677,7 +33699,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33693,7 +33715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *99 + - *61 requestBody: required: true content: @@ -33774,7 +33796,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *216 examples: default: value: @@ -33952,8 +33974,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *99 - - &211 + - *61 + - &217 name: migration_id description: The unique identifier of the migration. in: path @@ -33981,7 +34003,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *210 + schema: *216 examples: default: value: @@ -34150,8 +34172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *99 - - *211 + - *61 + - *217 responses: '302': description: Response @@ -34172,8 +34194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *99 - - *211 + - *61 + - *217 responses: '204': description: Response @@ -34196,9 +34218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *99 - - *211 - - &646 + - *61 + - *217 + - &651 name: repo_name description: repo_name parameter in: path @@ -34225,8 +34247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *99 - - *211 + - *61 + - *217 - *17 - *19 responses: @@ -34236,9 +34258,9 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: &222 + default: &228 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34349,7 +34371,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -34375,7 +34397,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response - list of organization roles @@ -34391,7 +34413,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &213 + items: &219 title: Organization Role description: Organization roles type: object @@ -34540,8 +34562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -34566,9 +34588,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *99 - - *64 - - &212 + - *61 + - *62 + - &218 name: role_id description: The unique identifier of the role. in: path @@ -34603,9 +34625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *99 - - *64 - - *212 + - *61 + - *62 + - *218 responses: '204': description: Response @@ -34630,8 +34652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -34656,9 +34678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *99 - - *62 - - *212 + - *61 + - *57 + - *218 responses: '204': description: Response @@ -34688,9 +34710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *99 - - *62 - - *212 + - *61 + - *57 + - *218 responses: '204': description: Response @@ -34718,14 +34740,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *99 - - *212 + - *61 + - *218 responses: '200': description: Response content: application/json: - schema: *213 + schema: *219 examples: default: value: @@ -34775,8 +34797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *99 - - *212 + - *61 + - *218 - *17 - *19 responses: @@ -34855,7 +34877,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *220 type: description: The ownership type of the team type: string @@ -34888,9 +34910,9 @@ paths: - type - parent examples: - default: *215 + default: *221 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -34917,8 +34939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *99 - - *212 + - *61 + - *218 - *17 - *19 responses: @@ -34947,7 +34969,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *214 + items: *220 name: type: - string @@ -35064,9 +35086,9 @@ paths: - type - url examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -35088,7 +35110,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *99 + - *61 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -35115,9 +35137,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35140,8 +35162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *99 - - *62 + - *61 + - *57 requestBody: required: false content: @@ -35198,8 +35220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -35256,8 +35278,8 @@ paths: - docker - nuget - container - - *99 - - &648 + - *61 + - &652 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35293,12 +35315,12 @@ paths: application/json: schema: type: array - items: *216 + items: *222 examples: - default: *217 + default: *223 '403': *27 '401': *23 - '400': &650 + '400': &654 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35320,7 +35342,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &218 + - &224 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -35338,20 +35360,20 @@ paths: - docker - nuget - container - - &219 + - &225 name: package_name description: The name of the package. in: path required: true schema: type: string - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *216 + schema: *222 examples: default: value: @@ -35403,9 +35425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *218 - - *219 - - *99 + - *224 + - *225 + - *61 responses: '204': description: Response @@ -35437,9 +35459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *218 - - *219 - - *99 + - *224 + - *225 + - *61 - name: token description: package token schema: @@ -35471,9 +35493,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *218 - - *219 - - *99 + - *224 + - *225 + - *61 - *19 - *17 - name: state @@ -35493,7 +35515,7 @@ paths: application/json: schema: type: array - items: &220 + items: &226 title: Package Version description: A version of a software package type: object @@ -35628,10 +35650,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - &221 + - *224 + - *225 + - *61 + - &227 name: package_version_id description: Unique identifier of the package version. in: path @@ -35643,7 +35665,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *226 examples: default: value: @@ -35679,10 +35701,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - *221 + - *224 + - *225 + - *61 + - *227 responses: '204': description: Response @@ -35714,10 +35736,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *218 - - *219 - - *99 - - *221 + - *224 + - *225 + - *61 + - *227 responses: '204': description: Response @@ -35744,10 +35766,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *61 - *17 - *19 - - &223 + - &229 name: sort description: The property by which to sort the results. in: query @@ -35758,7 +35780,7 @@ paths: - created_at default: created_at - *46 - - &224 + - &230 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -35770,7 +35792,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &225 + - &231 name: repository description: The name of the repository to use to filter the results. in: query @@ -35779,7 +35801,7 @@ paths: type: string examples: - Hello-World - - &226 + - &232 name: permission description: The permission to use to filter the results. in: query @@ -35788,7 +35810,7 @@ paths: type: string examples: - issues_read - - &227 + - &233 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35798,7 +35820,7 @@ paths: schema: type: string format: date-time - - &228 + - &234 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35808,7 +35830,7 @@ paths: schema: type: string format: date-time - - &229 + - &235 name: token_id description: The ID of the token in: query @@ -35821,7 +35843,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *100 + '500': *98 '422': *15 '404': *6 '403': *27 @@ -35956,7 +35978,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35976,7 +35998,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *61 requestBody: required: true content: @@ -36018,7 +36040,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *100 + '500': *98 '422': *15 '404': *6 '403': *27 @@ -36043,7 +36065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *99 + - *61 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36080,11 +36102,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *100 + '500': *98 '422': *15 '404': *6 '403': *27 - '204': *156 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36105,7 +36127,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *99 + - *61 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36116,7 +36138,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *98 '404': *6 '403': *27 '200': @@ -36125,11 +36147,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36150,19 +36172,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *99 + - *61 - *17 - *19 - - *223 - - *46 - - *224 - - *225 - - *226 - - *227 - - *228 - *229 + - *46 + - *230 + - *231 + - *232 + - *233 + - *234 + - *235 responses: - '500': *100 + '500': *98 '422': *15 '404': *6 '403': *27 @@ -36291,7 +36313,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36311,7 +36333,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *99 + - *61 requestBody: required: true content: @@ -36346,7 +36368,7 @@ paths: - 1296269 - 1296280 responses: - '500': *100 + '500': *98 '404': *6 '202': *37 '403': *27 @@ -36371,7 +36393,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *99 + - *61 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -36399,9 +36421,9 @@ paths: value: action: revoke responses: - '500': *100 + '500': *98 '404': *6 - '204': *156 + '204': *165 '403': *27 '422': *15 x-github: @@ -36423,7 +36445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *99 + - *61 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -36433,7 +36455,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *98 '404': *6 '403': *27 '200': @@ -36442,11 +36464,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36468,7 +36490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -36486,7 +36508,7 @@ paths: type: integer configurations: type: array - items: &230 + items: &236 title: Organization private registry description: Private registry configuration for an organization type: object @@ -36555,7 +36577,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *57 + Link: *52 '400': *14 '404': *6 x-github: @@ -36577,7 +36599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -36745,7 +36767,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &231 + org-private-registry-with-selected-visibility: &237 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -36786,7 +36808,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -36814,7 +36836,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -36836,16 +36858,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *143 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *230 + schema: *236 examples: - default: *231 + default: *237 '404': *6 x-github: githubCloudOnly: false @@ -36866,8 +36888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *143 requestBody: required: true content: @@ -36963,8 +36985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *143 responses: '204': description: Response @@ -36989,7 +37011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *99 + - *61 - name: state description: Indicates the state of the projects to return. in: query @@ -37010,7 +37032,7 @@ paths: application/json: schema: type: array - items: &232 + items: &238 title: Project description: Projects are a way to organize columns and cards of work. @@ -37143,7 +37165,7 @@ paths: organization_permission: write private: true headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -37166,7 +37188,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *99 + - *61 requestBody: required: true content: @@ -37192,7 +37214,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: default: value: @@ -37230,7 +37252,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &320 + '410': &315 description: Gone content: application/json: @@ -37256,7 +37278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *99 + - *61 - name: q description: Limit results to projects of the specified type. in: query @@ -37273,7 +37295,7 @@ paths: application/json: schema: type: array - items: &233 + items: &239 title: Projects v2 Project description: A projects v2 project type: object @@ -37347,7 +37369,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &727 + - &731 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -37432,7 +37454,7 @@ paths: - deleted_at - deleted_by examples: - default: &234 + default: &240 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -37515,7 +37537,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37535,24 +37557,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &235 + - &241 name: project_number description: The project's number. in: path required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *233 + schema: *239 examples: - default: *234 + default: *240 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37572,8 +37594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *235 - - *99 + - *241 + - *61 - *17 - *38 - *39 @@ -37584,7 +37606,7 @@ paths: application/json: schema: type: array - items: &236 + items: &242 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -37734,7 +37756,7 @@ paths: - updated_at - project_url examples: - default: &237 + default: &243 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -37757,7 +37779,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37777,25 +37799,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *235 - - &667 + - *241 + - &671 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *237 + default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37816,8 +37838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *235 - - *99 + - *241 + - *61 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -37826,17 +37848,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string - *38 - *39 - *17 @@ -37847,7 +37871,7 @@ paths: application/json: schema: type: array - items: &242 + items: &248 title: Projects v2 Item description: An item belonging to a project type: object @@ -37864,7 +37888,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &240 + content_type: &246 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -37921,7 +37945,7 @@ paths: - updated_at - archived_at examples: - default: &243 + default: &249 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -38595,7 +38619,7 @@ paths: type: sub_issues_progress value: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -38615,8 +38639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *99 - - *235 + - *61 + - *241 requestBody: required: true description: Details of the item to add to the project. @@ -38653,7 +38677,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &672 title: Projects v2 Item description: An item belonging to a project type: object @@ -38666,8 +38690,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *68 - - &447 + - *66 + - &442 title: Pull Request Simple description: Pull Request Simple type: object @@ -38787,7 +38811,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *244 active_lock_reason: type: - string @@ -38842,7 +38866,7 @@ paths: type: - array - 'null' - items: *161 + items: *169 head: type: object properties: @@ -38850,7 +38874,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38870,7 +38894,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38886,7 +38910,7 @@ paths: _links: type: object properties: - comments: &239 + comments: &245 title: Link description: Hypermedia Link type: object @@ -38895,13 +38919,13 @@ paths: type: string required: - href - commits: *239 - statuses: *239 - html: *239 - issue: *239 - review_comments: *239 - review_comment: *239 - self: *239 + commits: *245 + statuses: *245 + html: *245 + issue: *245 + review_comments: *245 + review_comment: *245 + self: *245 required: - comments - commits @@ -38911,8 +38935,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: &544 + author_association: *67 + auto_merge: &541 title: Auto merge description: The status of auto merging a pull request. type: @@ -39014,7 +39038,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *240 + content_type: *246 creator: *4 created_at: type: string @@ -39051,7 +39075,7 @@ paths: - updated_at - archived_at examples: - issue: &241 + issue: &247 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -39106,7 +39130,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *241 + pull_request: *247 '304': *35 '403': *27 '401': *23 @@ -39126,9 +39150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *235 - - *99 - - &244 + - *241 + - *61 + - &250 name: item_id description: The unique identifier of the project item. in: path @@ -39136,27 +39160,29 @@ paths: schema: type: integer - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *242 + schema: *248 examples: - default: *243 + default: *249 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -39175,9 +39201,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *235 - - *99 - - *244 + - *241 + - *61 + - *250 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -39250,13 +39276,13 @@ paths: description: Response content: application/json: - schema: *242 + schema: *248 examples: - text_field: *243 - number_field: *243 - date_field: *243 - single_select_field: *243 - iteration_field: *243 + text_field: *249 + number_field: *249 + date_field: *249 + single_select_field: *249 + iteration_field: *249 '401': *23 '403': *27 '404': *6 @@ -39276,9 +39302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *235 - - *99 - - *244 + - *241 + - *61 + - *250 responses: '204': description: Response @@ -39302,7 +39328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -39310,7 +39336,7 @@ paths: application/json: schema: type: array - items: &245 + items: &251 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -39386,7 +39412,7 @@ paths: - property_name - value_type examples: - default: &246 + default: &252 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -39434,7 +39460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -39445,7 +39471,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *245 + items: *251 minItems: 1 maxItems: 100 required: @@ -39475,9 +39501,9 @@ paths: application/json: schema: type: array - items: *245 + items: *251 examples: - default: *246 + default: *252 '403': *27 '404': *6 x-github: @@ -39498,8 +39524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *99 - - &247 + - *61 + - &253 name: custom_property_name description: The custom property name in: path @@ -39511,9 +39537,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *251 examples: - default: &248 + default: &254 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -39547,8 +39573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *99 - - *247 + - *61 + - *253 requestBody: required: true content: @@ -39626,9 +39652,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *251 examples: - default: *248 + default: *254 '403': *27 '404': *6 x-github: @@ -39651,10 +39677,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *99 - - *247 + - *61 + - *253 responses: - '204': *156 + '204': *165 '403': *27 '404': *6 x-github: @@ -39675,7 +39701,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *99 + - *61 - *17 - *19 - name: repository_query @@ -39716,28 +39742,7 @@ paths: - octocat/Hello-World properties: type: array - items: &249 - title: Custom Property Value - description: Custom property name and associated value - type: object - properties: - property_name: - type: string - description: The name of the property - value: - oneOf: - - type: string - - type: array - items: - type: string - description: The value assigned to the property - type: - - 'null' - - string - - array - required: - - property_name - - value + items: *97 description: List of custom property names and associated values required: - repository_id @@ -39758,7 +39763,7 @@ paths: - property_name: team value: octocat headers: - Link: *57 + Link: *52 '403': *27 '404': *6 x-github: @@ -39786,7 +39791,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *99 + - *61 requestBody: required: true content: @@ -39806,7 +39811,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *249 + items: *97 required: - repository_names - properties @@ -39847,7 +39852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *99 + - *61 - *17 - *19 responses: @@ -39859,9 +39864,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39878,8 +39883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response if user is a public member @@ -39903,8 +39908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -39925,8 +39930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -39950,7 +39955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *99 + - *61 - name: type description: Specifies the types of repositories you want returned. in: query @@ -39996,11 +40001,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40019,7 +40024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *99 + - *61 requestBody: required: true content: @@ -40201,7 +40206,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &317 title: Full Repository description: Full Repository type: object @@ -40547,7 +40552,7 @@ paths: template_repository: anyOf: - type: 'null' - - *66 + - *64 temp_clone_token: type: - string @@ -40647,13 +40652,13 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' - *4 - parent: *66 - source: *66 + parent: *64 + source: *64 forks: type: integer master_branch: @@ -40666,7 +40671,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &452 + code_of_conduct: &447 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -40696,7 +40701,7 @@ paths: - key - name - html_url - security_and_analysis: *250 + security_and_analysis: *255 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -40780,7 +40785,7 @@ paths: - network_count - subscribers_count examples: - default: &324 + default: &319 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41298,10 +41303,10 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - *17 - *19 - - &567 + - &564 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41320,7 +41325,7 @@ paths: application/json: schema: type: array - items: &276 + items: &281 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -41355,7 +41360,7 @@ paths: source: type: string description: The name of the source - enforcement: &253 + enforcement: &258 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -41368,7 +41373,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &254 + items: &259 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -41439,7 +41444,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &251 + - &256 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -41463,7 +41468,7 @@ paths: match. items: type: string - - &255 + - &260 title: Organization ruleset conditions type: object description: |- @@ -41477,7 +41482,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *251 + - *256 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -41511,7 +41516,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *251 + - *256 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -41533,7 +41538,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *251 + - *256 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -41546,7 +41551,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &252 + items: &257 title: Repository ruleset property targeting definition type: object @@ -41579,7 +41584,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *252 + items: *257 required: - repository_property type: @@ -41587,12 +41592,12 @@ paths: - object rules: type: array - items: &568 + items: &565 title: Repository Rule type: object description: A repository rule. oneOf: - - &256 + - &261 title: creation description: Only allow users with bypass permission to create matching refs. @@ -41604,7 +41609,7 @@ paths: type: string enum: - creation - - &257 + - &262 title: update description: Only allow users with bypass permission to update matching refs. @@ -41625,7 +41630,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &258 + - &263 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -41637,7 +41642,7 @@ paths: type: string enum: - deletion - - &259 + - &264 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -41649,7 +41654,7 @@ paths: type: string enum: - required_linear_history - - &565 + - &562 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -41727,7 +41732,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &260 + - &265 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -41751,7 +41756,7 @@ paths: type: string required: - required_deployment_environments - - &261 + - &266 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -41763,7 +41768,7 @@ paths: type: string enum: - required_signatures - - &262 + - &267 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -41825,7 +41830,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &263 + - &268 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -41873,7 +41878,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &264 + - &269 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -41885,7 +41890,7 @@ paths: type: string enum: - non_fast_forward - - &265 + - &270 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -41921,7 +41926,7 @@ paths: required: - operator - pattern - - &266 + - &271 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -41957,7 +41962,7 @@ paths: required: - operator - pattern - - &267 + - &272 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -41993,7 +41998,7 @@ paths: required: - operator - pattern - - &268 + - &273 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -42029,7 +42034,7 @@ paths: required: - operator - pattern - - &269 + - &274 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -42065,7 +42070,7 @@ paths: required: - operator - pattern - - &270 + - &275 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -42090,7 +42095,7 @@ paths: type: string required: - restricted_file_paths - - &271 + - &276 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -42114,7 +42119,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &272 + - &277 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -42137,7 +42142,7 @@ paths: type: string required: - restricted_file_extensions - - &273 + - &278 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -42162,7 +42167,7 @@ paths: maximum: 100 required: - max_file_size - - &274 + - &279 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -42212,7 +42217,7 @@ paths: - repository_id required: - workflows - - &275 + - &280 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -42273,7 +42278,7 @@ paths: - tool required: - code_scanning_tools - - &566 + - &563 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42334,7 +42339,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *98 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -42350,7 +42355,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 requestBody: description: Request body required: true @@ -42371,25 +42376,20 @@ paths: - push - repository default: branch - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *255 + items: *259 + conditions: *260 rules: type: array description: An array of rules within the ruleset. - items: &278 + items: &283 title: Repository Rule type: object description: A repository rule. oneOf: - - *256 - - *257 - - *258 - - *259 - - *260 - *261 - *262 - *263 @@ -42405,6 +42405,11 @@ paths: - *273 - *274 - *275 + - *276 + - *277 + - *278 + - *279 + - *280 required: - name - enforcement @@ -42442,9 +42447,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: &277 + default: &282 value: id: 21 name: super cool ruleset @@ -42484,7 +42489,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *98 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -42498,8 +42503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *99 - - &569 + - *61 + - &566 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -42514,7 +42519,7 @@ paths: in: query schema: type: string - - &570 + - &567 name: time_period description: |- The time period to filter by. @@ -42530,14 +42535,14 @@ paths: - week - month default: day - - &571 + - &568 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &572 + - &569 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -42557,7 +42562,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &570 title: Rule Suites description: Response type: array @@ -42613,7 +42618,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &574 + default: &571 value: - id: 21 actor_id: 12 @@ -42637,7 +42642,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42656,8 +42661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *99 - - &575 + - *61 + - &572 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42673,7 +42678,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &573 title: Rule Suite description: Response type: object @@ -42780,7 +42785,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &577 + default: &574 value: id: 21 actor_id: 12 @@ -42815,7 +42820,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42841,7 +42846,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42853,11 +42858,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *277 + default: *282 '404': *6 - '500': *100 + '500': *98 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -42873,7 +42878,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42899,16 +42904,16 @@ paths: - tag - push - repository - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *255 + items: *259 + conditions: *260 rules: description: An array of rules within the ruleset. type: array - items: *278 + items: *283 examples: default: value: @@ -42943,11 +42948,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *277 + default: *282 '404': *6 - '500': *100 + '500': *98 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -42963,7 +42968,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42974,7 +42979,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *98 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -42986,7 +42991,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *99 + - *61 - *17 - *19 - name: ruleset_id @@ -43002,7 +43007,7 @@ paths: application/json: schema: type: array - items: &279 + items: &284 title: Ruleset version type: object description: The historical version of a ruleset @@ -43026,7 +43031,7 @@ paths: type: string format: date-time examples: - default: &579 + default: &576 value: - version_id: 3 actor: @@ -43044,7 +43049,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43061,7 +43066,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43079,9 +43084,9 @@ paths: description: Response content: application/json: - schema: &580 + schema: &577 allOf: - - *279 + - *284 - type: object required: - state @@ -43128,7 +43133,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43150,15 +43155,53 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *99 - - *280 - - *281 - - *282 - - *283 + - *61 + - &578 + 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 + - &579 + 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 + - &580 + 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 + - &581 + name: sort + description: The property to sort the results by. `created` means when the + alert was created. `updated` means when the alert was updated or resolved. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created - *46 - *19 - *17 - - &581 + - &582 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43168,7 +43211,7 @@ paths: required: false schema: type: string - - &582 + - &583 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43178,10 +43221,42 @@ paths: required: false schema: type: string - - *284 - - *285 - - *286 - - *287 + - &584 + 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 + - &585 + 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 + - &586 + 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 + - &587 + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false responses: '200': description: Response @@ -43189,13 +43264,615 @@ paths: application/json: schema: type: array - items: *288 + items: + type: object + properties: + number: *151 + created_at: *152 + updated_at: + anyOf: + - type: 'null' + - *153 + url: *154 + html_url: *155 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &588 + 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: &589 + type: + - string + - 'null' + description: "**Required when the `state` is `resolved`.** The + reason for resolving the alert." + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + - + resolved_at: + type: + - string + - 'null' + format: date-time + description: 'The time that the alert was resolved in ISO 8601 + format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - *4 + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: *51 + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected + secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - *4 + push_protection_bypassed_at: + type: + - string + - 'null' + format: date-time + description: 'The time that push protection was bypassed in + ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - *4 + push_protection_bypass_request_reviewer_comment: + type: + - string + - 'null' + description: An optional comment when reviewing a push protection + bypass. + push_protection_bypass_request_comment: + type: + - string + - 'null' + description: An optional comment when requesting a push protection + bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this + alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert + is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &590 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &592 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &593 + description: Represents a 'wiki_commit' secret scanning + location type. This location type shows that a secret + was detected inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &594 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &595 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &596 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &597 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &598 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &599 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &600 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &601 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &602 + description: Represents a 'pull_request_comment' secret + scanning location type. This location type shows that + a secret was detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &603 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret + was detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &604 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: - default: *289 + default: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,7 +43897,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 responses: '200': description: Response @@ -43232,7 +43909,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &291 + pattern_config_version: &286 type: - string - 'null' @@ -43242,7 +43919,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &290 + items: &285 type: object properties: token_type: @@ -43311,7 +43988,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *290 + items: *285 examples: default: value: @@ -43360,7 +44037,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 requestBody: required: true content: @@ -43368,7 +44045,7 @@ paths: schema: type: object properties: - pattern_config_version: *291 + pattern_config_version: *286 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43394,7 +44071,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *291 + custom_pattern_version: *286 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43448,7 +44125,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *99 + - *61 - *46 - name: sort description: The property to sort the results by. @@ -43492,7 +44169,7 @@ paths: application/json: schema: type: array - items: &603 + items: &608 description: A repository security advisory. type: object properties: @@ -43736,7 +44413,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *287 credits_detailed: type: - array @@ -43747,7 +44424,7 @@ paths: type: object properties: user: *4 - type: *292 + type: *287 state: type: string description: The state of the user's acceptance of the @@ -43773,7 +44450,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *161 + items: *169 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -43811,7 +44488,7 @@ paths: - private_fork additionalProperties: false examples: - default: &604 + default: &609 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44190,7 +44867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *99 + - *61 responses: '200': description: Response @@ -44198,9 +44875,9 @@ paths: application/json: schema: type: array - items: *214 + items: *220 examples: - default: *215 + default: *221 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44223,8 +44900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -44249,8 +44926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -44279,13 +44956,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &669 + schema: &673 type: object properties: total_minutes_used: @@ -44355,7 +45032,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &670 + default: &674 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44385,13 +45062,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &671 + schema: &675 type: object properties: total_gigabytes_bandwidth_used: @@ -44409,7 +45086,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &672 + default: &676 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44435,13 +45112,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &676 + schema: &680 type: object properties: days_left_in_billing_cycle: @@ -44459,7 +45136,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &677 + default: &681 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44483,7 +45160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Immutable releases settings response @@ -44533,7 +45210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -44591,7 +45268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *61 - *19 - *17 responses: @@ -44609,9 +45286,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *135 examples: - default: *143 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44630,7 +45307,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *61 requestBody: required: true content: @@ -44679,8 +45356,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *99 - - *120 + - *61 + - *124 responses: '204': description: Response @@ -44702,8 +45379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *99 - - *120 + - *61 + - *124 responses: '204': description: Response @@ -44726,7 +45403,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -44744,7 +45421,7 @@ paths: type: integer network_configurations: type: array - items: &293 + items: &288 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44808,7 +45485,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44827,7 +45504,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -44869,9 +45546,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *288 examples: - default: &294 + default: &289 value: id: 123456789ABCDEF name: My network configuration @@ -44899,8 +45576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 - - &295 + - *61 + - &290 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44912,11 +45589,11 @@ paths: description: Response content: application/json: - schema: *293 + schema: *288 examples: - default: *294 + default: *289 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44935,8 +45612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 - - *295 + - *61 + - *290 requestBody: required: true content: @@ -44975,9 +45652,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *288 examples: - default: *294 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44996,8 +45673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *99 - - *295 + - *61 + - *290 responses: '204': description: Response @@ -45020,7 +45697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *99 + - *61 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -45079,7 +45756,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45109,8 +45786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *99 - - *64 + - *61 + - *62 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -45142,13 +45819,13 @@ paths: application/json: schema: type: array - items: *296 + items: *291 examples: - default: *297 - '500': *100 + default: *292 + '500': *98 '403': *27 '404': *6 - '422': *298 + '422': *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45166,7 +45843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *99 + - *61 - *17 - *19 responses: @@ -45176,11 +45853,11 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: *215 + default: *221 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -45200,7 +45877,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *99 + - *61 requestBody: required: true content: @@ -45272,7 +45949,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &294 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45346,7 +46023,7 @@ paths: parent: anyOf: - type: 'null' - - *214 + - *220 members_count: type: integer examples: @@ -45671,7 +46348,7 @@ paths: - repos_count - organization examples: - default: &300 + default: &295 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45741,16 +46418,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *99 - - *64 + - *61 + - *62 responses: '200': description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -45771,8 +46448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *99 - - *64 + - *61 + - *62 requestBody: required: false content: @@ -45835,16 +46512,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '201': description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 '422': *15 '403': *27 @@ -45869,8 +46546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -45896,8 +46573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *99 - - *64 + - *61 + - *62 - *46 - *17 - *19 @@ -45914,7 +46591,7 @@ paths: application/json: schema: type: array - items: &301 + items: &296 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46005,7 +46682,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46025,7 +46702,7 @@ paths: - updated_at - url examples: - default: &621 + default: &626 value: - author: login: octocat @@ -46075,7 +46752,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46099,8 +46776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *99 - - *64 + - *61 + - *62 requestBody: required: true content: @@ -46134,9 +46811,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: &302 + default: &297 value: author: login: octocat @@ -46208,9 +46885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *99 - - *64 - - &303 + - *61 + - *62 + - &298 name: discussion_number description: The number that identifies the discussion. in: path @@ -46222,9 +46899,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *302 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46246,9 +46923,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 requestBody: required: false content: @@ -46271,9 +46948,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: &622 + default: &627 value: author: login: octocat @@ -46343,9 +47020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 responses: '204': description: Response @@ -46371,9 +47048,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 - *46 - *17 - *19 @@ -46384,7 +47061,7 @@ paths: application/json: schema: type: array - items: &304 + items: &299 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46449,7 +47126,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46464,7 +47141,7 @@ paths: - updated_at - url examples: - default: &623 + default: &628 value: - author: login: octocat @@ -46508,7 +47185,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46532,9 +47209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 requestBody: required: true content: @@ -46556,9 +47233,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: &305 + default: &300 value: author: login: octocat @@ -46624,10 +47301,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - &306 + - *61 + - *62 + - *298 + - &301 name: comment_number description: The number that identifies the comment. in: path @@ -46639,9 +47316,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *305 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46663,10 +47340,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 requestBody: required: true content: @@ -46688,9 +47365,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: &624 + default: &629 value: author: login: octocat @@ -46754,10 +47431,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 responses: '204': description: Response @@ -46783,10 +47460,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -46812,7 +47489,7 @@ paths: application/json: schema: type: array - items: &307 + items: &302 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46856,7 +47533,7 @@ paths: - content - created_at examples: - default: &309 + default: &304 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46882,7 +47559,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46906,10 +47583,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *298 + - *301 requestBody: required: true content: @@ -46942,9 +47619,9 @@ paths: team discussion comment content: application/json: - schema: *307 + schema: *302 examples: - default: &308 + default: &303 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46973,9 +47650,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46998,11 +47675,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *99 - - *64 - - *303 - - *306 - - &310 + - *61 + - *62 + - *298 + - *301 + - &305 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47034,9 +47711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -47062,11 +47739,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47090,9 +47767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *298 requestBody: required: true content: @@ -47124,16 +47801,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47156,10 +47833,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *99 - - *64 - - *303 - - *310 + - *61 + - *62 + - *298 + - *305 responses: '204': description: Response @@ -47183,8 +47860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47194,11 +47871,11 @@ paths: application/json: schema: type: array - items: *196 + items: *202 examples: - default: *197 + default: *203 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47218,8 +47895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *99 - - *64 + - *61 + - *62 - name: role description: Filters members returned by their role in the team. in: query @@ -47242,9 +47919,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47272,15 +47949,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 responses: '200': description: Response content: application/json: - schema: &311 + schema: &306 title: Team Membership description: Team Membership type: object @@ -47308,7 +47985,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &625 + response-if-user-is-a-team-maintainer: &630 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47344,9 +48021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 requestBody: required: false content: @@ -47371,9 +48048,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *306 examples: - response-if-users-membership-with-team-is-now-pending: &626 + response-if-users-membership-with-team-is-now-pending: &631 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47408,9 +48085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 responses: '204': description: Response @@ -47435,8 +48112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47446,7 +48123,7 @@ paths: application/json: schema: type: array - items: &312 + items: &307 title: Team Project description: A team's access to a project. type: object @@ -47515,7 +48192,7 @@ paths: - updated_at - permissions examples: - default: &627 + default: &632 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47555,7 +48232,7 @@ paths: write: true admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47578,9 +48255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *99 - - *64 - - &313 + - *61 + - *62 + - &308 name: project_id description: The unique identifier of the project. in: path @@ -47592,9 +48269,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *307 examples: - default: &628 + default: &633 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47656,9 +48333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *99 - - *64 - - *313 + - *61 + - *62 + - *308 requestBody: required: false content: @@ -47725,9 +48402,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *99 - - *64 - - *313 + - *61 + - *62 + - *308 responses: '204': description: Response @@ -47754,8 +48431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47765,11 +48442,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47796,16 +48473,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *309 + - *310 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &629 + schema: &634 title: Team Repository description: A team's access to a repository. type: object @@ -47831,7 +48508,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 forks: type: integer permissions: @@ -48446,10 +49123,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *309 + - *310 requestBody: required: false content: @@ -48494,10 +49171,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *309 + - *310 responses: '204': description: Response @@ -48521,8 +49198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -48532,9 +49209,9 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - response-if-child-teams-exist: &630 + response-if-child-teams-exist: &635 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48562,7 +49239,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48587,7 +49264,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *99 + - *61 - name: security_product in: path description: The security feature to enable or disable. @@ -48661,7 +49338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &316 + - &311 name: column_id description: The unique identifier of the column. in: path @@ -48673,7 +49350,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &312 title: Project Column description: Project columns contain cards of work. type: object @@ -48727,7 +49404,7 @@ paths: - created_at - updated_at examples: - default: &318 + default: &313 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48762,7 +49439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *316 + - *311 requestBody: required: true content: @@ -48787,9 +49464,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: - default: *318 + default: *313 '304': *35 '403': *27 '401': *23 @@ -48814,7 +49491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *316 + - *311 responses: '204': description: Response @@ -48843,7 +49520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *316 + - *311 requestBody: required: true content: @@ -48904,15 +49581,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *313 + - *308 responses: '200': description: Response content: application/json: - schema: *232 + schema: *238 examples: - default: &319 + default: &314 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48969,7 +49646,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *313 + - *308 requestBody: required: false content: @@ -49018,9 +49695,9 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: - default: *319 + default: *314 '404': description: Not Found if the authenticated user does not have access to the project @@ -49041,7 +49718,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *315 '422': *7 x-github: githubCloudOnly: false @@ -49064,7 +49741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *313 + - *308 responses: '204': description: Delete Success @@ -49085,7 +49762,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *315 '404': *6 x-github: githubCloudOnly: false @@ -49109,7 +49786,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *313 + - *308 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -49136,9 +49813,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '304': *35 @@ -49166,8 +49843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *313 - - *62 + - *308 + - *57 requestBody: required: false content: @@ -49221,8 +49898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *313 - - *62 + - *308 + - *57 responses: '204': description: Response @@ -49253,8 +49930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *313 - - *62 + - *308 + - *57 responses: '200': description: Response @@ -49324,7 +50001,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *313 + - *308 - *17 - *19 responses: @@ -49334,7 +50011,7 @@ paths: application/json: schema: type: array - items: *317 + items: *312 examples: default: value: @@ -49347,7 +50024,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -49372,7 +50049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *313 + - *308 requestBody: required: true content: @@ -49396,7 +50073,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *312 examples: default: value: @@ -49461,7 +50138,7 @@ paths: resources: type: object properties: - core: &321 + core: &316 title: Rate Limit type: object properties: @@ -49478,21 +50155,21 @@ paths: - remaining - reset - used - graphql: *321 - search: *321 - code_search: *321 - source_import: *321 - integration_manifest: *321 - code_scanning_upload: *321 - actions_runner_registration: *321 - scim: *321 - dependency_snapshots: *321 - dependency_sbom: *321 - code_scanning_autofix: *321 + graphql: *316 + search: *316 + code_search: *316 + source_import: *316 + integration_manifest: *316 + code_scanning_upload: *316 + actions_runner_registration: *316 + scim: *316 + dependency_snapshots: *316 + dependency_sbom: *316 + code_scanning_autofix: *316 required: - core - search - rate: *321 + rate: *316 required: - rate - resources @@ -49597,14 +50274,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *322 + schema: *317 examples: default-response: summary: Default response @@ -50105,7 +50782,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *323 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50123,8 +50800,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -50372,10 +51049,10 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 - '307': &325 + default: *319 + '307': &320 description: Temporary Redirect content: application/json: @@ -50404,8 +51081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -50427,7 +51104,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *325 + '307': *320 '404': *6 '409': *45 x-github: @@ -50451,11 +51128,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - - &356 + - &351 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50478,7 +51155,7 @@ paths: type: integer artifacts: type: array - items: &326 + items: &321 title: Artifact description: An artifact type: object @@ -50573,7 +51250,7 @@ paths: - expires_at - updated_at examples: - default: &357 + default: &352 value: total_count: 2 artifacts: @@ -50612,7 +51289,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50634,9 +51311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *314 - - *315 - - &327 + - *309 + - *310 + - &322 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50648,7 +51325,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *321 examples: default: value: @@ -50686,9 +51363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *314 - - *315 - - *327 + - *309 + - *310 + - *322 responses: '204': description: Response @@ -50712,9 +51389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *314 - - *315 - - *327 + - *309 + - *310 + - *322 - name: archive_format in: path required: true @@ -50728,7 +51405,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50751,14 +51428,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *328 + schema: *323 examples: default: value: @@ -50784,11 +51461,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - - &329 + - &324 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -50822,7 +51499,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &325 title: Repository actions caches description: Repository actions caches type: object @@ -50872,7 +51549,7 @@ paths: - total_count - actions_caches examples: - default: &331 + default: &326 value: total_count: 1 actions_caches: @@ -50884,7 +51561,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50904,23 +51581,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *314 - - *315 + - *309 + - *310 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *329 + - *324 responses: '200': description: Response content: application/json: - schema: *330 + schema: *325 examples: - default: *331 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50940,8 +51617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *314 - - *315 + - *309 + - *310 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50972,9 +51649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *314 - - *315 - - &332 + - *309 + - *310 + - &327 name: job_id description: The unique identifier of the job. in: path @@ -50986,7 +51663,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &355 title: Job description: Information of a job execution in a workflow run type: object @@ -51333,9 +52010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *314 - - *315 - - *332 + - *309 + - *310 + - *327 responses: '302': description: Response @@ -51363,9 +52040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *314 - - *315 - - *332 + - *309 + - *310 + - *327 requestBody: required: false content: @@ -51387,7 +52064,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -51411,8 +52088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Status response @@ -51462,8 +52139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -51497,7 +52174,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -51526,8 +52203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -51545,7 +52222,7 @@ paths: type: integer secrets: type: array - items: &362 + items: &357 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51566,7 +52243,7 @@ paths: - created_at - updated_at examples: - default: &363 + default: &358 value: total_count: 2 secrets: @@ -51577,7 +52254,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51599,9 +52276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *314 - - *315 - - *333 + - *309 + - *310 + - *328 - *19 responses: '200': @@ -51618,7 +52295,7 @@ paths: type: integer variables: type: array - items: &366 + items: &361 title: Actions Variable type: object properties: @@ -51652,7 +52329,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &362 value: total_count: 2 variables: @@ -51665,7 +52342,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51685,8 +52362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -51695,12 +52372,12 @@ paths: schema: type: object properties: - enabled: &335 + enabled: &330 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *116 - selected_actions_url: *334 - sha_pinning_required: *117 + allowed_actions: *120 + selected_actions_url: *329 + sha_pinning_required: *121 required: - enabled examples: @@ -51728,8 +52405,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -51740,9 +52417,9 @@ paths: schema: type: object properties: - enabled: *335 - allowed_actions: *116 - sha_pinning_required: *117 + enabled: *330 + allowed_actions: *120 + sha_pinning_required: *121 required: - enabled examples: @@ -51772,14 +52449,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &336 + schema: &331 type: object properties: access_level: @@ -51796,7 +52473,7 @@ paths: required: - access_level examples: - default: &337 + default: &332 value: access_level: organization x-github: @@ -51820,15 +52497,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: application/json: - schema: *336 + schema: *331 examples: - default: *337 + default: *332 responses: '204': description: Response @@ -51852,14 +52529,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *338 + schema: *333 examples: default: value: @@ -51883,8 +52560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Empty response for successful settings update @@ -51894,7 +52571,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *334 examples: default: summary: Set retention days @@ -51918,16 +52595,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *340 + default: *335 '404': *6 x-github: enabledForGitHubApps: true @@ -51946,8 +52623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -51957,7 +52634,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *122 examples: default: summary: Set approval policy to first time contributors @@ -51981,16 +52658,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *341 + schema: *336 examples: - default: *119 + default: *123 '403': *27 '404': *6 x-github: @@ -52010,15 +52687,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: application/json: - schema: *342 + schema: *337 examples: - default: *119 + default: *123 responses: '204': description: Empty response for successful settings update @@ -52042,16 +52719,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *121 + schema: *125 examples: - default: *122 + default: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52070,8 +52747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -52079,9 +52756,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *125 examples: - selected_actions: *122 + selected_actions: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52103,16 +52780,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *343 + schema: *338 examples: - default: *126 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52133,8 +52810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Success response @@ -52145,9 +52822,9 @@ paths: required: true content: application/json: - schema: *344 + schema: *339 examples: - default: *126 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52174,8 +52851,8 @@ paths: in: query schema: type: string - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -52193,11 +52870,11 @@ paths: type: integer runners: type: array - items: *133 + items: *137 examples: - default: *134 + default: *138 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52219,8 +52896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -52228,9 +52905,9 @@ paths: application/json: schema: type: array - items: *345 + items: *340 examples: - default: *346 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52252,8 +52929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -52296,7 +52973,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *347 + '201': *342 '404': *6 '422': *7 '409': *45 @@ -52327,16 +53004,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '201': description: Response content: application/json: - schema: *135 + schema: *139 examples: - default: *348 + default: *343 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52364,16 +53041,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '201': description: Response content: application/json: - schema: *135 + schema: *139 examples: - default: *349 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52395,17 +53072,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *309 + - *310 + - *136 responses: '200': description: Response content: application/json: - schema: *133 + schema: *137 examples: - default: *350 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52426,9 +53103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *314 - - *315 - - *132 + - *309 + - *310 + - *136 responses: '204': description: Response @@ -52454,11 +53131,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *309 + - *310 + - *136 responses: - '200': *137 + '200': *141 '404': *6 x-github: githubCloudOnly: false @@ -52480,9 +53157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *309 + - *310 + - *136 requestBody: required: true content: @@ -52506,7 +53183,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *141 '404': *6 '422': *7 x-github: @@ -52530,9 +53207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *309 + - *310 + - *136 requestBody: required: true content: @@ -52557,7 +53234,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *141 '404': *6 '422': *7 x-github: @@ -52581,11 +53258,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *309 + - *310 + - *136 responses: - '200': *351 + '200': *346 '404': *6 x-github: githubCloudOnly: false @@ -52612,12 +53289,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 - - *352 + - *309 + - *310 + - *136 + - *347 responses: - '200': *137 + '200': *141 '404': *6 '422': *7 x-github: @@ -52643,9 +53320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *314 - - *315 - - &370 + - *309 + - *310 + - &365 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -52653,7 +53330,7 @@ paths: required: false schema: type: string - - &371 + - &366 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52661,7 +53338,7 @@ paths: required: false schema: type: string - - &372 + - &367 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52670,7 +53347,7 @@ paths: required: false schema: type: string - - &373 + - &368 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -52697,7 +53374,7 @@ paths: - pending - *17 - *19 - - &374 + - &369 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -52706,7 +53383,7 @@ paths: schema: type: string format: date-time - - &353 + - &348 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52715,13 +53392,13 @@ paths: schema: type: boolean default: false - - &375 + - &370 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &376 + - &371 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52744,7 +53421,7 @@ paths: type: integer workflow_runs: type: array - items: &354 + items: &349 title: Workflow Run description: An invocation of a workflow type: object @@ -52861,7 +53538,7 @@ paths: type: - array - 'null' - items: *72 + items: *70 created_at: type: string format: date-time @@ -52922,7 +53599,7 @@ paths: head_commit: anyOf: - type: 'null' - - &398 + - &393 title: Simple Commit description: A commit. type: object @@ -52996,8 +53673,8 @@ paths: - timestamp - author - committer - repository: *131 - head_repository: *131 + repository: *135 + head_repository: *135 head_repository_id: type: integer examples: @@ -53037,7 +53714,7 @@ paths: - workflow_url - pull_requests examples: - default: &377 + default: &372 value: total_count: 1 workflow_runs: @@ -53251,7 +53928,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53273,24 +53950,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *314 - - *315 - - &355 + - *309 + - *310 + - &350 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *353 + - *348 responses: '200': description: Response content: application/json: - schema: *354 + schema: *349 examples: - default: &358 + default: &353 value: id: 30433642 name: Build @@ -53531,9 +54208,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '204': description: Response @@ -53556,9 +54233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '200': description: Response @@ -53686,15 +54363,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '201': description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -53721,12 +54398,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 - *17 - *19 - - *356 + - *351 responses: '200': description: Response @@ -53742,11 +54419,11 @@ paths: type: integer artifacts: type: array - items: *326 + items: *321 examples: - default: *357 + default: *352 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53768,25 +54445,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *314 - - *315 - - *355 - - &359 + - *309 + - *310 + - *350 + - &354 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *353 + - *348 responses: '200': description: Response content: application/json: - schema: *354 + schema: *349 examples: - default: *358 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53809,10 +54486,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *314 - - *315 - - *355 - - *359 + - *309 + - *310 + - *350 + - *354 - *17 - *19 responses: @@ -53830,9 +54507,9 @@ paths: type: integer jobs: type: array - items: *360 + items: *355 examples: - default: &361 + default: &356 value: total_count: 1 jobs: @@ -53921,7 +54598,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -53945,10 +54622,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *314 - - *315 - - *355 - - *359 + - *309 + - *310 + - *350 + - *354 responses: '302': description: Response @@ -53976,15 +54653,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '202': description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -54011,9 +54688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: true content: @@ -54080,15 +54757,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '202': description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -54115,9 +54792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -54147,11 +54824,11 @@ paths: type: integer jobs: type: array - items: *360 + items: *355 examples: - default: *361 + default: *356 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54174,9 +54851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '302': description: Response @@ -54203,14 +54880,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '204': description: Response '403': *27 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54232,9 +54909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '200': description: Response @@ -54303,7 +54980,7 @@ paths: items: type: object properties: - type: &472 + type: &467 type: string description: The type of reviewer. enum: @@ -54314,7 +54991,7 @@ paths: reviewer: anyOf: - *4 - - *161 + - *169 required: - environment - wait_timer @@ -54389,9 +55066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: true content: @@ -54441,7 +55118,7 @@ paths: application/json: schema: type: array - items: &467 + items: &462 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54553,7 +55230,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &463 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54609,9 +55286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: false content: @@ -54633,7 +55310,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -54656,9 +55333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 requestBody: required: false content: @@ -54680,7 +55357,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -54712,9 +55389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *314 - - *315 - - *355 + - *309 + - *310 + - *350 responses: '200': description: Response @@ -54851,8 +55528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -54870,11 +55547,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *357 examples: - default: *363 + default: *358 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54897,16 +55574,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *364 + schema: *359 examples: - default: *365 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54928,17 +55605,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 responses: '200': description: Response content: application/json: - schema: *362 + schema: *357 examples: - default: &485 + default: &480 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54964,9 +55641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 requestBody: required: true content: @@ -54997,7 +55674,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -55023,9 +55700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 responses: '204': description: Response @@ -55050,9 +55727,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *314 - - *315 - - *333 + - *309 + - *310 + - *328 - *19 responses: '200': @@ -55069,11 +55746,11 @@ paths: type: integer variables: type: array - items: *366 + items: *361 examples: - default: *367 + default: *362 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55094,8 +55771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -55122,7 +55799,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -55147,17 +55824,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *309 + - *310 + - *146 responses: '200': description: Response content: application/json: - schema: *366 + schema: *361 examples: - default: &486 + default: &481 value: name: USERNAME value: octocat @@ -55183,9 +55860,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *309 + - *310 + - *146 requestBody: required: true content: @@ -55227,9 +55904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *309 + - *310 + - *146 responses: '204': description: Response @@ -55254,8 +55931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -55273,7 +55950,7 @@ paths: type: integer workflows: type: array - items: &368 + items: &363 title: Workflow description: A GitHub Actions workflow type: object @@ -55368,7 +56045,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55391,9 +56068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *314 - - *315 - - &369 + - *309 + - *310 + - &364 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55408,7 +56085,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *363 examples: default: value: @@ -55441,9 +56118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '204': description: Response @@ -55468,9 +56145,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '204': description: Response @@ -55521,9 +56198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '204': description: Response @@ -55550,19 +56227,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *314 - - *315 + - *309 + - *310 + - *364 + - *365 + - *366 + - *367 + - *368 + - *17 + - *19 - *369 + - *348 - *370 - *371 - - *372 - - *373 - - *17 - - *19 - - *374 - - *353 - - *375 - - *376 responses: '200': description: Response @@ -55578,11 +56255,11 @@ paths: type: integer workflow_runs: type: array - items: *354 + items: *349 examples: - default: *377 + default: *372 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55612,9 +56289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *314 - - *315 - - *369 + - *309 + - *310 + - *364 responses: '200': description: Response @@ -55675,8 +56352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *314 - - *315 + - *309 + - *310 - *46 - *17 - *38 @@ -55825,7 +56502,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -55844,8 +56521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -55857,9 +56534,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -55882,8 +56559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *314 - - *315 + - *309 + - *310 - name: assignee in: path required: true @@ -55919,8 +56596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -56032,8 +56709,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *38 - *39 @@ -56089,7 +56766,7 @@ paths: initiator: type: string examples: - default: *378 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56109,8 +56786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -56118,7 +56795,7 @@ paths: application/json: schema: type: array - items: &379 + items: &374 title: Autolink reference description: An autolink reference. type: object @@ -56177,8 +56854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -56217,9 +56894,9 @@ paths: description: response content: application/json: - schema: *379 + schema: *374 examples: - default: &380 + default: &375 value: id: 1 key_prefix: TICKET- @@ -56250,9 +56927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *314 - - *315 - - &381 + - *309 + - *310 + - &376 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56264,9 +56941,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *374 examples: - default: *380 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -56286,9 +56963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *314 - - *315 - - *381 + - *309 + - *310 + - *376 responses: '204': description: Response @@ -56312,8 +56989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response if Dependabot is enabled @@ -56363,8 +57040,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -56385,8 +57062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -56406,8 +57083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *314 - - *315 + - *309 + - *310 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56445,7 +57122,7 @@ paths: - url protected: type: boolean - protection: &383 + protection: &378 title: Branch Protection description: Branch Protection type: object @@ -56488,7 +57165,7 @@ paths: required: - contexts - checks - enforce_admins: &386 + enforce_admins: &381 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56505,7 +57182,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &388 + required_pull_request_reviews: &383 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56527,7 +57204,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *161 + items: *169 apps: description: The list of apps with review dismissal access. @@ -56559,7 +57236,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *161 + items: *169 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56589,7 +57266,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &385 + restrictions: &380 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56652,7 +57329,7 @@ paths: type: string teams: type: array - items: *161 + items: *169 apps: type: array items: @@ -56864,7 +57541,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -56882,9 +57559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *314 - - *315 - - &384 + - *309 + - *310 + - &379 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -56898,14 +57575,14 @@ paths: description: Response content: application/json: - schema: &394 + schema: &389 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &443 + commit: &438 title: Commit description: Commit type: object @@ -56944,7 +57621,7 @@ paths: author: anyOf: - type: 'null' - - &382 + - &377 title: Git User description: Metaproperties for Git author/committer information. @@ -56965,7 +57642,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *377 message: type: string examples: @@ -56989,7 +57666,7 @@ paths: required: - sha - url - verification: &492 + verification: &487 title: Verification type: object properties: @@ -57025,14 +57702,14 @@ paths: author: oneOf: - *4 - - *140 + - *144 type: - 'null' - object committer: oneOf: - *4 - - *140 + - *144 type: - 'null' - object @@ -57069,7 +57746,7 @@ paths: type: integer files: type: array - items: &454 + items: &449 title: Diff Entry description: Diff Entry type: object @@ -57165,7 +57842,7 @@ paths: - self protected: type: boolean - protection: *383 + protection: *378 protection_url: type: string format: uri @@ -57274,7 +57951,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *323 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -57296,15 +57973,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *383 + schema: *378 examples: default: value: @@ -57498,9 +58175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -57760,7 +58437,7 @@ paths: url: type: string format: uri - required_status_checks: &391 + required_status_checks: &386 title: Status Check Policy description: Status Check Policy type: object @@ -57841,7 +58518,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *169 apps: type: array items: *5 @@ -57859,7 +58536,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *169 apps: type: array items: *5 @@ -57919,7 +58596,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *385 + restrictions: *380 required_conversation_resolution: type: object properties: @@ -58031,9 +58708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58058,17 +58735,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: &387 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58090,17 +58767,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: *387 + default: *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58119,9 +58796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58146,17 +58823,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *388 + schema: *383 examples: - default: &389 + default: &384 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58252,9 +58929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58352,9 +59029,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *383 examples: - default: *389 + default: *384 '422': *15 x-github: githubCloudOnly: false @@ -58375,9 +59052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58404,17 +59081,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: &390 + default: &385 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58437,17 +59114,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *381 examples: - default: *390 + default: *385 '404': *6 x-github: githubCloudOnly: false @@ -58467,9 +59144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58494,17 +59171,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *391 + schema: *386 examples: - default: &392 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58530,9 +59207,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58584,9 +59261,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *386 examples: - default: *392 + default: *387 '404': *6 '422': *15 x-github: @@ -58608,9 +59285,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58634,9 +59311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -58670,9 +59347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58739,9 +59416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -58805,9 +59482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: content: application/json: @@ -58873,15 +59550,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response content: application/json: - schema: *385 + schema: *380 examples: default: value: @@ -58972,9 +59649,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '204': description: Response @@ -58997,9 +59674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -59009,7 +59686,7 @@ paths: type: array items: *5 examples: - default: &393 + default: &388 value: - id: 1 slug: octoapp @@ -59066,9 +59743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59102,7 +59779,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59123,9 +59800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59159,7 +59836,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59180,9 +59857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59216,7 +59893,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -59238,9 +59915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -59248,9 +59925,9 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: *215 + default: *221 '404': *6 x-github: githubCloudOnly: false @@ -59270,9 +59947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -59308,9 +59985,9 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: *215 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -59331,9 +60008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: false content: @@ -59369,9 +60046,9 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: *215 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -59392,9 +60069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: content: application/json: @@ -59429,9 +60106,9 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: *215 + default: *221 '422': *15 x-github: githubCloudOnly: false @@ -59453,9 +60130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 responses: '200': description: Response @@ -59465,7 +60142,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '404': *6 x-github: githubCloudOnly: false @@ -59489,9 +60166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59524,7 +60201,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59549,9 +60226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59584,7 +60261,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59609,9 +60286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59644,7 +60321,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59671,9 +60348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 requestBody: required: true content: @@ -59695,7 +60372,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *389 examples: default: value: @@ -59811,8 +60488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -60091,7 +60768,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &390 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60226,8 +60903,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *72 - deployment: &688 + items: *70 + deployment: &692 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60514,9 +61191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *314 - - *315 - - &396 + - *309 + - *310 + - &391 name: check_run_id description: The unique identifier of the check run. in: path @@ -60528,9 +61205,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *390 examples: - default: &397 + default: &392 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60630,9 +61307,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *314 - - *315 - - *396 + - *309 + - *310 + - *391 requestBody: required: true content: @@ -60872,9 +61549,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *390 examples: - default: *397 + default: *392 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60894,9 +61571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *314 - - *315 - - *396 + - *309 + - *310 + - *391 - *17 - *19 responses: @@ -60986,7 +61663,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61006,15 +61683,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *314 - - *315 - - *396 + - *309 + - *310 + - *391 responses: '201': description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -61052,8 +61729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -61075,7 +61752,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &399 + schema: &394 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61157,12 +61834,12 @@ paths: type: - array - 'null' - items: *72 + items: *70 app: anyOf: - type: 'null' - *5 - repository: *131 + repository: *135 created_at: type: - string @@ -61173,7 +61850,7 @@ paths: - string - 'null' format: date-time - head_commit: *398 + head_commit: *393 latest_check_runs_count: type: integer check_runs_url: @@ -61201,7 +61878,7 @@ paths: - check_runs_url - pull_requests examples: - default: &400 + default: &395 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61492,9 +62169,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *399 + schema: *394 examples: - default: *400 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61513,8 +62190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -61575,7 +62252,7 @@ paths: required: - app_id - setting - repository: *131 + repository: *135 examples: default: value: @@ -61823,9 +62500,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *314 - - *315 - - &401 + - *309 + - *310 + - &396 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61837,9 +62514,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *394 examples: - default: *400 + default: *395 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61862,17 +62539,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *314 - - *315 - - *401 - - &449 + - *309 + - *310 + - *396 + - &444 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &450 + - &445 name: status description: Returns check runs with the specified `status`. in: query @@ -61911,9 +62588,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *390 examples: - default: &451 + default: &446 value: total_count: 1 check_runs: @@ -61995,7 +62672,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62015,15 +62692,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *314 - - *315 - - *401 + - *309 + - *310 + - *396 responses: '201': description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -62050,21 +62727,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *314 - - *315 - - *402 - - *403 + - *309 + - *310 + - *397 + - *398 - *19 - *17 - - &420 + - &415 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *404 - - &421 + schema: *399 + - &416 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62089,13 +62766,13 @@ paths: be returned. in: query required: false - schema: *405 + schema: *400 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *406 + schema: *401 responses: '200': description: Response @@ -62106,24 +62783,24 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 - state: *151 - fixed_at: *147 + number: *151 + created_at: *152 + updated_at: *153 + url: *154 + html_url: *155 + instances_url: *402 + state: *160 + fixed_at: *156 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 - rule: *410 - tool: *411 - most_recent_instance: *412 + dismissed_at: *157 + dismissed_reason: *403 + dismissed_comment: *404 + rule: *405 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -62246,14 +62923,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &413 + '403': &408 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62273,9 +62950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *314 - - *315 - - &414 + - *309 + - *310 + - &409 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62283,30 +62960,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *52 + schema: *151 responses: '200': description: Response content: application/json: - schema: &415 + schema: &410 type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 - state: *151 - fixed_at: *147 + number: *151 + created_at: *152 + updated_at: *153 + url: *154 + html_url: *155 + instances_url: *402 + state: *160 + fixed_at: *156 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_at: *157 + dismissed_reason: *403 + dismissed_comment: *404 rule: type: object properties: @@ -62368,8 +63045,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *411 - most_recent_instance: *412 + tool: *406 + most_recent_instance: *407 dismissal_approved_by: anyOf: - type: 'null' @@ -62465,9 +63142,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62485,9 +63162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 requestBody: required: true content: @@ -62502,8 +63179,8 @@ paths: enum: - open - dismissed - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *403 + dismissed_comment: *404 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62522,7 +63199,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *410 examples: default: value: @@ -62598,14 +63275,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &419 + '403': &414 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62625,15 +63302,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 responses: '200': description: Response content: application/json: - schema: &416 + schema: &411 type: object properties: status: @@ -62660,13 +63337,13 @@ paths: - description - started_at examples: - default: &417 + default: &412 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &418 + '400': &413 description: Bad Request content: application/json: @@ -62677,9 +63354,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62702,29 +63379,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 responses: '200': description: OK content: application/json: - schema: *416 + schema: *411 examples: - default: *417 + default: *412 '202': description: Accepted content: application/json: - schema: *416 + schema: *411 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *418 + '400': *413 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62734,7 +63411,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62756,9 +63433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 requestBody: required: false content: @@ -62804,12 +63481,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *418 - '403': *419 + '400': *413 + '403': *414 '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62829,13 +63506,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 - *19 - *17 - - *420 - - *421 + - *415 + - *416 responses: '200': description: Response @@ -62843,7 +63520,7 @@ paths: application/json: schema: type: array - items: *412 + items: *407 examples: default: value: @@ -62882,9 +63559,9 @@ paths: end_column: 50 classifications: - source - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62916,25 +63593,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *314 - - *315 - - *402 - - *403 + - *309 + - *310 + - *397 + - *398 - *19 - *17 - - *421 + - *416 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *404 + schema: *399 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &424 + schema: &419 type: string description: An identifier for the upload. examples: @@ -62956,23 +63633,23 @@ paths: application/json: schema: type: array - items: &425 + items: &420 type: object properties: - ref: *404 - commit_sha: &433 + ref: *399 + commit_sha: &428 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *422 + analysis_key: *417 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *423 + category: *418 error: type: string examples: @@ -62997,8 +63674,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *424 - tool: *411 + sarif_id: *419 + tool: *406 deletable: type: boolean warning: @@ -63060,9 +63737,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63096,8 +63773,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63110,7 +63787,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *420 examples: response: summary: application/json response @@ -63164,14 +63841,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *413 + '403': *408 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63251,8 +63928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63308,9 +63985,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *419 + '403': *414 '404': *6 - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63330,8 +64007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -63339,7 +64016,7 @@ paths: application/json: schema: type: array - items: &426 + items: &421 title: CodeQL Database description: A CodeQL database. type: object @@ -63451,9 +64128,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63480,8 +64157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63493,7 +64170,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *421 examples: default: value: @@ -63525,11 +64202,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &456 + '302': &451 description: Found - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63549,8 +64226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *314 - - *315 + - *309 + - *310 - name: language in: path description: The language of the CodeQL database. @@ -63560,9 +64237,9 @@ paths: responses: '204': description: Response - '403': *419 + '403': *414 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63588,8 +64265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -63598,7 +64275,7 @@ paths: type: object additionalProperties: false properties: - language: &427 + language: &422 type: string description: The language targeted by the CodeQL query enum: @@ -63677,7 +64354,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &431 + schema: &426 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63687,7 +64364,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *427 + query_language: *422 query_pack_url: type: string description: The download url for the query pack. @@ -63735,7 +64412,7 @@ paths: items: type: object properties: - repository: &428 + repository: &423 title: Repository Identifier description: Repository Identifier type: object @@ -63777,7 +64454,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &432 + analysis_status: &427 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63809,7 +64486,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &429 + access_mismatch_repos: &424 type: object properties: repository_count: @@ -63824,7 +64501,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *428 + items: *423 required: - repository_count - repositories @@ -63847,8 +64524,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *429 - over_limit_repos: *429 + no_codeql_db_repos: *424 + over_limit_repos: *424 required: - access_mismatch_repos - not_found_repos @@ -63864,7 +64541,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &430 + value: &425 summary: Default response value: id: 1 @@ -64016,17 +64693,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *430 + value: *425 repository_lists: summary: Response for a successful variant analysis submission - value: *430 + value: *425 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64047,8 +64724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *309 + - *310 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64060,11 +64737,11 @@ paths: description: Response content: application/json: - schema: *431 + schema: *426 examples: - default: *430 + default: *425 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64085,7 +64762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *314 + - *309 - name: repo in: path description: The name of the controller repository. @@ -64120,7 +64797,7 @@ paths: type: object properties: repository: *51 - analysis_status: *432 + analysis_status: *427 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64224,7 +64901,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64245,8 +64922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -64339,9 +65016,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *413 + '403': *408 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64360,8 +65037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -64430,7 +65107,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -64455,7 +65132,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *419 + '403': *414 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64469,7 +65146,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64526,8 +65203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -64535,7 +65212,7 @@ paths: schema: type: object properties: - commit_sha: *433 + commit_sha: *428 ref: type: string description: |- @@ -64595,7 +65272,7 @@ paths: schema: type: object properties: - id: *424 + id: *419 url: type: string description: The REST API URL for checking the status of the upload. @@ -64609,11 +65286,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *419 + '403': *414 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64632,8 +65309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *314 - - *315 + - *309 + - *310 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64681,10 +65358,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *413 + '403': *408 '404': description: Not Found if the sarif id does not match any upload - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64706,8 +65383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -64763,7 +65440,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *156 + '204': *165 '304': *35 '403': *27 '404': *6 @@ -64788,8 +65465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *314 - - *315 + - *309 + - *310 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -64917,8 +65594,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -64934,7 +65611,7 @@ paths: type: integer codespaces: type: array - items: *204 + items: *210 examples: default: value: @@ -65210,7 +65887,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -65232,8 +65909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -65297,22 +65974,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65336,8 +66013,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -65377,7 +66054,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *100 + '500': *98 '400': *14 '401': *23 '403': *27 @@ -65401,8 +66078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65439,9 +66116,9 @@ paths: type: integer machines: type: array - items: *435 + items: *430 examples: - default: &637 + default: &642 value: total_count: 2 machines: @@ -65458,7 +66135,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -65481,8 +66158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *314 - - *315 + - *309 + - *310 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65569,8 +66246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *314 - - *315 + - *309 + - *310 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -65618,7 +66295,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65639,8 +66316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -65658,7 +66335,7 @@ paths: type: integer secrets: type: array - items: &439 + items: &434 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65679,9 +66356,9 @@ paths: - created_at - updated_at examples: - default: *436 + default: *431 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65702,16 +66379,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *437 + schema: *432 examples: - default: *438 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65731,17 +66408,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 responses: '200': description: Response content: application/json: - schema: *439 + schema: *434 examples: - default: *440 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65761,9 +66438,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 requestBody: required: true content: @@ -65791,7 +66468,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -65815,9 +66492,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 responses: '204': description: Response @@ -65845,8 +66522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *314 - - *315 + - *309 + - *310 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65884,7 +66561,7 @@ paths: application/json: schema: type: array - items: &441 + items: &436 title: Collaborator description: Collaborator type: object @@ -66052,7 +66729,7 @@ paths: admin: false role_name: write headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66077,9 +66754,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 responses: '204': description: Response if user is a collaborator @@ -66125,9 +66802,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 requestBody: required: false content: @@ -66153,7 +66830,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &505 + schema: &500 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66165,7 +66842,7 @@ paths: format: int64 examples: - 42 - repository: *131 + repository: *135 invitee: anyOf: - type: 'null' @@ -66341,7 +67018,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *105 + schema: *104 '403': *27 x-github: triggersNotification: true @@ -66381,9 +67058,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66414,9 +67091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *314 - - *315 - - *62 + - *309 + - *310 + - *57 responses: '200': description: if user has admin permissions @@ -66436,7 +67113,7 @@ paths: user: anyOf: - type: 'null' - - *441 + - *436 required: - permission - role_name @@ -66490,8 +67167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -66501,7 +67178,7 @@ paths: application/json: schema: type: array - items: &442 + items: &437 title: Commit Comment description: Commit Comment type: object @@ -66542,8 +67219,8 @@ paths: updated_at: type: string format: date-time - author_association: *69 - reactions: *70 + author_association: *67 + reactions: *68 required: - url - html_url @@ -66559,7 +67236,7 @@ paths: - created_at - updated_at examples: - default: &445 + default: &440 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66593,7 +67270,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66618,17 +67295,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '200': description: Response content: application/json: - schema: *442 + schema: *437 examples: - default: &446 + default: &441 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66685,9 +67362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -66709,7 +67386,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *437 examples: default: value: @@ -66760,9 +67437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '204': description: Response @@ -66783,9 +67460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -66811,11 +67488,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66834,9 +67511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -66868,16 +67545,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -66899,10 +67576,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *314 - - *315 - - *84 + - *309 - *310 + - *81 + - *305 responses: '204': description: Response @@ -66951,8 +67628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *314 - - *315 + - *309 + - *310 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67008,9 +67685,9 @@ paths: application/json: schema: type: array - items: *443 + items: *438 examples: - default: &551 + default: &548 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67080,8 +67757,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *57 - '500': *100 + Link: *52 + '500': *98 '400': *14 '404': *6 '409': *45 @@ -67104,9 +67781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *314 - - *315 - - &444 + - *309 + - *310 + - &439 name: commit_sha description: The SHA of the commit. in: path @@ -67178,9 +67855,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 - *17 - *19 responses: @@ -67190,11 +67867,11 @@ paths: application/json: schema: type: array - items: *442 + items: *437 examples: - default: *445 + default: *440 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67220,9 +67897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 requestBody: required: true content: @@ -67257,9 +67934,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *437 examples: - default: *446 + default: *441 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67287,9 +67964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 - *17 - *19 responses: @@ -67299,9 +67976,9 @@ paths: application/json: schema: type: array - items: *447 + items: *442 examples: - default: &543 + default: &540 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67780,7 +68457,7 @@ paths: auto_merge: draft: false headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -67838,11 +68515,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *314 - - *315 + - *309 + - *310 - *19 - *17 - - &448 + - &443 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -67857,9 +68534,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *438 examples: - default: &531 + default: &526 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67945,8 +68622,8 @@ paths: ..... '422': *15 '404': *6 - '500': *100 - '503': *73 + '500': *98 + '503': *99 '409': *45 x-github: githubCloudOnly: false @@ -67972,11 +68649,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *314 - - *315 - - *448 - - *449 - - *450 + - *309 + - *310 + - *443 + - *444 + - *445 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68010,11 +68687,11 @@ paths: type: integer check_runs: type: array - items: *395 + items: *390 examples: - default: *451 + default: *446 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68037,9 +68714,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *314 - - *315 - - *448 + - *309 + - *310 + - *443 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68047,7 +68724,7 @@ paths: schema: type: integer example: 1 - - *449 + - *444 - *17 - *19 responses: @@ -68065,7 +68742,7 @@ paths: type: integer check_suites: type: array - items: *399 + items: *394 examples: default: value: @@ -68240,7 +68917,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68265,9 +68942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *314 - - *315 - - *448 + - *309 + - *310 + - *443 - *17 - *19 responses: @@ -68338,7 +69015,7 @@ paths: type: string total_count: type: integer - repository: *131 + repository: *135 commit_url: type: string format: uri @@ -68469,9 +69146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *314 - - *315 - - *448 + - *309 + - *310 + - *443 - *17 - *19 responses: @@ -68481,7 +69158,7 @@ paths: application/json: schema: type: array - items: &608 + items: &613 title: Status description: The status of a commit. type: object @@ -68561,8 +69238,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68590,8 +69267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -68624,11 +69301,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *452 + - *447 code_of_conduct_file: anyOf: - type: 'null' - - &453 + - &448 title: Community Health File type: object properties: @@ -68644,23 +69321,23 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 contributing: anyOf: - type: 'null' - - *453 + - *448 readme: anyOf: - type: 'null' - - *453 + - *448 issue_template: anyOf: - type: 'null' - - *453 + - *448 pull_request_template: anyOf: - type: 'null' - - *453 + - *448 required: - code_of_conduct - code_of_conduct_file @@ -68789,8 +69466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *314 - - *315 + - *309 + - *310 - *19 - *17 - name: basehead @@ -68838,8 +69515,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *443 - merge_base_commit: *443 + base_commit: *438 + merge_base_commit: *438 status: type: string enum: @@ -68863,10 +69540,10 @@ paths: - 6 commits: type: array - items: *443 + items: *438 files: type: array - items: *454 + items: *449 required: - url - html_url @@ -69109,8 +69786,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69152,8 +69829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *314 - - *315 + - *309 + - *310 - name: path description: path parameter in: path @@ -69306,7 +69983,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &455 + response-if-content-is-a-file: &450 summary: Response if content is a file value: type: file @@ -69443,7 +70120,7 @@ paths: - size - type - url - - &556 + - &553 title: Content File description: Content File type: object @@ -69661,7 +70338,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *455 + response-if-content-is-a-file: *450 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69730,7 +70407,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *456 + '302': *451 '304': *35 x-github: githubCloudOnly: false @@ -69753,8 +70430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *314 - - *315 + - *309 + - *310 - name: path description: path parameter in: path @@ -69849,7 +70526,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &452 title: File Commit description: File Commit type: object @@ -70005,7 +70682,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *452 examples: example-for-creating-a-file: value: @@ -70059,7 +70736,7 @@ paths: schema: oneOf: - *3 - - &487 + - &482 description: Repository rule violation was detected type: object properties: @@ -70080,7 +70757,7 @@ paths: items: type: object properties: - placeholder_id: &600 + placeholder_id: &605 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70112,8 +70789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *314 - - *315 + - *309 + - *310 - name: path description: path parameter in: path @@ -70174,7 +70851,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *452 examples: default: value: @@ -70209,7 +70886,7 @@ paths: '422': *15 '404': *6 '409': *45 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70229,8 +70906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *314 - - *315 + - *309 + - *310 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70331,7 +71008,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *57 + Link: *52 '204': description: Response if repository is empty '403': *27 @@ -70354,31 +71031,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *314 - - *315 - - *162 - - *163 - - *164 - - *165 + - *309 + - *310 + - *170 + - *171 + - *172 + - *173 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *166 - - *458 - - *167 - - *168 + - *174 + - *453 + - *175 + - *176 - *46 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -70389,8 +71058,6 @@ paths: default: 30 - *38 - *39 - - *169 - - *170 responses: '200': description: Response @@ -70398,11 +71065,11 @@ paths: application/json: schema: type: array - items: &461 + items: &456 type: object description: A Dependabot alert. properties: - number: *52 + number: *151 state: type: string description: The state of the Dependabot alert. @@ -70448,13 +71115,13 @@ paths: - direct - transitive - - security_advisory: *459 + security_advisory: *454 security_vulnerability: *50 - url: *55 - html_url: *56 - created_at: *53 - updated_at: *54 - dismissed_at: *148 + url: *154 + html_url: *155 + created_at: *152 + updated_at: *153 + dismissed_at: *157 dismissed_by: anyOf: - type: 'null' @@ -70478,8 +71145,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *147 - auto_dismissed_at: *460 + fixed_at: *156 + auto_dismissed_at: *455 required: - number - state @@ -70709,9 +71376,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *314 - - *315 - - &462 + - *309 + - *310 + - &457 name: alert_number in: path description: |- @@ -70720,13 +71387,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *52 + schema: *151 responses: '200': description: Response content: application/json: - schema: *461 + schema: *456 examples: default: value: @@ -70839,9 +71506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *314 - - *315 - - *462 + - *309 + - *310 + - *457 requestBody: required: true content: @@ -70886,7 +71553,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *456 examples: default: value: @@ -71015,8 +71682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -71034,7 +71701,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &460 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71066,7 +71733,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71088,16 +71755,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *463 + schema: *458 examples: - default: *464 + default: *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71117,15 +71784,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 responses: '200': description: Response content: application/json: - schema: *465 + schema: *460 examples: default: value: @@ -71151,9 +71818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 requestBody: required: true content: @@ -71181,7 +71848,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -71205,9 +71872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *309 + - *310 + - *143 responses: '204': description: Response @@ -71229,8 +71896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *314 - - *315 + - *309 + - *310 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -71380,7 +72047,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *57 + Link: *52 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -71404,8 +72071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -71642,7 +72309,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *57 + Link: *52 '404': *6 '403': *27 x-github: @@ -71665,8 +72332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -71749,7 +72416,7 @@ paths: - version - url additionalProperties: false - metadata: &466 + metadata: &461 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71788,7 +72455,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *466 + metadata: *461 resolved: type: object description: A collection of resolved package dependencies. @@ -71802,7 +72469,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *466 + metadata: *461 relationship: type: string description: A notation of whether a dependency is requested @@ -71935,8 +72602,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *314 - - *315 + - *309 + - *310 - name: sha description: The SHA recorded at creation time. in: query @@ -71977,11 +72644,11 @@ paths: application/json: schema: type: array - items: *467 + items: *462 examples: - default: *468 + default: *463 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72045,8 +72712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -72128,7 +72795,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *462 examples: simple-example: summary: Simple example @@ -72201,9 +72868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *314 - - *315 - - &469 + - *309 + - *310 + - &464 name: deployment_id description: deployment_id parameter in: path @@ -72215,7 +72882,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *462 examples: default: value: @@ -72280,9 +72947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 responses: '204': description: Response @@ -72304,9 +72971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 - *17 - *19 responses: @@ -72316,7 +72983,7 @@ paths: application/json: schema: type: array - items: &470 + items: &465 title: Deployment Status description: The status of a deployment. type: object @@ -72460,7 +73127,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -72480,9 +73147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 requestBody: required: true content: @@ -72557,9 +73224,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *465 examples: - default: &471 + default: &466 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72615,9 +73282,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *309 + - *310 + - *464 - name: status_id in: path required: true @@ -72628,9 +73295,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *465 examples: - default: *471 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -72655,8 +73322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -72713,8 +73380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -72732,7 +73399,7 @@ paths: - 5 environments: type: array - items: &473 + items: &468 title: Environment description: Details of a deployment environment type: object @@ -72794,7 +73461,7 @@ paths: type: string examples: - wait_timer - wait_timer: &475 + wait_timer: &470 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72836,11 +73503,11 @@ paths: items: type: object properties: - type: *472 + type: *467 reviewer: anyOf: - *4 - - *161 + - *169 required: - id - node_id @@ -72863,7 +73530,7 @@ paths: - id - node_id - type - deployment_branch_policy: &476 + deployment_branch_policy: &471 type: - object - 'null' @@ -72980,9 +73647,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *314 - - *315 - - &474 + - *309 + - *310 + - &469 name: environment_name in: path required: true @@ -72995,9 +73662,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *468 examples: - default: &477 + default: &472 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73081,9 +73748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 requestBody: required: false content: @@ -73093,7 +73760,7 @@ paths: - object - 'null' properties: - wait_timer: *475 + wait_timer: *470 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73112,14 +73779,14 @@ paths: items: type: object properties: - type: *472 + type: *467 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *476 + deployment_branch_policy: *471 additionalProperties: false examples: default: @@ -73139,9 +73806,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *468 examples: - default: *477 + default: *472 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73165,9 +73832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 responses: '204': description: Default response @@ -73192,9 +73859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 - *17 - *19 responses: @@ -73213,7 +73880,7 @@ paths: - 2 branch_policies: type: array - items: &478 + items: &473 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73274,9 +73941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 requestBody: required: true content: @@ -73324,9 +73991,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: - example-wildcard: &479 + example-wildcard: &474 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73368,10 +74035,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - &480 + - *309 + - *310 + - *469 + - &475 name: branch_policy_id in: path required: true @@ -73383,9 +74050,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: - default: *479 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73404,10 +74071,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - *480 + - *309 + - *310 + - *469 + - *475 requestBody: required: true content: @@ -73436,9 +74103,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *473 examples: - default: *479 + default: *474 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73457,10 +74124,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - *480 + - *309 + - *310 + - *469 + - *475 responses: '204': description: Response @@ -73485,9 +74152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *474 - - *315 - - *314 + - *469 + - *310 + - *309 responses: '200': description: List of deployment protection rules @@ -73504,7 +74171,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &481 + items: &476 title: Deployment protection rule description: Deployment protection rule type: object @@ -73526,7 +74193,7 @@ paths: for the environment. examples: - true - app: &482 + app: &477 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73629,9 +74296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *474 - - *315 - - *314 + - *469 + - *310 + - *309 requestBody: content: application/json: @@ -73652,9 +74319,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *481 + schema: *476 examples: - default: &483 + default: &478 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73689,9 +74356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *474 - - *315 - - *314 + - *469 + - *310 + - *309 - *19 - *17 responses: @@ -73711,7 +74378,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *482 + items: *477 examples: default: value: @@ -73746,10 +74413,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *314 - - *315 - - *474 - - &484 + - *309 + - *310 + - *469 + - &479 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73761,9 +74428,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *476 examples: - default: *483 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73784,10 +74451,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *474 - - *315 - - *314 - - *484 + - *469 + - *310 + - *309 + - *479 responses: '204': description: Response @@ -73813,9 +74480,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 - *17 - *19 responses: @@ -73833,11 +74500,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *357 examples: - default: *363 + default: *358 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73860,17 +74527,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 responses: '200': description: Response content: application/json: - schema: *364 + schema: *359 examples: - default: *365 + default: *360 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73892,18 +74559,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *309 + - *310 + - *469 + - *143 responses: '200': description: Response content: application/json: - schema: *362 + schema: *357 examples: - default: *485 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73925,10 +74592,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *309 + - *310 + - *469 + - *143 requestBody: required: true content: @@ -73959,7 +74626,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -73985,10 +74652,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *309 + - *310 + - *469 + - *143 responses: '204': description: Default response @@ -74013,10 +74680,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *314 - - *315 - - *474 - - *333 + - *309 + - *310 + - *469 + - *328 - *19 responses: '200': @@ -74033,11 +74700,11 @@ paths: type: integer variables: type: array - items: *366 + items: *361 examples: - default: *367 + default: *362 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74058,9 +74725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *314 - - *315 - - *474 + - *309 + - *310 + - *469 requestBody: required: true content: @@ -74087,7 +74754,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -74112,18 +74779,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *314 - - *315 - - *474 - - *142 + - *309 + - *310 + - *469 + - *146 responses: '200': description: Response content: application/json: - schema: *366 + schema: *361 examples: - default: *486 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74144,10 +74811,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *309 + - *310 + - *146 + - *469 requestBody: required: true content: @@ -74189,10 +74856,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *309 + - *310 + - *146 + - *469 responses: '204': description: Response @@ -74214,8 +74881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -74225,7 +74892,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -74283,8 +74950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *314 - - *315 + - *309 + - *310 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74306,7 +74973,7 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: default: value: @@ -74419,7 +75086,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *57 + Link: *52 '400': *14 x-github: githubCloudOnly: false @@ -74443,8 +75110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -74477,9 +75144,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 '400': *14 '422': *15 '403': *27 @@ -74500,8 +75167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -74560,8 +75227,8 @@ paths: application/json: schema: oneOf: - - *105 - - *487 + - *104 + - *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74586,8 +75253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *314 - - *315 + - *309 + - *310 - name: file_sha in: path required: true @@ -74687,8 +75354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -74797,7 +75464,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &483 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75024,15 +75691,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *314 - - *315 - - *444 + - *309 + - *310 + - *439 responses: '200': description: Response content: application/json: - schema: *488 + schema: *483 examples: default: value: @@ -75088,9 +75755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *314 - - *315 - - &489 + - *309 + - *310 + - &484 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -75107,7 +75774,7 @@ paths: application/json: schema: type: array - items: &490 + items: &485 title: Git Reference description: Git references within a repository type: object @@ -75161,7 +75828,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -75183,17 +75850,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *314 - - *315 - - *489 + - *309 + - *310 + - *484 responses: '200': description: Response content: application/json: - schema: *490 + schema: *485 examples: - default: &491 + default: &486 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75222,8 +75889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -75252,9 +75919,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *485 examples: - default: *491 + default: *486 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75280,9 +75947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *314 - - *315 - - *489 + - *309 + - *310 + - *484 requestBody: required: true content: @@ -75311,9 +75978,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *485 examples: - default: *491 + default: *486 '422': *15 '409': *45 x-github: @@ -75331,9 +75998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *314 - - *315 - - *489 + - *309 + - *310 + - *484 responses: '204': description: Response @@ -75388,8 +76055,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -75456,7 +76123,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &488 title: Git Tag description: Metadata for a Git tag type: object @@ -75512,7 +76179,7 @@ paths: - sha - type - url - verification: *492 + verification: *487 required: - sha - url @@ -75522,7 +76189,7 @@ paths: - tag - message examples: - default: &494 + default: &489 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75595,8 +76262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *314 - - *315 + - *309 + - *310 - name: tag_sha in: path required: true @@ -75607,9 +76274,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *488 examples: - default: *494 + default: *489 '404': *6 '409': *45 x-github: @@ -75633,8 +76300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -75708,7 +76375,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &490 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75810,8 +76477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *314 - - *315 + - *309 + - *310 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75834,7 +76501,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *490 examples: default-response: summary: Default response @@ -75893,8 +76560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -75904,7 +76571,7 @@ paths: application/json: schema: type: array - items: &496 + items: &491 title: Webhook description: Webhooks for repositories. type: object @@ -75967,7 +76634,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &719 + last_response: &723 title: Hook Response type: object properties: @@ -76025,7 +76692,7 @@ paths: status: unused message: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -76044,8 +76711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -76098,9 +76765,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *491 examples: - default: &497 + default: &492 value: type: Repository id: 12345678 @@ -76148,17 +76815,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 responses: '200': description: Response content: application/json: - schema: *496 + schema: *491 examples: - default: *497 + default: *492 '404': *6 x-github: githubCloudOnly: false @@ -76178,9 +76845,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 requestBody: required: true content: @@ -76225,9 +76892,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *491 examples: - default: *497 + default: *492 '422': *15 '404': *6 x-github: @@ -76248,9 +76915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 responses: '204': description: Response @@ -76274,9 +76941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 responses: '200': description: Response @@ -76303,9 +76970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 requestBody: required: false content: @@ -76349,11 +77016,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 - *17 - - *177 + - *183 responses: '200': description: Response @@ -76361,9 +77028,9 @@ paths: application/json: schema: type: array - items: *178 + items: *184 examples: - default: *179 + default: *185 '400': *14 '422': *15 x-github: @@ -76382,18 +77049,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 - *16 responses: '200': description: Response content: application/json: - schema: *180 + schema: *186 examples: - default: *181 + default: *187 '400': *14 '422': *15 x-github: @@ -76412,9 +77079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 - *16 responses: '202': *37 @@ -76437,9 +77104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 responses: '204': description: Response @@ -76464,9 +77131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *314 - - *315 - - *176 + - *309 + - *310 + - *182 responses: '204': description: Response @@ -76489,8 +77156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response if immutable releases are enabled @@ -76538,10 +77205,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *165 '409': *45 x-github: githubCloudOnly: false @@ -76559,10 +77226,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *165 '409': *45 x-github: githubCloudOnly: false @@ -76617,14 +77284,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &498 + schema: &493 title: Import description: A repository import from an external source. type: object @@ -76731,7 +77398,7 @@ paths: - html_url - authors_url examples: - default: &501 + default: &496 value: vcs: subversion use_lfs: true @@ -76747,7 +77414,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &499 + '503': &494 description: Unavailable due to service under maintenance. content: application/json: @@ -76776,8 +77443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -76825,7 +77492,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *493 examples: default: value: @@ -76850,7 +77517,7 @@ paths: type: string '422': *15 '404': *6 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76878,8 +77545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -76931,7 +77598,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *493 examples: example-1: summary: Example 1 @@ -76979,7 +77646,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77002,12 +77669,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77033,9 +77700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *314 - - *315 - - &659 + - *309 + - *310 + - &663 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77049,7 +77716,7 @@ paths: application/json: schema: type: array - items: &500 + items: &495 title: Porter Author description: Porter Author type: object @@ -77103,7 +77770,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77128,8 +77795,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *314 - - *315 + - *309 + - *310 - name: author_id in: path required: true @@ -77159,7 +77826,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *495 examples: default: value: @@ -77172,7 +77839,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77196,8 +77863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -77238,7 +77905,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77266,8 +77933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -77294,11 +77961,11 @@ paths: description: Response content: application/json: - schema: *498 + schema: *493 examples: - default: *501 + default: *496 '422': *15 - '503': *499 + '503': *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77321,8 +77988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -77330,8 +77997,8 @@ paths: application/json: schema: *20 examples: - default: *502 - '301': *323 + default: *497 + '301': *318 '404': *6 x-github: githubCloudOnly: false @@ -77351,8 +78018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -77360,12 +78027,12 @@ paths: application/json: schema: anyOf: - - *194 + - *200 - type: object properties: {} additionalProperties: false examples: - default: &504 + default: &499 value: limit: collaborators_only origin: repository @@ -77390,13 +78057,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: application/json: - schema: *503 + schema: *498 examples: default: summary: Example request body @@ -77408,9 +78075,9 @@ paths: description: Response content: application/json: - schema: *194 + schema: *200 examples: - default: *504 + default: *499 '409': description: Response x-github: @@ -77432,8 +78099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -77456,8 +78123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -77467,9 +78134,9 @@ paths: application/json: schema: type: array - items: *505 + items: *500 examples: - default: &652 + default: &656 value: - id: 1 repository: @@ -77583,7 +78250,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77600,9 +78267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *314 - - *315 - - *198 + - *309 + - *310 + - *204 requestBody: required: false content: @@ -77631,7 +78298,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *500 examples: default: value: @@ -77762,9 +78429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *314 - - *315 - - *198 + - *309 + - *310 + - *204 responses: '204': description: Response @@ -77795,8 +78462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *314 - - *315 + - *309 + - *310 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -77844,7 +78511,7 @@ paths: required: false schema: type: string - - *202 + - *208 - name: sort description: What to sort results by. in: query @@ -77857,7 +78524,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -77867,9 +78534,9 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: &512 + default: &507 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78016,8 +78683,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '422': *15 '404': *6 x-github: @@ -78046,8 +78713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -78137,9 +78804,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: &509 + default: &504 value: id: 1 node_id: MDU6SXNzdWUx @@ -78293,9 +78960,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *73 + '503': *99 '404': *6 - '410': *320 + '410': *315 x-github: triggersNotification: true githubCloudOnly: false @@ -78323,9 +78990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *314 - - *315 - - *92 + - *309 + - *310 + - *89 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78335,7 +79002,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -78345,9 +79012,9 @@ paths: application/json: schema: type: array - items: *506 + items: *501 examples: - default: &511 + default: &506 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78378,7 +79045,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '404': *6 x-github: @@ -78405,17 +79072,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '200': description: Response content: application/json: - schema: *506 + schema: *501 examples: - default: &507 + default: &502 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78469,9 +79136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -78493,9 +79160,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *501 examples: - default: *507 + default: *502 '422': *15 x-github: githubCloudOnly: false @@ -78513,9 +79180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '204': description: Response @@ -78535,9 +79202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -78563,11 +79230,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -78586,9 +79253,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -78620,16 +79287,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -78651,10 +79318,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *314 - - *315 - - *84 + - *309 - *310 + - *81 + - *305 responses: '204': description: Response @@ -78674,8 +79341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -78685,7 +79352,7 @@ paths: application/json: schema: type: array - items: &508 + items: &503 title: Issue Event description: Issue Event type: object @@ -78732,7 +79399,7 @@ paths: issue: anyOf: - type: 'null' - - *68 + - *66 label: title: Issue Event Label description: Issue Event Label @@ -78765,7 +79432,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *161 + requested_team: *169 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78832,7 +79499,7 @@ paths: required: - from - to - author_association: *69 + author_association: *67 lock_reason: type: - string @@ -79006,7 +79673,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -79024,8 +79691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *314 - - *315 + - *309 + - *310 - name: event_id in: path required: true @@ -79036,7 +79703,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *503 examples: default: value: @@ -79229,7 +79896,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *320 + '410': *315 '403': *27 x-github: githubCloudOnly: false @@ -79263,9 +79930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *314 - - *315 - - &510 + - *309 + - *310 + - &505 name: issue_number description: The number that identifies the issue. in: path @@ -79277,12 +79944,12 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *504 + '301': *318 '404': *6 - '410': *320 + '410': *315 '304': *35 x-github: githubCloudOnly: false @@ -79307,9 +79974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -79428,15 +80095,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 '422': *15 - '503': *73 + '503': *99 '403': *27 - '301': *323 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79454,9 +80121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -79482,9 +80149,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79500,9 +80167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: content: application/json: @@ -79527,9 +80194,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79551,9 +80218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: assignee in: path required: true @@ -79593,10 +80260,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *314 - - *315 - - *510 - - *75 + - *309 + - *310 + - *505 + - *72 - *17 - *19 responses: @@ -79606,13 +80273,13 @@ paths: application/json: schema: type: array - items: *506 + items: *501 examples: - default: *511 + default: *506 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79641,9 +80308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -79665,16 +80332,16 @@ paths: description: Response content: application/json: - schema: *506 + schema: *501 examples: - default: *507 + default: *502 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *320 + '410': *315 '422': *15 '404': *6 x-github: @@ -79702,9 +80369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -79714,14 +80381,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *507 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79749,9 +80416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -79773,17 +80440,17 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *323 + '301': *318 '403': *27 - '410': *320 + '410': *315 '422': *15 '404': *6 x-github: @@ -79814,9 +80481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79828,15 +80495,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *504 + '301': *318 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *315 x-github: triggersNotification: true githubCloudOnly: false @@ -79862,9 +80529,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -79874,14 +80541,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *507 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79898,9 +80565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -79914,7 +80581,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &514 + - &509 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79963,7 +80630,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &510 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80091,7 +80758,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &511 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80137,7 +80804,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &512 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80183,7 +80850,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &513 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80232,7 +80899,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &514 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80261,7 +80928,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *169 requested_reviewer: *4 required: - review_requester @@ -80274,7 +80941,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &515 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80303,7 +80970,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *169 requested_reviewer: *4 required: - review_requester @@ -80316,7 +80983,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &516 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80372,7 +81039,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &517 title: Locked Issue Event description: Locked Issue Event type: object @@ -80417,7 +81084,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &518 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80478,7 +81145,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &519 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80539,7 +81206,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &520 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80600,7 +81267,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &521 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80692,8 +81359,8 @@ paths: name: label color: red headers: - Link: *57 - '410': *320 + Link: *52 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80710,9 +81377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -80722,9 +81389,9 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: &513 + default: &508 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80741,10 +81408,10 @@ paths: color: a2eeef default: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80761,9 +81428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -80822,12 +81489,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *508 + '301': *318 '404': *6 - '410': *320 + '410': *315 '422': *15 x-github: githubCloudOnly: false @@ -80844,9 +81511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -80906,12 +81573,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *508 + '301': *318 '404': *6 - '410': *320 + '410': *315 '422': *15 x-github: githubCloudOnly: false @@ -80928,15 +81595,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 responses: '204': description: Response - '301': *323 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80955,9 +81622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: name in: path required: true @@ -80970,7 +81637,7 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: default: value: @@ -80981,9 +81648,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *323 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81003,9 +81670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: false content: @@ -81034,7 +81701,7 @@ paths: '204': description: Response '403': *27 - '410': *320 + '410': *315 '404': *6 '422': *15 x-github: @@ -81052,9 +81719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 responses: '204': description: Response @@ -81084,20 +81751,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 responses: '200': description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *504 + '301': *318 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81114,9 +81781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -81142,13 +81809,13 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81166,9 +81833,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81200,16 +81867,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -81231,10 +81898,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *314 - - *315 - - *510 + - *309 - *310 + - *505 + - *305 responses: '204': description: Response @@ -81263,9 +81930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81287,9 +81954,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81322,9 +81989,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -81334,13 +82001,13 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *507 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81368,9 +82035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81397,16 +82064,16 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *320 + '410': *315 '422': *15 '404': *6 x-github: @@ -81426,9 +82093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 requestBody: required: true content: @@ -81459,13 +82126,13 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *504 '403': *27 '404': *6 '422': *7 - '503': *73 + '503': *99 x-github: triggersNotification: true githubCloudOnly: false @@ -81483,9 +82150,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *314 - - *315 - - *510 + - *309 + - *310 + - *505 - *17 - *19 responses: @@ -81500,6 +82167,11 @@ paths: description: Timeline Event type: object anyOf: + - *509 + - *510 + - *511 + - *512 + - *513 - *514 - *515 - *516 @@ -81508,11 +82180,6 @@ paths: - *519 - *520 - *521 - - *522 - - *523 - - *524 - - *525 - - *526 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81560,12 +82227,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - event - actor @@ -81596,7 +82263,7 @@ paths: properties: type: type: string - issue: *68 + issue: *66 required: - event - created_at @@ -81818,7 +82485,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - event - id @@ -81841,7 +82508,7 @@ paths: type: string comments: type: array - items: &545 + items: &542 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81946,7 +82613,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *67 _links: type: object properties: @@ -82041,7 +82708,7 @@ paths: enum: - line - file - reactions: *70 + reactions: *68 body_html: type: string examples: @@ -82079,7 +82746,7 @@ paths: type: string comments: type: array - items: *442 + items: *437 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82352,9 +83019,9 @@ paths: type: User site_admin: true headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82371,8 +83038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -82382,7 +83049,7 @@ paths: application/json: schema: type: array - items: &527 + items: &522 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82434,7 +83101,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82450,8 +83117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -82487,9 +83154,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: &528 + default: &523 value: id: 1 key: ssh-rsa AAA... @@ -82523,9 +83190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *314 - - *315 - - &529 + - *309 + - *310 + - &524 name: key_id description: The unique identifier of the key. in: path @@ -82537,9 +83204,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *522 examples: - default: *528 + default: *523 '404': *6 x-github: githubCloudOnly: false @@ -82557,9 +83224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *314 - - *315 - - *529 + - *309 + - *310 + - *524 responses: '204': description: Response @@ -82579,8 +83246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -82590,11 +83257,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *508 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -82613,8 +83280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -82650,9 +83317,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: &530 + default: &525 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82684,8 +83351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *314 - - *315 + - *309 + - *310 - name: name in: path required: true @@ -82696,9 +83363,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: *530 + default: *525 '404': *6 x-github: githubCloudOnly: false @@ -82715,8 +83382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *314 - - *315 + - *309 + - *310 - name: name in: path required: true @@ -82755,7 +83422,7 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: default: value: @@ -82781,8 +83448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *314 - - *315 + - *309 + - *310 - name: name in: path required: true @@ -82808,8 +83475,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -82848,9 +83515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *314 - - *315 - - *420 + - *309 + - *310 + - *415 responses: '200': description: Response @@ -82916,7 +83583,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 required: - _links - git_url @@ -82997,8 +83664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83063,8 +83730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83098,9 +83765,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *443 + schema: *438 examples: - default: *531 + default: *526 '204': description: Response when already merged '404': @@ -83125,8 +83792,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *314 - - *315 + - *309 + - *310 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83167,7 +83834,7 @@ paths: application/json: schema: type: array - items: *238 + items: *244 examples: default: value: @@ -83206,7 +83873,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -83223,8 +83890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83264,9 +83931,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *244 examples: - default: &532 + default: &527 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83325,9 +83992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *314 - - *315 - - &533 + - *309 + - *310 + - &528 name: milestone_number description: The number that identifies the milestone. in: path @@ -83339,9 +84006,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *244 examples: - default: *532 + default: *527 '404': *6 x-github: githubCloudOnly: false @@ -83358,9 +84025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *314 - - *315 - - *533 + - *309 + - *310 + - *528 requestBody: required: false content: @@ -83398,9 +84065,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *244 examples: - default: *532 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83416,9 +84083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *314 - - *315 - - *533 + - *309 + - *310 + - *528 responses: '204': description: Response @@ -83439,9 +84106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *314 - - *315 - - *533 + - *309 + - *310 + - *528 - *17 - *19 responses: @@ -83451,11 +84118,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *508 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83472,12 +84139,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *314 - - *315 - - *534 - - *535 - - *75 - - *536 + - *309 + - *310 + - *529 + - *530 + - *72 + - *531 - *17 - *19 responses: @@ -83487,11 +84154,11 @@ paths: application/json: schema: type: array - items: *95 + items: *92 examples: - default: *537 + default: *532 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83513,8 +84180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -83572,14 +84239,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: &538 + schema: &533 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83723,7 +84390,7 @@ paths: - custom_404 - public examples: - default: &539 + default: &534 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83764,8 +84431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83820,9 +84487,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *533 examples: - default: *539 + default: *534 '422': *15 '409': *45 x-github: @@ -83845,8 +84512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -83946,8 +84613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -83973,8 +84640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -83984,7 +84651,7 @@ paths: application/json: schema: type: array - items: &540 + items: &535 title: Page Build description: Page Build type: object @@ -84057,7 +84724,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84076,8 +84743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *314 - - *315 + - *309 + - *310 responses: '201': description: Response @@ -84124,16 +84791,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *540 + schema: *535 examples: - default: &541 + default: &536 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84181,8 +84848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *314 - - *315 + - *309 + - *310 - name: build_id in: path required: true @@ -84193,9 +84860,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *535 examples: - default: *541 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84215,8 +84882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -84324,9 +84991,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *314 - - *315 - - &542 + - *309 + - *310 + - &537 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84384,11 +85051,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *314 - - *315 - - *542 + - *309 + - *310 + - *537 responses: - '204': *156 + '204': *165 '404': *6 x-github: githubCloudOnly: false @@ -84413,8 +85080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -84682,7 +85349,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -84709,8 +85376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Private vulnerability reporting status @@ -84747,10 +85414,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *165 '422': *14 x-github: githubCloudOnly: false @@ -84769,10 +85436,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: - '204': *156 + '204': *165 '422': *14 x-github: githubCloudOnly: false @@ -84793,8 +85460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *314 - - *315 + - *309 + - *310 - name: state description: Indicates the state of the projects to return. in: query @@ -84815,7 +85482,7 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: default: value: @@ -84851,11 +85518,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *57 + Link: *52 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *315 '422': *7 x-github: githubCloudOnly: false @@ -84878,8 +85545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -84905,13 +85572,13 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: - default: *319 + default: *314 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *315 '422': *7 x-github: githubCloudOnly: false @@ -84934,8 +85601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -84943,16 +85610,9 @@ paths: application/json: schema: type: array - items: *249 + items: *97 examples: - default: - value: - - property_name: environment - value: production - - property_name: service - value: web - - property_name: team - value: octocat + default: *538 '403': *27 '404': *6 x-github: @@ -84974,8 +85634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -84987,19 +85647,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *249 + items: *97 required: - properties examples: - default: - value: - properties: - - property_name: environment - value: production - - property_name: service - value: web - - property_name: team - value: octocat + default: *539 responses: '204': description: No Content when custom property values are successfully created @@ -85037,8 +85689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *314 - - *315 + - *309 + - *310 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85098,11 +85750,11 @@ paths: application/json: schema: type: array - items: *447 + items: *442 examples: - default: *543 + default: *540 headers: - Link: *57 + Link: *52 '304': *35 '422': *15 x-github: @@ -85132,8 +85784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -85200,7 +85852,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &544 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85329,7 +85981,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *244 active_lock_reason: type: - string @@ -85384,7 +86036,7 @@ paths: type: - array - 'null' - items: *214 + items: *220 head: type: object properties: @@ -85392,7 +86044,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85409,7 +86061,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85422,14 +86074,14 @@ paths: _links: type: object properties: - comments: *239 - commits: *239 - statuses: *239 - html: *239 - issue: *239 - review_comments: *239 - review_comment: *239 - self: *239 + comments: *245 + commits: *245 + statuses: *245 + html: *245 + issue: *245 + review_comments: *245 + review_comment: *245 + self: *245 required: - comments - commits @@ -85439,8 +86091,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: *544 + author_association: *67 + auto_merge: *541 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85542,7 +86194,7 @@ paths: - merged_by - review_comments examples: - default: &548 + default: &545 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86069,8 +86721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: sort in: query required: false @@ -86089,7 +86741,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86099,9 +86751,9 @@ paths: application/json: schema: type: array - items: *545 + items: *542 examples: - default: &550 + default: &547 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86153,7 +86805,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86178,17 +86830,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '200': description: Response content: application/json: - schema: *545 + schema: *542 examples: - default: &546 + default: &543 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86263,9 +86915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -86287,9 +86939,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: - default: *546 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86305,9 +86957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 responses: '204': description: Response @@ -86328,9 +86980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -86356,11 +87008,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -86379,9 +87031,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *314 - - *315 - - *84 + - *309 + - *310 + - *81 requestBody: required: true content: @@ -86413,16 +87065,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -86444,10 +87096,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *314 - - *315 - - *84 + - *309 - *310 + - *81 + - *305 responses: '204': description: Response @@ -86490,9 +87142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *314 - - *315 - - &549 + - *309 + - *310 + - &546 name: pull_number description: The number that identifies the pull request. in: path @@ -86505,9 +87157,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *547 + schema: *544 examples: - default: *548 + default: *545 '304': *35 '404': *6 '406': @@ -86515,8 +87167,8 @@ paths: content: application/json: schema: *3 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86542,9 +87194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: false content: @@ -86586,9 +87238,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *544 examples: - default: *548 + default: *545 '422': *15 '403': *27 x-github: @@ -86610,9 +87262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: true content: @@ -86673,21 +87325,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86713,10 +87365,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *314 - - *315 - - *549 - - *92 + - *309 + - *310 + - *546 + - *89 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86726,7 +87378,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86736,11 +87388,11 @@ paths: application/json: schema: type: array - items: *545 + items: *542 examples: - default: *550 + default: *547 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86771,9 +87423,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: true content: @@ -86879,7 +87531,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: example-for-a-multi-line-comment: value: @@ -86967,10 +87619,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *314 - - *315 - - *549 - - *84 + - *309 + - *310 + - *546 + - *81 requestBody: required: true content: @@ -86992,7 +87644,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *542 examples: default: value: @@ -87078,9 +87730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 - *17 - *19 responses: @@ -87090,11 +87742,11 @@ paths: application/json: schema: type: array - items: *443 + items: *438 examples: - default: *551 + default: *548 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87122,9 +87774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 - *17 - *19 responses: @@ -87134,7 +87786,7 @@ paths: application/json: schema: type: array - items: *454 + items: *449 examples: default: value: @@ -87150,10 +87802,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *57 + Link: *52 '422': *15 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87172,9 +87824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 responses: '204': description: Response if pull request has been merged @@ -87197,9 +87849,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: false content: @@ -87311,9 +87963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 responses: '200': description: Response @@ -87329,7 +87981,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *169 required: - users - teams @@ -87370,7 +88022,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87388,9 +88040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: false content: @@ -87427,7 +88079,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *442 examples: default: value: @@ -87963,9 +88615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: true content: @@ -87999,7 +88651,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *442 examples: default: value: @@ -88504,9 +89156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 - *17 - *19 responses: @@ -88516,7 +89168,7 @@ paths: application/json: schema: type: array - items: &552 + items: &549 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88590,7 +89242,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - id - node_id @@ -88639,7 +89291,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88672,9 +89324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: false content: @@ -88764,9 +89416,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *549 examples: - default: &554 + default: &551 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88829,10 +89481,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - &553 + - *309 + - *310 + - *546 + - &550 name: review_id description: The unique identifier of the review. in: path @@ -88844,9 +89496,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *549 examples: - default: &555 + default: &552 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88905,10 +89557,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *546 + - *550 requestBody: required: true content: @@ -88931,7 +89583,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *549 examples: default: value: @@ -88993,18 +89645,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *546 + - *550 responses: '200': description: Response content: application/json: - schema: *552 + schema: *549 examples: - default: *554 + default: *551 '422': *7 '404': *6 x-github: @@ -89031,10 +89683,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *546 + - *550 - *17 - *19 responses: @@ -89128,13 +89780,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *67 _links: type: object properties: - self: *239 - html: *239 - pull_request: *239 + self: *245 + html: *245 + pull_request: *245 required: - self - html @@ -89143,7 +89795,7 @@ paths: type: string body_html: type: string - reactions: *70 + reactions: *68 side: description: The side of the first line of the range for a multi-line comment. @@ -89263,7 +89915,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89292,10 +89944,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *546 + - *550 requestBody: required: true content: @@ -89324,7 +89976,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *549 examples: default: value: @@ -89387,10 +90039,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *309 + - *310 + - *546 + - *550 requestBody: required: true content: @@ -89425,9 +90077,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *549 examples: - default: *555 + default: *552 '404': *6 '422': *7 '403': *27 @@ -89449,9 +90101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *314 - - *315 - - *549 + - *309 + - *310 + - *546 requestBody: required: false content: @@ -89515,8 +90167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *314 - - *315 + - *309 + - *310 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89529,9 +90181,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: - default: &557 + default: &554 value: type: file encoding: base64 @@ -89573,8 +90225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *314 - - *315 + - *309 + - *310 - name: dir description: The alternate path to look for a README file in: path @@ -89594,9 +90246,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *553 examples: - default: *557 + default: *554 '404': *6 '422': *15 x-github: @@ -89618,8 +90270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -89629,7 +90281,7 @@ paths: application/json: schema: type: array - items: *558 + items: *555 examples: default: value: @@ -89703,7 +90355,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89723,8 +90375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -89800,9 +90452,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *555 examples: - default: &562 + default: &559 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89907,9 +90559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *314 - - *315 - - &560 + - *309 + - *310 + - &557 name: asset_id description: The unique identifier of the asset. in: path @@ -89921,9 +90573,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *556 examples: - default: &561 + default: &558 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -89958,7 +90610,7 @@ paths: type: User site_admin: false '404': *6 - '302': *456 + '302': *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89974,9 +90626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *314 - - *315 - - *560 + - *309 + - *310 + - *557 requestBody: required: false content: @@ -90005,9 +90657,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *556 examples: - default: *561 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90023,9 +90675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *314 - - *315 - - *560 + - *309 + - *310 + - *557 responses: '204': description: Response @@ -90049,8 +90701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -90136,16 +90788,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response content: application/json: - schema: *558 + schema: *555 examples: - default: *562 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90162,8 +90814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *314 - - *315 + - *309 + - *310 - name: tag description: tag parameter in: path @@ -90176,9 +90828,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *555 examples: - default: *562 + default: *559 '404': *6 x-github: githubCloudOnly: false @@ -90200,9 +90852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *314 - - *315 - - &563 + - *309 + - *310 + - &560 name: release_id description: The unique identifier of the release. in: path @@ -90216,9 +90868,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *558 + schema: *555 examples: - default: *562 + default: *559 '401': description: Unauthorized x-github: @@ -90236,9 +90888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *560 requestBody: required: false content: @@ -90302,9 +90954,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *555 examples: - default: *562 + default: *559 '404': description: Not Found if the discussion category name is invalid content: @@ -90325,9 +90977,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *560 responses: '204': description: Response @@ -90347,9 +90999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *560 - *17 - *19 responses: @@ -90359,7 +91011,7 @@ paths: application/json: schema: type: array - items: *559 + items: *556 examples: default: value: @@ -90396,7 +91048,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90440,9 +91092,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *560 - name: name in: query required: true @@ -90468,7 +91120,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *556 examples: response-for-successful-upload: value: @@ -90523,9 +91175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *560 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -90549,11 +91201,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -90572,9 +91224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *314 - - *315 - - *563 + - *309 + - *310 + - *560 requestBody: required: true content: @@ -90604,16 +91256,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '201': description: Reaction created content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 '422': *15 x-github: githubCloudOnly: false @@ -90635,10 +91287,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *314 - - *315 - - *563 + - *309 - *310 + - *560 + - *305 responses: '204': description: Response @@ -90662,9 +91314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *314 - - *315 - - *384 + - *309 + - *310 + - *379 - *17 - *19 responses: @@ -90680,8 +91332,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *256 - - &564 + - *261 + - &561 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90700,69 +91352,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *257 - - *564 - - allOf: - - *258 - - *564 - - allOf: - - *259 - - *564 - - allOf: - - *565 - - *564 - - allOf: - - *260 - - *564 - - allOf: - - *261 - - *564 - allOf: - *262 - - *564 + - *561 - allOf: - *263 - - *564 + - *561 - allOf: - *264 - - *564 + - *561 + - allOf: + - *562 + - *561 - allOf: - *265 - - *564 + - *561 - allOf: - *266 - - *564 + - *561 - allOf: - *267 - - *564 + - *561 - allOf: - *268 - - *564 + - *561 - allOf: - *269 - - *564 + - *561 - allOf: - *270 - - *564 + - *561 - allOf: - *271 - - *564 + - *561 - allOf: - *272 - - *564 + - *561 - allOf: - *273 - - *564 + - *561 - allOf: - *274 - - *564 + - *561 - allOf: - *275 - - *564 + - *561 + - allOf: + - *276 + - *561 + - allOf: + - *277 + - *561 - allOf: - - *566 - - *564 + - *278 + - *561 + - allOf: + - *279 + - *561 + - allOf: + - *280 + - *561 + - allOf: + - *563 + - *561 examples: default: value: @@ -90801,8 +91453,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - name: includes_parents @@ -90813,7 +91465,7 @@ paths: schema: type: boolean default: true - - *567 + - *564 responses: '200': description: Response @@ -90821,7 +91473,7 @@ paths: application/json: schema: type: array - items: *276 + items: *281 examples: default: value: @@ -90852,7 +91504,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *98 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -90868,8 +91520,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 requestBody: description: Request body required: true @@ -90889,16 +91541,16 @@ paths: - tag - push default: branch - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *251 + items: *259 + conditions: *256 rules: type: array description: An array of rules within the ruleset. - items: *568 + items: *565 required: - name - enforcement @@ -90929,9 +91581,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: &578 + default: &575 value: id: 42 name: super cool ruleset @@ -90964,7 +91616,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *98 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -90978,12 +91630,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *314 - - *315 + - *309 + - *310 + - *566 + - *567 + - *568 - *569 - - *570 - - *571 - - *572 - *17 - *19 responses: @@ -90991,11 +91643,11 @@ paths: description: Response content: application/json: - schema: *573 + schema: *570 examples: - default: *574 + default: *571 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91014,19 +91666,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *314 - - *315 - - *575 + - *309 + - *310 + - *572 responses: '200': description: Response content: application/json: - schema: *576 + schema: *573 examples: - default: *577 + default: *574 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,8 +91704,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91073,11 +91725,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *578 + default: *575 '404': *6 - '500': *100 + '500': *98 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91093,8 +91745,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91119,16 +91771,16 @@ paths: - branch - tag - push - enforcement: *253 + enforcement: *258 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *254 - conditions: *251 + items: *259 + conditions: *256 rules: description: An array of rules within the ruleset. type: array - items: *568 + items: *565 examples: default: value: @@ -91156,11 +91808,11 @@ paths: description: Response content: application/json: - schema: *276 + schema: *281 examples: - default: *578 + default: *575 '404': *6 - '500': *100 + '500': *98 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91176,8 +91828,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91188,7 +91840,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *98 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -91200,8 +91852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 - name: ruleset_id @@ -91217,11 +91869,11 @@ paths: application/json: schema: type: array - items: *279 + items: *284 examples: - default: *579 + default: *576 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91238,8 +91890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *314 - - *315 + - *309 + - *310 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91257,7 +91909,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *577 examples: default: value: @@ -91290,7 +91942,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91312,21 +91964,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *314 - - *315 - - *280 - - *281 - - *282 - - *283 + - *309 + - *310 + - *578 + - *579 + - *580 + - *581 - *46 - *19 - *17 - - *581 - *582 - - *284 - - *285 - - *286 - - *287 + - *583 + - *584 + - *585 + - *586 + - *587 responses: '200': description: Response @@ -91334,24 +91986,24 @@ paths: application/json: schema: type: array - items: &586 + items: &591 type: object properties: - number: *52 - created_at: *53 + number: *151 + created_at: *152 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *153 + url: *154 + html_url: *155 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *583 - resolution: *584 + state: *588 + resolution: *589 resolved_at: type: - string @@ -91445,7 +92097,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *585 + - *590 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91568,7 +92220,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91590,16 +92242,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 - - *287 + - *309 + - *310 + - *409 + - *587 responses: '200': description: Response content: application/json: - schema: *586 + schema: *591 examples: default: value: @@ -91630,7 +92282,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91651,9 +92303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 requestBody: required: true content: @@ -91661,8 +92313,8 @@ paths: schema: type: object properties: - state: *583 - resolution: *584 + state: *588 + resolution: *589 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91681,7 +92333,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *591 examples: default: value: @@ -91734,7 +92386,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91756,9 +92408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 + - *309 + - *310 + - *409 - *19 - *17 responses: @@ -91769,7 +92421,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &739 + items: &743 type: object properties: type: @@ -91796,11 +92448,6 @@ paths: - commit details: oneOf: - - *587 - - *588 - - *589 - - *590 - - *591 - *592 - *593 - *594 @@ -91809,6 +92456,11 @@ paths: - *597 - *598 - *599 + - *600 + - *601 + - *602 + - *603 + - *604 examples: default: value: @@ -91868,11 +92520,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *57 + Link: *52 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91894,8 +92546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -91903,14 +92555,14 @@ paths: schema: type: object properties: - reason: &601 + reason: &606 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *600 + placeholder_id: *605 required: - reason - placeholder_id @@ -91927,7 +92579,7 @@ paths: schema: type: object properties: - reason: *601 + reason: *606 expire_at: type: - string @@ -91951,7 +92603,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *73 + '503': *99 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91963,6 +92615,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -91971,13 +92626,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *73 + '503': *99 '200': description: Response content: @@ -91987,7 +92642,7 @@ paths: properties: incremental_scans: type: array - items: &602 + items: &607 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92015,15 +92670,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *602 + items: *607 backfill_scans: type: array - items: *602 + items: *607 custom_pattern_backfill_scans: type: array items: allOf: - - *602 + - *607 - type: object properties: pattern_name: @@ -92093,8 +92748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *314 - - *315 + - *309 + - *310 - *46 - name: sort description: The property to sort the results by. @@ -92138,9 +92793,9 @@ paths: application/json: schema: type: array - items: *603 + items: *608 examples: - default: *604 + default: *609 '400': *14 '404': *6 x-github: @@ -92163,8 +92818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -92244,7 +92899,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *287 required: - login - type @@ -92334,9 +92989,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *608 examples: - default: &606 + default: &611 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92569,8 +93224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -92683,7 +93338,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *608 examples: default: value: @@ -92830,17 +93485,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *610 responses: '200': description: Response content: application/json: - schema: *603 + schema: *608 examples: - default: *606 + default: *611 '403': *27 '404': *6 x-github: @@ -92864,9 +93519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *610 requestBody: required: true content: @@ -92946,7 +93601,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *287 required: - login - type @@ -93037,17 +93692,17 @@ paths: description: Response content: application/json: - schema: *603 + schema: *608 examples: - default: *606 - add_credit: *606 + default: *611 + add_credit: *611 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *105 + schema: *104 examples: invalid_state_transition: value: @@ -93078,9 +93733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *610 responses: '202': *37 '400': *14 @@ -93107,17 +93762,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *314 - - *315 - - *605 + - *309 + - *310 + - *610 responses: '202': description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 '400': *14 '422': *15 '403': *27 @@ -93143,8 +93798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -93218,7 +93873,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -93240,8 +93895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93250,7 +93905,7 @@ paths: application/json: schema: type: array - items: &607 + items: &612 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93263,7 +93918,7 @@ paths: - 1124 - -435 '202': *37 - '204': *156 + '204': *165 '422': description: Repository contains more than 10,000 commits x-github: @@ -93283,8 +93938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -93335,7 +93990,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *156 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93362,8 +94017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -93435,7 +94090,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *156 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93457,8 +94112,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93612,8 +94267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93623,7 +94278,7 @@ paths: application/json: schema: type: array - items: *607 + items: *612 examples: default: value: @@ -93636,7 +94291,7 @@ paths: - - 0 - 2 - 21 - '204': *156 + '204': *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93656,8 +94311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *314 - - *315 + - *309 + - *310 - name: sha in: path required: true @@ -93713,7 +94368,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *613 examples: default: value: @@ -93767,8 +94422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -93780,9 +94435,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93800,14 +94455,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &609 + schema: &614 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93880,8 +94535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: false content: @@ -93907,7 +94562,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *614 examples: default: value: @@ -93934,8 +94589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -93955,8 +94610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -94015,7 +94670,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94038,8 +94693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -94047,7 +94702,7 @@ paths: application/json: schema: type: array - items: &610 + items: &615 title: Tag protection description: Tag protection type: object @@ -94104,8 +94759,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -94128,7 +94783,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *615 examples: default: value: @@ -94159,8 +94814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94197,8 +94852,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *314 - - *315 + - *309 + - *310 - name: ref in: path required: true @@ -94234,8 +94889,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *314 - - *315 + - *309 + - *310 - *17 - *19 responses: @@ -94245,11 +94900,11 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - default: *215 + default: *221 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -94267,8 +94922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *314 - - *315 + - *309 + - *310 - *19 - *17 responses: @@ -94276,7 +94931,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &616 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94288,7 +94943,7 @@ paths: required: - names examples: - default: &612 + default: &617 value: names: - octocat @@ -94311,8 +94966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -94343,9 +94998,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *616 examples: - default: *612 + default: *617 '404': *6 '422': *7 x-github: @@ -94366,9 +95021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *314 - - *315 - - &613 + - *309 + - *310 + - &618 name: per description: The time frame to display results for. in: query @@ -94399,7 +95054,7 @@ paths: - 128 clones: type: array - items: &614 + items: &619 title: Traffic type: object properties: @@ -94486,8 +95141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -94581,8 +95236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *314 - - *315 + - *309 + - *310 responses: '200': description: Response @@ -94645,9 +95300,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *314 - - *315 - - *613 + - *309 + - *310 + - *618 responses: '200': description: Response @@ -94668,7 +95323,7 @@ paths: - 3782 views: type: array - items: *614 + items: *619 required: - uniques - count @@ -94745,8 +95400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *314 - - *315 + - *309 + - *310 requestBody: required: true content: @@ -94782,7 +95437,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *135 examples: default: value: @@ -95020,8 +95675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95044,8 +95699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -95067,8 +95722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -95094,8 +95749,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *314 - - *315 + - *309 + - *310 - name: ref in: path required: true @@ -95187,9 +95842,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95230,7 +95885,7 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: default: value: @@ -95419,7 +96074,7 @@ paths: html_url: type: string format: uri - repository: *131 + repository: *135 score: type: number file_size: @@ -95438,7 +96093,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &615 + text_matches: &620 title: Search Result Text Matches type: array items: @@ -95553,7 +96208,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *73 + '503': *99 '422': *15 '403': *27 x-github: @@ -95601,7 +96256,7 @@ paths: enum: - author-date - committer-date - - &616 + - &621 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -95670,7 +96325,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *377 comment_count: type: integer message: @@ -95689,7 +96344,7 @@ paths: url: type: string format: uri - verification: *492 + verification: *487 required: - author - committer @@ -95704,7 +96359,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *377 parents: type: array items: @@ -95716,12 +96371,12 @@ paths: type: string sha: type: string - repository: *131 + repository: *135 score: type: number node_id: type: string - text_matches: *615 + text_matches: *620 required: - sha - node_id @@ -95913,7 +96568,7 @@ paths: - interactions - created - updated - - *616 + - *621 - *17 - *19 - name: advanced_search @@ -96010,11 +96665,11 @@ paths: type: - string - 'null' - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: type: string state_reason: @@ -96028,7 +96683,7 @@ paths: milestone: anyOf: - type: 'null' - - *238 + - *244 comments: type: integer created_at: @@ -96042,7 +96697,7 @@ paths: - string - 'null' format: date-time - text_matches: *615 + text_matches: *620 pull_request: type: object properties: @@ -96080,10 +96735,10 @@ paths: type: string score: type: number - author_association: *69 + author_association: *67 draft: type: boolean - repository: *66 + repository: *64 body_html: type: string body_text: @@ -96091,12 +96746,12 @@ paths: timeline_url: type: string format: uri - type: *199 + type: *205 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - assignee - closed_at @@ -96212,7 +96867,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *73 + '503': *99 '422': *15 '304': *35 '403': *27 @@ -96265,7 +96920,7 @@ paths: enum: - created - updated - - *616 + - *621 - *17 - *19 responses: @@ -96310,7 +96965,7 @@ paths: - 'null' score: type: number - text_matches: *615 + text_matches: *620 required: - id - node_id @@ -96395,7 +97050,7 @@ paths: - forks - help-wanted-issues - updated - - *616 + - *621 - *17 - *19 responses: @@ -96614,7 +97269,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 permissions: type: object properties: @@ -96632,7 +97287,7 @@ paths: - admin - pull - push - text_matches: *615 + text_matches: *620 temp_clone_token: type: string allow_merge_commit: @@ -96835,7 +97490,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *73 + '503': *99 '422': *15 '304': *35 x-github: @@ -96940,7 +97595,7 @@ paths: - string - 'null' format: uri - text_matches: *615 + text_matches: *620 related: type: - array @@ -97133,7 +97788,7 @@ paths: - followers - repositories - joined - - *616 + - *621 - *17 - *19 responses: @@ -97243,7 +97898,7 @@ paths: type: - boolean - 'null' - text_matches: *615 + text_matches: *620 blog: type: - string @@ -97305,7 +97960,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *73 + '503': *99 '422': *15 x-github: githubCloudOnly: false @@ -97325,7 +97980,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &620 + - &625 name: team_id description: The unique identifier of the team. in: path @@ -97337,9 +97992,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -97366,7 +98021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *620 + - *625 requestBody: required: true content: @@ -97430,16 +98085,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '201': description: Response content: application/json: - schema: *299 + schema: *294 examples: - default: *300 + default: *295 '404': *6 '422': *15 '403': *27 @@ -97467,7 +98122,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *620 + - *625 responses: '204': description: Response @@ -97498,7 +98153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *620 + - *625 - *46 - *17 - *19 @@ -97509,11 +98164,11 @@ paths: application/json: schema: type: array - items: *301 + items: *296 examples: - default: *621 + default: *626 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97540,7 +98195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *620 + - *625 requestBody: required: true content: @@ -97574,9 +98229,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *302 + default: *297 x-github: triggersNotification: true githubCloudOnly: false @@ -97603,16 +98258,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *620 - - *303 + - *625 + - *298 responses: '200': description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *302 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97637,8 +98292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *620 - - *303 + - *625 + - *298 requestBody: required: false content: @@ -97661,9 +98316,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *296 examples: - default: *622 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97688,8 +98343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *620 - - *303 + - *625 + - *298 responses: '204': description: Response @@ -97718,8 +98373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *620 - - *303 + - *625 + - *298 - *46 - *17 - *19 @@ -97730,11 +98385,11 @@ paths: application/json: schema: type: array - items: *304 + items: *299 examples: - default: *623 + default: *628 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97761,8 +98416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *620 - - *303 + - *625 + - *298 requestBody: required: true content: @@ -97784,9 +98439,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *305 + default: *300 x-github: triggersNotification: true githubCloudOnly: false @@ -97813,17 +98468,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *625 + - *298 + - *301 responses: '200': description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *305 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97848,9 +98503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *625 + - *298 + - *301 requestBody: required: true content: @@ -97872,9 +98527,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *299 examples: - default: *624 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97899,9 +98554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *625 + - *298 + - *301 responses: '204': description: Response @@ -97930,9 +98585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *625 + - *298 + - *301 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -97958,11 +98613,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97989,9 +98644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *625 + - *298 + - *301 requestBody: required: true content: @@ -98023,9 +98678,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98051,8 +98706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *625 + - *298 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -98078,11 +98733,11 @@ paths: application/json: schema: type: array - items: *307 + items: *302 examples: - default: *309 + default: *304 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98109,8 +98764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *625 + - *298 requestBody: required: true content: @@ -98142,9 +98797,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *302 examples: - default: *308 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98168,7 +98823,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *620 + - *625 - *17 - *19 responses: @@ -98178,11 +98833,11 @@ paths: application/json: schema: type: array - items: *196 + items: *202 examples: - default: *197 + default: *203 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98206,7 +98861,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *620 + - *625 - name: role description: Filters members returned by their role in the team. in: query @@ -98229,9 +98884,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98257,8 +98912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *620 - - *62 + - *625 + - *57 responses: '204': description: if user is a member @@ -98294,8 +98949,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *620 - - *62 + - *625 + - *57 responses: '204': description: Response @@ -98334,8 +98989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *620 - - *62 + - *625 + - *57 responses: '204': description: Response @@ -98371,16 +99026,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *625 + - *57 responses: '200': description: Response content: application/json: - schema: *311 + schema: *306 examples: - response-if-user-is-a-team-maintainer: *625 + response-if-user-is-a-team-maintainer: *630 '404': *6 x-github: githubCloudOnly: false @@ -98413,8 +99068,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *625 + - *57 requestBody: required: false content: @@ -98439,9 +99094,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *306 examples: - response-if-users-membership-with-team-is-now-pending: *626 + response-if-users-membership-with-team-is-now-pending: *631 '403': description: Forbidden if team synchronization is set up '422': @@ -98475,8 +99130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *625 + - *57 responses: '204': description: Response @@ -98504,7 +99159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *620 + - *625 - *17 - *19 responses: @@ -98514,11 +99169,11 @@ paths: application/json: schema: type: array - items: *312 + items: *307 examples: - default: *627 + default: *632 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98542,16 +99197,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *620 - - *313 + - *625 + - *308 responses: '200': description: Response content: application/json: - schema: *312 + schema: *307 examples: - default: *628 + default: *633 '404': description: Not Found if project is not managed by this team x-github: @@ -98575,8 +99230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *620 - - *313 + - *625 + - *308 requestBody: required: false content: @@ -98643,8 +99298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *620 - - *313 + - *625 + - *308 responses: '204': description: Response @@ -98671,7 +99326,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *620 + - *625 - *17 - *19 responses: @@ -98681,11 +99336,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98713,15 +99368,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *620 - - *314 - - *315 + - *625 + - *309 + - *310 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *629 + schema: *634 examples: alternative-response-with-extra-repository-information: value: @@ -98872,9 +99527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *620 - - *314 - - *315 + - *625 + - *309 + - *310 requestBody: required: false content: @@ -98924,9 +99579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *620 - - *314 - - *315 + - *625 + - *309 + - *310 responses: '204': description: Response @@ -98951,7 +99606,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *620 + - *625 - *17 - *19 responses: @@ -98961,11 +99616,11 @@ paths: application/json: schema: type: array - items: *161 + items: *169 examples: - response-if-child-teams-exist: *630 + response-if-child-teams-exist: *635 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '422': *15 @@ -98996,7 +99651,7 @@ paths: application/json: schema: oneOf: - - &632 + - &637 title: Private User description: Private User type: object @@ -99246,7 +99901,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *631 + - *636 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99406,7 +100061,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *637 examples: default: value: @@ -99485,7 +100140,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '304': *35 '404': *6 '403': *27 @@ -99508,7 +100163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *62 + - *57 responses: '204': description: If the user is blocked @@ -99536,7 +100191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99560,7 +100215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99609,11 +100264,11 @@ paths: type: integer codespaces: type: array - items: *204 + items: *210 examples: - default: *205 + default: *211 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -99750,21 +100405,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99804,7 +100459,7 @@ paths: type: integer secrets: type: array - items: &633 + items: &638 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99846,9 +100501,9 @@ paths: - visibility - selected_repositories_url examples: - default: *436 + default: *431 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99918,13 +100573,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *139 + - *143 responses: '200': description: Response content: application/json: - schema: *633 + schema: *638 examples: default: value: @@ -99954,7 +100609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *139 + - *143 requestBody: required: true content: @@ -99999,7 +100654,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -100027,7 +100682,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *139 + - *143 responses: '204': description: Response @@ -100052,7 +100707,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *139 + - *143 responses: '200': description: Response @@ -100068,13 +100723,13 @@ paths: type: integer repositories: type: array - items: *131 + items: *135 examples: - default: *634 + default: *639 '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100095,7 +100750,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *139 + - *143 requestBody: required: true content: @@ -100127,7 +100782,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100149,7 +100804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *139 + - *143 - name: repository_id in: path required: true @@ -100161,7 +100816,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100182,7 +100837,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *139 + - *143 - name: repository_id in: path required: true @@ -100194,7 +100849,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100214,17 +100869,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *206 + - *212 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -100248,7 +100903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *206 + - *212 requestBody: required: false content: @@ -100278,9 +100933,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '401': *23 '403': *27 '404': *6 @@ -100302,11 +100957,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *206 + - *212 responses: '202': *37 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -100331,13 +100986,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *206 + - *212 responses: '202': description: Response content: application/json: - schema: &635 + schema: &640 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100390,7 +101045,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &636 + default: &641 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100398,7 +101053,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -100422,7 +101077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *206 + - *212 - name: export_id in: path required: true @@ -100435,9 +101090,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *640 examples: - default: *636 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -100458,7 +101113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *206 + - *212 responses: '200': description: Response @@ -100474,11 +101129,11 @@ paths: type: integer machines: type: array - items: *435 + items: *430 examples: - default: *637 + default: *642 '304': *35 - '500': *100 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -100505,7 +101160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *206 + - *212 requestBody: required: true content: @@ -100561,11 +101216,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *322 + repository: *317 machine: anyOf: - type: 'null' - - *435 + - *430 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101362,17 +102017,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *206 + - *212 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *434 + default: *429 '304': *35 - '500': *100 + '500': *98 '400': *14 '401': *23 '402': @@ -101402,16 +102057,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *206 + - *212 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *434 - '500': *100 + default: *429 + '500': *98 '401': *23 '403': *27 '404': *6 @@ -101440,9 +102095,9 @@ paths: application/json: schema: type: array - items: *216 + items: *222 examples: - default: &649 + default: &653 value: - id: 197 name: hello_docker @@ -101543,7 +102198,7 @@ paths: application/json: schema: type: array - items: &638 + items: &643 title: Email description: Email type: object @@ -101613,16 +102268,16 @@ paths: application/json: schema: type: array - items: *638 + items: *643 examples: - default: &651 + default: &655 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -101692,7 +102347,7 @@ paths: application/json: schema: type: array - items: *638 + items: *643 examples: default: value: @@ -101804,9 +102459,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101837,9 +102492,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101859,7 +102514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *62 + - *57 responses: '204': description: if the person is followed by the authenticated user @@ -101889,7 +102544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -101914,7 +102569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -101950,7 +102605,7 @@ paths: application/json: schema: type: array - items: &639 + items: &644 title: GPG Key description: A unique encryption key type: object @@ -102095,7 +102750,7 @@ paths: - subkeys - revoked examples: - default: &665 + default: &669 value: - id: 3 name: Octocat's GPG Key @@ -102127,7 +102782,7 @@ paths: revoked: false raw_key: string headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102180,9 +102835,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *644 examples: - default: &640 + default: &645 value: id: 3 name: Octocat's GPG Key @@ -102239,7 +102894,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &641 + - &646 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102251,9 +102906,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *644 examples: - default: *640 + default: *645 '404': *6 '304': *35 '403': *27 @@ -102276,7 +102931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *641 + - *646 responses: '204': description: Response @@ -102419,7 +103074,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -102465,11 +103120,11 @@ paths: type: string repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *127 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '304': *35 @@ -102492,7 +103147,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *120 + - *124 responses: '204': description: Response @@ -102518,7 +103173,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *120 + - *124 responses: '204': description: Response @@ -102552,12 +103207,12 @@ paths: application/json: schema: anyOf: - - *194 + - *200 - type: object properties: {} additionalProperties: false examples: - default: *195 + default: *201 '204': description: Response when there are no restrictions x-github: @@ -102581,7 +103236,7 @@ paths: required: true content: application/json: - schema: *503 + schema: *498 examples: default: value: @@ -102592,7 +103247,7 @@ paths: description: Response content: application/json: - schema: *194 + schema: *200 examples: default: value: @@ -102673,7 +103328,7 @@ paths: - closed - all default: open - - *202 + - *208 - name: sort description: What to sort results by. in: query @@ -102686,7 +103341,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -102696,11 +103351,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *203 + default: *209 headers: - Link: *57 + Link: *52 '404': *6 '304': *35 x-github: @@ -102731,7 +103386,7 @@ paths: application/json: schema: type: array - items: &642 + items: &647 title: Key description: Key type: object @@ -102783,7 +103438,7 @@ paths: verified: false read_only: false headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102834,9 +103489,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *647 examples: - default: &643 + default: &648 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102869,15 +103524,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *524 responses: '200': description: Response content: application/json: - schema: *642 + schema: *647 examples: - default: *643 + default: *648 '404': *6 '304': *35 '403': *27 @@ -102900,7 +103555,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *524 responses: '204': description: Response @@ -102933,7 +103588,7 @@ paths: application/json: schema: type: array - items: &644 + items: &649 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103001,7 +103656,7 @@ paths: - id - type - login - plan: *86 + plan: *83 required: - billing_cycle - next_billing_date @@ -103012,7 +103667,7 @@ paths: - account - plan examples: - default: &645 + default: &650 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103045,7 +103700,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '304': *35 '401': *23 '404': *6 @@ -103074,11 +103729,11 @@ paths: application/json: schema: type: array - items: *644 + items: *649 examples: - default: *645 + default: *650 headers: - Link: *57 + Link: *52 '304': *35 '401': *23 x-github: @@ -103116,7 +103771,7 @@ paths: application/json: schema: type: array - items: *208 + items: *214 examples: default: value: @@ -103193,7 +103848,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103218,13 +103873,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *208 + schema: *214 examples: default: value: @@ -103282,7 +103937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *61 requestBody: required: true content: @@ -103307,7 +103962,7 @@ paths: description: Response content: application/json: - schema: *208 + schema: *214 examples: default: value: @@ -103375,7 +104030,7 @@ paths: application/json: schema: type: array - items: *210 + items: *216 examples: default: value: @@ -103528,7 +104183,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103637,7 +104292,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *216 examples: default: value: @@ -103817,7 +104472,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *211 + - *217 - name: exclude in: query required: false @@ -103830,7 +104485,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *216 examples: default: value: @@ -104024,7 +104679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *211 + - *217 responses: '302': description: Response @@ -104050,7 +104705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *211 + - *217 responses: '204': description: Response @@ -104079,8 +104734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *211 - - *646 + - *217 + - *651 responses: '204': description: Response @@ -104104,7 +104759,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *211 + - *217 - *17 - *19 responses: @@ -104114,11 +104769,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -104151,11 +104806,11 @@ paths: application/json: schema: type: array - items: *160 + items: *59 examples: - default: *647 + default: *96 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -104195,7 +104850,7 @@ paths: - docker - nuget - container - - *648 + - *652 - *19 - *17 responses: @@ -104205,10 +104860,10 @@ paths: application/json: schema: type: array - items: *216 + items: *222 examples: - default: *649 - '400': *650 + default: *653 + '400': *654 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104228,16 +104883,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *224 + - *225 responses: '200': description: Response content: application/json: - schema: *216 + schema: *222 examples: - default: &666 + default: &670 value: id: 40201 name: octo-name @@ -104350,8 +105005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *224 + - *225 responses: '204': description: Response @@ -104381,8 +105036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *218 - - *219 + - *224 + - *225 - name: token description: package token schema: @@ -104414,8 +105069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *218 - - *219 + - *224 + - *225 - *19 - *17 - name: state @@ -104435,7 +105090,7 @@ paths: application/json: schema: type: array - items: *220 + items: *226 examples: default: value: @@ -104484,15 +105139,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *218 - - *219 - - *221 + - *224 + - *225 + - *227 responses: '200': description: Response content: application/json: - schema: *220 + schema: *226 examples: default: value: @@ -104528,9 +105183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *218 - - *219 - - *221 + - *224 + - *225 + - *227 responses: '204': description: Response @@ -104560,9 +105215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *218 - - *219 - - *221 + - *224 + - *225 + - *227 responses: '204': description: Response @@ -104620,7 +105275,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: default: value: @@ -104692,11 +105347,11 @@ paths: application/json: schema: type: array - items: *638 + items: *643 examples: - default: *651 + default: *655 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -104805,9 +105460,9 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default: &658 + default: &662 summary: Default response value: - id: 1296269 @@ -104928,7 +105583,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -105125,9 +105780,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *317 examples: - default: *324 + default: *319 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105165,11 +105820,11 @@ paths: application/json: schema: type: array - items: *505 + items: *500 examples: - default: *652 + default: *656 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105190,7 +105845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *198 + - *204 responses: '204': description: Response @@ -105213,7 +105868,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *198 + - *204 responses: '204': description: Response @@ -105246,7 +105901,7 @@ paths: application/json: schema: type: array - items: &653 + items: &657 title: Social account description: Social media account type: object @@ -105263,12 +105918,12 @@ paths: - provider - url examples: - default: &654 + default: &658 value: - provider: twitter url: https://twitter.com/github headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105326,9 +105981,9 @@ paths: application/json: schema: type: array - items: *653 + items: *657 examples: - default: *654 + default: *658 '422': *15 '304': *35 '404': *6 @@ -105416,7 +106071,7 @@ paths: application/json: schema: type: array - items: &655 + items: &659 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105436,7 +106091,7 @@ paths: - title - created_at examples: - default: &680 + default: &684 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105449,7 +106104,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105503,9 +106158,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *659 examples: - default: &656 + default: &660 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105536,7 +106191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &657 + - &661 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105548,9 +106203,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *659 examples: - default: *656 + default: *660 '404': *6 '304': *35 '403': *27 @@ -105573,7 +106228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *657 + - *661 responses: '204': description: Response @@ -105602,7 +106257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &681 + - &685 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -105625,13 +106280,13 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *662 application/vnd.github.v3.star+json: schema: type: array - items: &682 + items: &686 title: Starred Repository description: Starred Repository type: object @@ -105639,7 +106294,7 @@ paths: starred_at: type: string format: date-time - repo: *66 + repo: *64 required: - starred_at - repo @@ -105767,7 +106422,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105787,8 +106442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response if this repository is starred by you @@ -105816,8 +106471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -105841,8 +106496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *309 + - *310 responses: '204': description: Response @@ -105875,11 +106530,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105914,7 +106569,7 @@ paths: application/json: schema: type: array - items: *299 + items: *294 examples: default: value: @@ -105965,7 +106620,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105992,7 +106647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *88 + - *85 responses: '200': description: Response @@ -106000,10 +106655,10 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *637 + - *636 examples: - default-response: &660 + default-response: &664 summary: Default response value: login: octocat @@ -106038,7 +106693,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &661 + response-with-git-hub-plan-information: &665 summary: Response with GitHub plan information value: login: octocat @@ -106098,7 +106753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *659 + - *663 - *17 responses: '200': @@ -106109,7 +106764,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: Link: example: ; rel="next" @@ -106139,7 +106794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106147,11 +106802,11 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *637 + - *636 examples: - default-response: *660 - response-with-git-hub-plan-information: *661 + default-response: *664 + response-with-git-hub-plan-information: *665 '404': *6 x-github: githubCloudOnly: false @@ -106177,7 +106832,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 requestBody: required: true content: @@ -106200,8 +106855,8 @@ paths: required: - subject_digests examples: - default: *662 - withPredicateType: *663 + default: *666 + withPredicateType: *667 responses: '200': description: Response @@ -106255,7 +106910,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *664 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106273,7 +106928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *62 + - *57 requestBody: required: true content: @@ -106338,7 +106993,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106369,7 +107024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *62 + - *57 - name: attestation_id description: Attestation ID in: path @@ -106407,7 +107062,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106459,12 +107114,12 @@ paths: initiator: type: string examples: - default: *378 + default: *373 '201': description: Response content: application/json: - schema: *140 + schema: *144 examples: default: value: @@ -106490,7 +107145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106498,9 +107153,9 @@ paths: application/json: schema: type: array - items: *216 + items: *222 examples: - default: *649 + default: *653 '403': *27 '401': *23 x-github: @@ -106523,7 +107178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106533,7 +107188,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106595,8 +107250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *62 - - *99 + - *57 + - *61 - *17 - *19 responses: @@ -106606,7 +107261,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106683,7 +107338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106693,7 +107348,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106751,7 +107406,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106763,9 +107418,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106782,7 +107437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106794,9 +107449,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106813,7 +107468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *62 + - *57 - name: target_user in: path required: true @@ -106840,8 +107495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *62 - - *75 + - *57 + - *72 - *17 - *19 responses: @@ -106851,11 +107506,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -106874,7 +107529,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106884,11 +107539,11 @@ paths: application/json: schema: type: array - items: *639 + items: *644 examples: - default: *665 + default: *669 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106910,7 +107565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *62 + - *57 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -106982,7 +107637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *62 + - *57 responses: '200': description: Response @@ -106990,7 +107645,7 @@ paths: application/json: schema: *20 examples: - default: *502 + default: *497 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107008,7 +107663,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107044,7 +107699,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107064,7 +107719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107074,11 +107729,11 @@ paths: application/json: schema: type: array - items: *160 + items: *59 examples: - default: *647 + default: *96 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107115,8 +107770,8 @@ paths: - docker - nuget - container - - *648 - - *62 + - *652 + - *57 - *19 - *17 responses: @@ -107126,12 +107781,12 @@ paths: application/json: schema: type: array - items: *216 + items: *222 examples: - default: *649 + default: *653 '403': *27 '401': *23 - '400': *650 + '400': *654 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107151,17 +107806,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *224 + - *225 + - *57 responses: '200': description: Response content: application/json: - schema: *216 + schema: *222 examples: - default: *666 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107182,9 +107837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *224 + - *225 + - *57 responses: '204': description: Response @@ -107216,9 +107871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *218 - - *219 - - *62 + - *224 + - *225 + - *57 - name: token description: package token schema: @@ -107250,9 +107905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *218 - - *219 - - *62 + - *224 + - *225 + - *57 responses: '200': description: Response @@ -107260,7 +107915,7 @@ paths: application/json: schema: type: array - items: *220 + items: *226 examples: default: value: @@ -107318,16 +107973,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *218 - - *219 - - *221 - - *62 + - *224 + - *225 + - *227 + - *57 responses: '200': description: Response content: application/json: - schema: *220 + schema: *226 examples: default: value: @@ -107362,10 +108017,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *218 - - *219 - - *62 - - *221 + - *224 + - *225 + - *57 + - *227 responses: '204': description: Response @@ -107397,10 +108052,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *218 - - *219 - - *62 - - *221 + - *224 + - *225 + - *57 + - *227 responses: '204': description: Response @@ -107426,7 +108081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *62 + - *57 - name: state description: Indicates the state of the projects to return. in: query @@ -107447,7 +108102,7 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: default: value: @@ -107483,7 +108138,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -107505,7 +108160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *62 + - *57 - name: q description: Limit results to projects of the specified type. in: query @@ -107522,11 +108177,11 @@ paths: application/json: schema: type: array - items: *233 + items: *239 examples: - default: *234 + default: *240 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107546,18 +108201,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *235 - - *62 + - *241 + - *57 responses: '200': description: Response content: application/json: - schema: *233 + schema: *239 examples: - default: *234 + default: *240 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107577,8 +108232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *235 - - *62 + - *241 + - *57 - *17 - *38 - *39 @@ -107589,11 +108244,11 @@ paths: application/json: schema: type: array - items: *236 + items: *242 examples: - default: *237 + default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107613,19 +108268,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *235 - - *667 - - *62 + - *241 + - *671 + - *57 responses: '200': description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *237 + default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107646,8 +108301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *235 - - *62 + - *241 + - *57 - *38 - *39 - *17 @@ -107659,17 +108314,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -107677,11 +108334,11 @@ paths: application/json: schema: type: array - items: *242 + items: *248 examples: - default: *243 + default: *249 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107700,8 +108357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *62 - - *235 + - *57 + - *241 requestBody: required: true description: Details of the item to add to the project. @@ -107738,10 +108395,10 @@ paths: description: Response content: application/json: - schema: *668 + schema: *672 examples: - issue: *241 - pull_request: *241 + issue: *247 + pull_request: *247 '304': *35 '403': *27 '401': *23 @@ -107761,31 +108418,33 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *235 - - *62 - - *244 + - *241 + - *57 + - *250 - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *242 + schema: *248 examples: - default: *243 + default: *249 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107804,9 +108463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *235 - - *62 - - *244 + - *241 + - *57 + - *250 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -107879,13 +108538,13 @@ paths: description: Response content: application/json: - schema: *242 + schema: *248 examples: - text_field: *243 - number_field: *243 - date_field: *243 - single_select_field: *243 - iteration_field: *243 + text_field: *249 + number_field: *249 + date_field: *249 + single_select_field: *249 + iteration_field: *249 '401': *23 '403': *27 '404': *6 @@ -107905,9 +108564,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *235 - - *62 - - *244 + - *241 + - *57 + - *250 responses: '204': description: Response @@ -107934,7 +108593,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107944,7 +108603,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108009,7 +108668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108019,7 +108678,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108082,7 +108741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *62 + - *57 - name: type description: Limit results to repositories of the specified type. in: query @@ -108125,11 +108784,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108151,15 +108810,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *669 + schema: *673 examples: - default: *670 + default: *674 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108181,15 +108840,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *671 + schema: *675 examples: - default: *672 + default: *676 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108198,7 +108857,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -108206,12 +108868,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *62 + - *57 + - *100 + - *677 - *101 - - *673 - - *102 - - *674 - - *675 + - *678 + - *679 responses: '200': description: Response when getting a billing premium request usage report @@ -108264,19 +108926,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -108318,8 +108980,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108341,15 +109003,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *676 + schema: *680 examples: - default: *677 + default: *681 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108369,11 +109031,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *62 + - *57 + - *100 + - *682 - *101 - - *678 - - *102 - - *679 + - *683 responses: '200': description: Response when getting a billing usage report @@ -108443,8 +109105,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *98 + '503': *99 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108462,7 +109124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108472,11 +109134,11 @@ paths: application/json: schema: type: array - items: *653 + items: *657 examples: - default: *654 + default: *658 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108494,7 +109156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108504,11 +109166,11 @@ paths: application/json: schema: type: array - items: *655 + items: *659 examples: - default: *680 + default: *684 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108530,8 +109192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *62 - - *681 + - *57 + - *685 - *46 - *17 - *19 @@ -108543,13 +109205,13 @@ paths: schema: anyOf: - type: array - items: *682 + items: *686 - type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *662 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108566,7 +109228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108576,11 +109238,11 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *222 + default: *228 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108707,7 +109369,7 @@ webhooks: type: string enum: - disabled - enterprise: &683 + enterprise: &687 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108776,7 +109438,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &684 + installation: &688 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108797,7 +109459,7 @@ webhooks: required: - id - node_id - organization: &685 + organization: &689 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108870,7 +109532,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &686 + repository: &690 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -108899,7 +109561,7 @@ webhooks: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' @@ -109783,10 +110445,10 @@ webhooks: type: string enum: - enabled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -109862,11 +110524,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: &687 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + rule: &691 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -110089,11 +110751,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + rule: *691 sender: *4 required: - action @@ -110281,11 +110943,11 @@ webhooks: - everyone required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + rule: *691 sender: *4 required: - action @@ -110369,7 +111031,7 @@ webhooks: type: string enum: - completed - check_run: &689 + check_run: &693 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110434,8 +111096,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *72 - repository: *131 + items: *70 + repository: *135 status: type: string enum: @@ -110479,7 +111141,7 @@ webhooks: - examples: - neutral - deployment: *688 + deployment: *692 details_url: type: string examples: @@ -110539,7 +111201,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *72 + items: *70 started_at: type: string format: date-time @@ -110577,10 +111239,10 @@ webhooks: - output - app - pull_requests - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 sender: *4 required: - check_run @@ -110973,11 +111635,11 @@ webhooks: type: string enum: - created - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *693 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 sender: *4 required: - check_run @@ -111373,11 +112035,11 @@ webhooks: type: string enum: - requested_action - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *693 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 requested_action: description: The action requested by the user. type: object @@ -111782,11 +112444,11 @@ webhooks: type: string enum: - rerequested - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *693 + installation: *688 + enterprise: *687 + organization: *689 + repository: *690 sender: *4 required: - check_run @@ -112778,10 +113440,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -113466,10 +114128,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -114148,10 +114810,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -114320,7 +114982,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114472,20 +115134,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &690 + commit_oid: &694 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *683 - installation: *684 - organization: *685 - ref: &691 + enterprise: *687 + installation: *688 + organization: *689 + ref: &695 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *686 + repository: *690 sender: *4 required: - action @@ -114652,7 +115314,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114893,12 +115555,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -114996,7 +115658,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115181,12 +115843,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -115355,7 +116017,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115532,12 +116194,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -115640,7 +116302,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115820,9 +116482,9 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115830,7 +116492,7 @@ webhooks: type: - string - 'null' - repository: *686 + repository: *690 sender: *4 required: - action @@ -115929,7 +116591,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *404 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116076,12 +116738,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *694 + enterprise: *687 + installation: *688 + organization: *689 + ref: *695 + repository: *690 sender: *4 required: - action @@ -116343,10 +117005,10 @@ webhooks: - updated_at - author_association - body - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -116427,18 +117089,18 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *685 - pusher_type: &692 + organization: *689 + pusher_type: &696 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &693 + ref: &697 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116448,7 +117110,7 @@ webhooks: enum: - tag - branch - repository: *686 + repository: *690 sender: *4 required: - ref @@ -116530,10 +117192,10 @@ webhooks: type: string enum: - created - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *251 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116618,9 +117280,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116697,10 +117359,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *251 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116777,10 +117439,10 @@ webhooks: type: string enum: - updated - definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + definition: *251 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -116857,19 +117519,19 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - repository: *686 - organization: *685 + enterprise: *687 + installation: *688 + repository: *690 + organization: *689 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *249 + items: *97 old_property_values: type: array description: The old custom property values for the repository. - items: *249 + items: *97 required: - action - repository @@ -116945,18 +117607,18 @@ webhooks: title: delete event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - pusher_type: *692 - ref: *693 + enterprise: *687 + installation: *688 + organization: *689 + pusher_type: *696 + ref: *697 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *686 + repository: *690 sender: *4 required: - ref @@ -117040,11 +117702,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117128,11 +117790,11 @@ webhooks: type: string enum: - auto_reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117216,11 +117878,11 @@ webhooks: type: string enum: - created - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117302,11 +117964,11 @@ webhooks: type: string enum: - dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117388,11 +118050,11 @@ webhooks: type: string enum: - fixed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117475,11 +118137,11 @@ webhooks: type: string enum: - reintroduced - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117561,11 +118223,11 @@ webhooks: type: string enum: - reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *456 + installation: *688 + organization: *689 + enterprise: *687 + repository: *690 sender: *4 required: - action @@ -117642,9 +118304,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - key: &694 + enterprise: *687 + installation: *688 + key: &698 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117682,8 +118344,8 @@ webhooks: - verified - created_at - read_only - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -117760,11 +118422,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - key: *694 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + key: *698 + organization: *689 + repository: *690 sender: *4 required: - action @@ -118336,12 +118998,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: &698 + workflow: &702 title: Workflow type: - object @@ -119079,13 +119741,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *467 + deployment: *462 pull_requests: type: array - items: *547 - repository: *686 - organization: *685 - installation: *684 + items: *544 + repository: *690 + organization: *689 + installation: *688 sender: *4 responses: '200': @@ -119156,7 +119818,7 @@ webhooks: type: string enum: - approved - approver: &695 + approver: &699 type: object properties: avatar_url: @@ -119199,11 +119861,11 @@ webhooks: type: string comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: &696 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + reviewers: &700 type: array items: type: object @@ -119284,7 +119946,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &697 + workflow_job_run: &701 type: object properties: conclusion: @@ -120030,18 +120692,18 @@ webhooks: type: string enum: - rejected - approver: *695 + approver: *699 comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: *696 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + reviewers: *700 sender: *4 since: type: string - workflow_job_run: *697 + workflow_job_run: *701 workflow_job_runs: type: array items: @@ -120758,13 +121420,13 @@ webhooks: type: string enum: - requested - enterprise: *683 + enterprise: *687 environment: type: string - installation: *684 - organization: *685 - repository: *686 - requestor: &703 + installation: *688 + organization: *689 + repository: *690 + requestor: &707 title: User type: - object @@ -122707,12 +123369,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *698 + workflow: *702 workflow_run: title: Deployment Workflow Run type: @@ -123403,7 +124065,7 @@ webhooks: type: string enum: - answered - answer: &701 + answer: &705 type: object properties: author_association: @@ -123563,11 +124225,11 @@ webhooks: - created_at - updated_at - body - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -123694,11 +124356,11 @@ webhooks: - from required: - category - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -123781,11 +124443,11 @@ webhooks: type: string enum: - closed - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -123867,7 +124529,7 @@ webhooks: type: string enum: - created - comment: &700 + comment: &704 type: object properties: author_association: @@ -124027,11 +124689,11 @@ webhooks: - updated_at - body - reactions - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124114,12 +124776,12 @@ webhooks: type: string enum: - deleted - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *704 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124214,12 +124876,12 @@ webhooks: - from required: - body - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *704 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124303,11 +124965,11 @@ webhooks: type: string enum: - created - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124389,11 +125051,11 @@ webhooks: type: string enum: - deleted - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124493,11 +125155,11 @@ webhooks: type: string required: - from - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124579,10 +125241,10 @@ webhooks: type: string enum: - labeled - discussion: *699 - enterprise: *683 - installation: *684 - label: &702 + discussion: *703 + enterprise: *687 + installation: *688 + label: &706 title: Label type: object properties: @@ -124615,8 +125277,8 @@ webhooks: - color - default - description - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124699,11 +125361,11 @@ webhooks: type: string enum: - locked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124785,11 +125447,11 @@ webhooks: type: string enum: - pinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124871,11 +125533,11 @@ webhooks: type: string enum: - reopened - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -124960,16 +125622,16 @@ webhooks: changes: type: object properties: - new_discussion: *699 - new_repository: *686 + new_discussion: *703 + new_repository: *690 required: - new_discussion - new_repository - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125052,10 +125714,10 @@ webhooks: type: string enum: - unanswered - discussion: *699 - old_answer: *701 - organization: *685 - repository: *686 + discussion: *703 + old_answer: *705 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125137,12 +125799,12 @@ webhooks: type: string enum: - unlabeled - discussion: *699 - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125225,11 +125887,11 @@ webhooks: type: string enum: - unlocked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125311,11 +125973,11 @@ webhooks: type: string enum: - unpinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *703 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -125388,7 +126050,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *683 + enterprise: *687 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126066,9 +126728,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - forkee @@ -126214,9 +126876,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pages: description: The pages that were updated. type: array @@ -126254,7 +126916,7 @@ webhooks: - action - sha - html_url - repository: *686 + repository: *690 sender: *4 required: - pages @@ -126330,10 +126992,10 @@ webhooks: type: string enum: - created - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories: &704 + organization: *689 + repositories: &708 description: An array of repository objects that the installation can access. type: array @@ -126359,8 +127021,8 @@ webhooks: - name - full_name - private - repository: *686 - requester: *703 + repository: *690 + requester: *707 sender: *4 required: - action @@ -126435,11 +127097,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -126516,11 +127178,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -126597,10 +127259,10 @@ webhooks: type: string enum: - added - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories_added: &705 + organization: *689 + repositories_added: &709 description: An array of repository objects, which were added to the installation. type: array @@ -126646,15 +127308,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *686 - repository_selection: &706 + repository: *690 + repository_selection: &710 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *703 + requester: *707 sender: *4 required: - action @@ -126733,10 +127395,10 @@ webhooks: type: string enum: - removed - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories_added: *705 + organization: *689 + repositories_added: *709 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126763,9 +127425,9 @@ webhooks: - name - full_name - private - repository: *686 - repository_selection: *706 - requester: *703 + repository: *690 + repository_selection: *710 + requester: *707 sender: *4 required: - action @@ -126844,11 +127506,11 @@ webhooks: type: string enum: - suspend - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -127030,10 +127692,10 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 target_type: type: string @@ -127112,11 +127774,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *683 + enterprise: *687 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *689 + repositories: *708 + repository: *690 requester: type: - 'null' @@ -127364,8 +128026,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128182,8 +128844,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128200,7 +128862,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -128544,8 +129206,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -128625,7 +129287,7 @@ webhooks: type: string enum: - deleted - comment: &707 + comment: &711 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128792,8 +129454,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129606,8 +130268,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129624,7 +130286,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -129970,8 +130632,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -130051,7 +130713,7 @@ webhooks: type: string enum: - edited - changes: &731 + changes: &735 description: The changes to the comment. type: object properties: @@ -130063,9 +130725,9 @@ webhooks: type: string required: - from - comment: *707 - enterprise: *683 - installation: *684 + comment: *711 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130881,8 +131543,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130899,7 +131561,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -131243,8 +131905,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131328,15 +131990,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - blocking_issue_repo: *66 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + blocking_issue_repo: *64 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131424,15 +132086,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - blocking_issue_repo: *66 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + blocking_issue_repo: *64 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131519,15 +132181,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *66 + blocked_issue_repo: *64 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131615,15 +132277,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *66 + blocked_issue_repo: *64 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -131708,10 +132370,10 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - issue: &710 + assignee: *707 + enterprise: *687 + installation: *688 + issue: &714 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132523,11 +133185,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132544,7 +133206,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -132647,8 +133309,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -132728,8 +133390,8 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133546,11 +134208,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133567,7 +134229,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -133813,8 +134475,8 @@ webhooks: required: - state - closed_at - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -133893,8 +134555,8 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134702,11 +135364,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134723,7 +135385,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -134825,8 +135487,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -134905,8 +135567,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135737,11 +136399,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135758,7 +136420,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -135839,7 +136501,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &708 + milestone: &712 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135982,8 +136644,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -136082,8 +136744,8 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136895,11 +137557,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136913,7 +137575,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *205 title: description: Title of the issue type: string @@ -137019,9 +137681,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -137101,8 +137763,8 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137913,11 +138575,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137931,7 +138593,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *205 title: description: Title of the issue type: string @@ -138037,9 +138699,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -138119,8 +138781,8 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138956,11 +139618,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138974,7 +139636,7 @@ webhooks: timeline_url: type: string format: uri - type: *199 + type: *205 title: description: Title of the issue type: string @@ -139057,8 +139719,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -139137,8 +139799,8 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139968,11 +140630,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139989,7 +140651,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -140069,9 +140731,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *708 - organization: *685 - repository: *686 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -140963,11 +141625,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141063,7 +141725,7 @@ webhooks: required: - login - id - type: *199 + type: *205 required: - id - number @@ -141544,8 +142206,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142357,11 +143019,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142378,7 +143040,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -142480,8 +143142,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -142561,9 +143223,9 @@ webhooks: type: string enum: - pinned - enterprise: *683 - installation: *684 - issue: &709 + enterprise: *687 + installation: *688 + issue: &713 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143369,11 +144031,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143390,7 +144052,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -143492,8 +144154,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -143572,8 +144234,8 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144407,11 +145069,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144508,9 +145170,9 @@ webhooks: format: uri user_view_type: type: string - type: *199 - organization: *685 - repository: *686 + type: *205 + organization: *689 + repository: *690 sender: *4 required: - action @@ -145399,11 +146061,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145420,7 +146082,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -146002,11 +146664,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + issue: *713 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146086,12 +146748,12 @@ webhooks: type: string enum: - typed - enterprise: *683 - installation: *684 - issue: *710 - type: *199 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + issue: *714 + type: *205 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146172,7 +146834,7 @@ webhooks: type: string enum: - unassigned - assignee: &734 + assignee: &738 title: User type: - object @@ -146244,11 +146906,11 @@ webhooks: required: - login - id - enterprise: *683 - installation: *684 - issue: *710 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + issue: *714 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146327,12 +146989,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - issue: *710 - label: *702 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + issue: *714 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -146412,8 +147074,8 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147247,11 +147909,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *622 + issue_dependencies_summary: *623 issue_field_values: type: array - items: *619 + items: *624 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147268,7 +147930,7 @@ webhooks: title: description: Title of the issue type: string - type: *199 + type: *205 updated_at: type: string format: date-time @@ -147348,8 +148010,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147429,11 +148091,11 @@ webhooks: type: string enum: - unpinned - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + issue: *713 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147512,12 +148174,12 @@ webhooks: type: string enum: - untyped - enterprise: *683 - installation: *684 - issue: *710 - type: *199 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + issue: *714 + type: *205 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147597,11 +148259,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147679,11 +148341,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147793,11 +148455,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + label: *706 + organization: *689 + repository: *690 sender: *4 required: - action @@ -147879,9 +148541,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: &711 + enterprise: *687 + installation: *688 + marketplace_purchase: &715 title: Marketplace Purchase type: object required: @@ -147969,8 +148631,8 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: &712 + organization: *689 + previous_marketplace_purchase: &716 title: Marketplace Purchase type: object properties: @@ -148054,7 +148716,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *690 sender: *4 required: - action @@ -148134,10 +148796,10 @@ webhooks: - changed effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *687 + installation: *688 + marketplace_purchase: *715 + organization: *689 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148225,7 +148887,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *690 sender: *4 required: - action @@ -148307,10 +148969,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *687 + installation: *688 + marketplace_purchase: *715 + organization: *689 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148396,7 +149058,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *690 sender: *4 required: - action @@ -148477,8 +149139,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 marketplace_purchase: title: Marketplace Purchase type: object @@ -148564,9 +149226,9 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + organization: *689 + previous_marketplace_purchase: *716 + repository: *690 sender: *4 required: - action @@ -148646,12 +149308,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + enterprise: *687 + installation: *688 + marketplace_purchase: *715 + organization: *689 + previous_marketplace_purchase: *716 + repository: *690 sender: *4 required: - action @@ -148753,11 +149415,11 @@ webhooks: type: string required: - to - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 sender: *4 required: - action @@ -148859,11 +149521,11 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 sender: *4 required: - action @@ -148942,11 +149604,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149024,11 +149686,11 @@ webhooks: type: string enum: - added - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149106,7 +149768,7 @@ webhooks: required: - login - id - team: &713 + team: &717 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149336,11 +149998,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + member: *707 + organization: *689 + repository: *690 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149419,7 +150081,7 @@ webhooks: required: - login - id - team: *713 + team: *717 required: - action - scope @@ -149501,8 +150163,8 @@ webhooks: type: string enum: - checks_requested - installation: *684 - merge_group: &714 + installation: *688 + merge_group: &718 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149521,15 +150183,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *398 + head_commit: *393 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149615,10 +150277,10 @@ webhooks: - merged - invalidated - dequeued - installation: *684 - merge_group: *714 - organization: *685 - repository: *686 + installation: *688 + merge_group: *718 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149691,7 +150353,7 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *687 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149800,12 +150462,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *684 - organization: *685 + installation: *688 + organization: *689 repository: anyOf: - type: 'null' - - *686 + - *690 sender: *4 required: - action @@ -149885,11 +150547,11 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -149968,9 +150630,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - milestone: &715 + enterprise: *687 + installation: *688 + milestone: &719 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150112,8 +150774,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150192,11 +150854,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150306,11 +150968,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + milestone: *712 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150390,11 +151052,11 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - milestone: *715 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + milestone: *719 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150473,11 +151135,11 @@ webhooks: type: string enum: - blocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *707 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150556,11 +151218,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *707 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150639,9 +151301,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - membership: &716 + enterprise: *687 + installation: *688 + membership: &720 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150751,8 +151413,8 @@ webhooks: - role - organization_url - user - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150830,11 +151492,11 @@ webhooks: type: string enum: - member_added - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + membership: *720 + organization: *689 + repository: *690 sender: *4 required: - action @@ -150913,8 +151575,8 @@ webhooks: type: string enum: - member_invited - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151036,10 +151698,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 - user: *703 + user: *707 required: - action - invitation @@ -151117,11 +151779,11 @@ webhooks: type: string enum: - member_removed - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + membership: *720 + organization: *689 + repository: *690 sender: *4 required: - action @@ -151208,11 +151870,11 @@ webhooks: properties: from: type: string - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + membership: *720 + organization: *689 + repository: *690 sender: *4 required: - action @@ -151288,9 +151950,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 package: description: Information about the package. type: object @@ -151813,7 +152475,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &717 + items: &721 title: Ruby Gems metadata type: object properties: @@ -151910,7 +152572,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *690 sender: *4 required: - action @@ -151986,9 +152648,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 package: description: Information about the package. type: object @@ -152350,7 +153012,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *721 source_url: type: string format: uri @@ -152421,7 +153083,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *690 sender: *4 required: - action @@ -152602,12 +153264,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *683 + enterprise: *687 id: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - id @@ -152684,7 +153346,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &718 + personal_access_token_request: &722 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152834,10 +153496,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *683 - organization: *685 + enterprise: *687 + organization: *689 sender: *4 - installation: *684 + installation: *688 required: - action - personal_access_token_request @@ -152914,11 +153576,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *722 + enterprise: *687 + organization: *689 sender: *4 - installation: *684 + installation: *688 required: - action - personal_access_token_request @@ -152994,11 +153656,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *722 + enterprise: *687 + organization: *689 sender: *4 - installation: *684 + installation: *688 required: - action - personal_access_token_request @@ -153073,11 +153735,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *718 - organization: *685 - enterprise: *683 + personal_access_token_request: *722 + organization: *689 + enterprise: *687 sender: *4 - installation: *684 + installation: *688 required: - action - personal_access_token_request @@ -153182,7 +153844,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *719 + last_response: *723 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153214,8 +153876,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 zen: description: Random string of GitHub zen. @@ -153460,10 +154122,10 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: &720 + enterprise: *687 + installation: *688 + organization: *689 + project_card: &724 title: Project Card type: object properties: @@ -153586,7 +154248,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *690 sender: *4 required: - action @@ -153667,11 +154329,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project_card: *724 + repository: *690 sender: *4 required: - action @@ -153751,9 +154413,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 project_card: title: Project Card type: object @@ -153883,7 +154545,7 @@ webhooks: repository: anyOf: - type: 'null' - - *686 + - *690 sender: *4 required: - action @@ -153977,11 +154639,11 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project_card: *724 + repository: *690 sender: *4 required: - action @@ -154075,9 +154737,9 @@ webhooks: - from required: - column_id - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 project_card: allOf: - title: Project Card @@ -154274,7 +154936,7 @@ webhooks: type: string required: - after_id - repository: *686 + repository: *690 sender: *4 required: - action @@ -154354,10 +155016,10 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - organization: *685 - project: &722 + enterprise: *687 + installation: *688 + organization: *689 + project: &726 title: Project type: object properties: @@ -154484,7 +155146,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *690 sender: *4 required: - action @@ -154564,10 +155226,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_column: &721 + enterprise: *687 + installation: *688 + organization: *689 + project_column: &725 title: Project Column type: object properties: @@ -154607,7 +155269,7 @@ webhooks: - name - created_at - updated_at - repository: *686 + repository: *690 sender: *4 required: - action @@ -154686,14 +155348,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 + enterprise: *687 + installation: *688 + organization: *689 + project_column: *725 repository: anyOf: - type: 'null' - - *686 + - *690 sender: *4 required: - action @@ -154782,11 +155444,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project_column: *725 + repository: *690 sender: *4 required: - action @@ -154866,11 +155528,11 @@ webhooks: type: string enum: - moved - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project_column: *725 + repository: *690 sender: *4 required: - action @@ -154950,11 +155612,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 + repository: *690 sender: *4 required: - action @@ -155034,14 +155696,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project: *722 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 repository: anyOf: - type: 'null' - - *686 + - *690 sender: *4 required: - action @@ -155142,11 +155804,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 + repository: *690 sender: *4 required: - action @@ -155225,11 +155887,11 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + project: *726 + repository: *690 sender: *4 required: - action @@ -155310,9 +155972,9 @@ webhooks: type: string enum: - closed - installation: *684 - organization: *685 - projects_v2: *233 + installation: *688 + organization: *689 + projects_v2: *239 sender: *4 required: - action @@ -155393,9 +156055,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2: *233 + installation: *688 + organization: *689 + projects_v2: *239 sender: *4 required: - action @@ -155476,9 +156138,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2: *233 + installation: *688 + organization: *689 + projects_v2: *239 sender: *4 required: - action @@ -155599,9 +156261,9 @@ webhooks: type: string to: type: string - installation: *684 - organization: *685 - projects_v2: *233 + installation: *688 + organization: *689 + projects_v2: *239 sender: *4 required: - action @@ -155684,7 +156346,7 @@ webhooks: type: string enum: - archived - changes: &726 + changes: &730 type: object properties: archived_at: @@ -155700,9 +156362,9 @@ webhooks: - string - 'null' format: date-time - installation: *684 - organization: *685 - projects_v2_item: &723 + installation: *688 + organization: *689 + projects_v2_item: &727 title: Projects v2 Item description: An item belonging to a project type: object @@ -155720,7 +156382,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *240 + content_type: *246 creator: *4 created_at: type: string @@ -155842,9 +156504,9 @@ webhooks: - 'null' to: type: string - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -155926,9 +156588,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156009,9 +156671,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156116,7 +156778,7 @@ webhooks: oneOf: - type: string - type: integer - - &724 + - &728 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156140,7 +156802,7 @@ webhooks: required: - id - name - - &725 + - &729 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156180,8 +156842,8 @@ webhooks: oneOf: - type: string - type: integer - - *724 - - *725 + - *728 + - *729 type: - 'null' - string @@ -156204,9 +156866,9 @@ webhooks: - 'null' required: - body - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156303,9 +156965,9 @@ webhooks: type: - string - 'null' - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156388,10 +157050,10 @@ webhooks: type: string enum: - restored - changes: *726 - installation: *684 - organization: *685 - projects_v2_item: *723 + changes: *730 + installation: *688 + organization: *689 + projects_v2_item: *727 sender: *4 required: - action @@ -156473,9 +157135,9 @@ webhooks: type: string enum: - reopened - installation: *684 - organization: *685 - projects_v2: *233 + installation: *688 + organization: *689 + projects_v2: *239 sender: *4 required: - action @@ -156556,9 +157218,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *688 + organization: *689 + projects_v2_status_update: *731 sender: *4 required: - action @@ -156639,9 +157301,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *688 + organization: *689 + projects_v2_status_update: *731 sender: *4 required: - action @@ -156787,9 +157449,9 @@ webhooks: - string - 'null' format: date - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *688 + organization: *689 + projects_v2_status_update: *731 sender: *4 required: - action @@ -156860,10 +157522,10 @@ webhooks: title: public event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - repository @@ -156940,13 +157602,13 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - number: &728 + assignee: *707 + enterprise: *687 + installation: *688 + number: &732 description: The pull request number. type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -159295,7 +159957,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -159377,11 +160039,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -161723,7 +162385,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *690 sender: *4 required: - action @@ -161805,11 +162467,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -164151,7 +164813,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *690 sender: *4 required: - action @@ -164233,13 +164895,13 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: &729 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: &733 allOf: - - *547 + - *544 - type: object properties: allow_auto_merge: @@ -164301,7 +164963,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *686 + repository: *690 sender: *4 required: - action @@ -164382,12 +165044,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -164467,11 +165129,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - milestone: *238 - number: *728 - organization: *685 - pull_request: &730 + enterprise: *687 + milestone: *244 + number: *732 + organization: *689 + pull_request: &734 title: Pull Request type: object properties: @@ -166798,7 +167460,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -166877,11 +167539,11 @@ webhooks: type: string enum: - dequeued - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -169227,7 +169889,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *686 + repository: *690 sender: *4 required: - action @@ -169351,12 +170013,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -169436,11 +170098,11 @@ webhooks: type: string enum: - enqueued - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -171771,7 +172433,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -171851,11 +172513,11 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *687 + installation: *688 + label: *706 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -174203,7 +174865,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -174284,10 +174946,10 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -176633,7 +177295,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -176713,12 +177375,12 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - milestone: *238 - number: *728 - organization: *685 - pull_request: *730 - repository: *686 + enterprise: *687 + milestone: *244 + number: *732 + organization: *689 + pull_request: *734 + repository: *690 sender: *4 required: - action @@ -176797,12 +177459,12 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -176883,12 +177545,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -176968,12 +177630,12 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 + pull_request: *733 + repository: *690 sender: *4 required: - action @@ -177348,9 +178010,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: type: object properties: @@ -179580,7 +180242,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *690 sender: *4 required: - action @@ -179660,7 +180322,7 @@ webhooks: type: string enum: - deleted - comment: &732 + comment: &736 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -179953,9 +180615,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: type: object properties: @@ -182173,7 +182835,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *690 sender: *4 required: - action @@ -182253,11 +182915,11 @@ webhooks: type: string enum: - edited - changes: *731 - comment: *732 - enterprise: *683 - installation: *684 - organization: *685 + changes: *735 + comment: *736 + enterprise: *687 + installation: *688 + organization: *689 pull_request: type: object properties: @@ -184478,7 +185140,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *690 sender: *4 required: - action @@ -184559,9 +185221,9 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -186794,7 +187456,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *690 review: description: The review that was affected. type: object @@ -187045,9 +187707,9 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -189161,8 +189823,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: &733 + repository: *690 + review: &737 description: The review that was affected. type: object properties: @@ -189400,12 +190062,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -191752,7 +192414,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 requested_reviewer: title: User type: @@ -191838,12 +192500,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -194197,7 +194859,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194392,12 +195054,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -196746,7 +197408,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 requested_reviewer: title: User type: @@ -196833,12 +197495,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *687 + installation: *688 number: description: The pull request number. type: integer - organization: *685 + organization: *689 pull_request: title: Pull Request type: object @@ -199178,7 +199840,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199362,9 +200024,9 @@ webhooks: type: string enum: - submitted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -201600,8 +202262,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: *733 + repository: *690 + review: *737 sender: *4 required: - action @@ -201681,9 +202343,9 @@ webhooks: type: string enum: - resolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -203814,7 +204476,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *690 sender: *4 thread: type: object @@ -204211,9 +204873,9 @@ webhooks: type: string enum: - unresolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 pull_request: title: Simple Pull Request type: object @@ -206327,7 +206989,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *690 sender: *4 thread: type: object @@ -206726,10 +207388,10 @@ webhooks: type: string before: type: string - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -209064,7 +209726,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -209146,11 +209808,11 @@ webhooks: type: string enum: - unassigned - assignee: *734 - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + assignee: *738 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -211500,7 +212162,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -211579,11 +212241,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *687 + installation: *688 + label: *706 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -213922,7 +214584,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -214003,10 +214665,10 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *687 + installation: *688 + number: *732 + organization: *689 pull_request: title: Pull Request type: object @@ -216335,7 +216997,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *690 sender: *4 required: - action @@ -216538,7 +217200,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *683 + enterprise: *687 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216633,8 +217295,8 @@ webhooks: - url - author - committer - installation: *684 - organization: *685 + installation: *688 + organization: *689 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217222,9 +217884,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 registry_package: type: object properties: @@ -217701,7 +218363,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *717 + items: *721 summary: type: string tag_name: @@ -217757,7 +218419,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *690 sender: *4 required: - action @@ -217835,9 +218497,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 registry_package: type: object properties: @@ -218149,7 +218811,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *721 summary: type: string tag_name: @@ -218199,7 +218861,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *690 sender: *4 required: - action @@ -218276,10 +218938,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - release: &735 + enterprise: *687 + installation: *688 + organization: *689 + release: &739 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218610,7 +219272,7 @@ webhooks: - updated_at - zipball_url - body - repository: *686 + repository: *690 sender: *4 required: - action @@ -218687,11 +219349,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + release: *739 + repository: *690 sender: *4 required: - action @@ -218808,11 +219470,11 @@ webhooks: type: boolean required: - to - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + release: *739 + repository: *690 sender: *4 required: - action @@ -218890,9 +219552,9 @@ webhooks: type: string enum: - prereleased - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219228,7 +219890,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *690 sender: *4 required: - action @@ -219304,10 +219966,10 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - release: &736 + enterprise: *687 + installation: *688 + organization: *689 + release: &740 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219640,7 +220302,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *690 sender: *4 required: - action @@ -219716,11 +220378,11 @@ webhooks: type: string enum: - released - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + release: *739 + repository: *690 sender: *4 required: - action @@ -219796,11 +220458,11 @@ webhooks: type: string enum: - unpublished - enterprise: *683 - installation: *684 - organization: *685 - release: *736 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + release: *740 + repository: *690 sender: *4 required: - action @@ -219876,11 +220538,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_advisory: *608 sender: *4 required: - action @@ -219956,11 +220618,11 @@ webhooks: type: string enum: - reported - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_advisory: *608 sender: *4 required: - action @@ -220036,10 +220698,10 @@ webhooks: type: string enum: - archived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220116,10 +220778,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220197,10 +220859,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220285,10 +220947,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220403,10 +221065,10 @@ webhooks: - 'null' items: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220478,10 +221140,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 status: type: string @@ -220562,10 +221224,10 @@ webhooks: type: string enum: - privatized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220642,10 +221304,10 @@ webhooks: type: string enum: - publicized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220739,10 +221401,10 @@ webhooks: - name required: - repository - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -220822,11 +221484,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_ruleset: *281 sender: *4 required: - action @@ -220904,11 +221566,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_ruleset: *281 sender: *4 required: - action @@ -220986,11 +221648,11 @@ webhooks: type: string enum: - edited - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_ruleset: *276 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + repository_ruleset: *281 changes: type: object properties: @@ -221009,16 +221671,16 @@ webhooks: properties: added: type: array - items: *251 + items: *256 deleted: type: array - items: *251 + items: *256 updated: type: array items: type: object properties: - condition: *251 + condition: *256 changes: type: object properties: @@ -221051,16 +221713,16 @@ webhooks: properties: added: type: array - items: *568 + items: *565 deleted: type: array - items: *568 + items: *565 updated: type: array items: type: object properties: - rule: *568 + rule: *565 changes: type: object properties: @@ -221297,10 +221959,10 @@ webhooks: - from required: - owner - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221378,10 +222040,10 @@ webhooks: type: string enum: - unarchived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221459,7 +222121,7 @@ webhooks: type: string enum: - create - alert: &737 + alert: &741 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221583,10 +222245,10 @@ webhooks: type: string enum: - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221796,10 +222458,10 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -221877,11 +222539,11 @@ webhooks: type: string enum: - reopen - alert: *737 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *741 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222083,10 +222745,10 @@ webhooks: enum: - fixed - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222164,17 +222826,17 @@ webhooks: type: string enum: - created - alert: &738 + alert: &742 type: object properties: - number: *52 - created_at: *53 + number: *151 + created_at: *152 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *153 + url: *154 + html_url: *155 locations_url: type: string format: uri @@ -222278,10 +222940,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222362,11 +223024,11 @@ webhooks: type: string enum: - created - alert: *738 - installation: *684 - location: *739 - organization: *685 - repository: *686 + alert: *742 + installation: *688 + location: *743 + organization: *689 + repository: *690 sender: *4 required: - location @@ -222604,11 +223266,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222686,11 +223348,11 @@ webhooks: type: string enum: - reopened - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222768,11 +223430,11 @@ webhooks: type: string enum: - resolved - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222850,11 +223512,11 @@ webhooks: type: string enum: - validated - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *742 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -222984,10 +223646,10 @@ webhooks: - organization - enterprise - - repository: *686 - enterprise: *683 - installation: *684 - organization: *685 + repository: *690 + enterprise: *687 + installation: *688 + organization: *689 sender: *4 required: - action @@ -223065,11 +223727,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: &740 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + security_advisory: &744 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223255,11 +223917,11 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: *740 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 + security_advisory: *744 sender: *4 required: - action @@ -223332,10 +223994,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223521,11 +224183,11 @@ webhooks: from: type: object properties: - security_and_analysis: *250 - enterprise: *683 - installation: *684 - organization: *685 - repository: *322 + security_and_analysis: *255 + enterprise: *687 + installation: *688 + organization: *689 + repository: *317 sender: *4 required: - changes @@ -223603,12 +224265,12 @@ webhooks: type: string enum: - cancelled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: &741 + sponsorship: &745 type: object properties: created_at: @@ -223913,12 +224575,12 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *741 + sponsorship: *745 required: - action - sponsorship @@ -224006,12 +224668,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *741 + sponsorship: *745 required: - action - changes @@ -224088,17 +224750,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &742 + effective_date: &746 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *741 + sponsorship: *745 required: - action - sponsorship @@ -224172,7 +224834,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &743 + changes: &747 type: object properties: tier: @@ -224216,13 +224878,13 @@ webhooks: - from required: - tier - effective_date: *742 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + effective_date: *746 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *741 + sponsorship: *745 required: - action - changes @@ -224299,13 +224961,13 @@ webhooks: type: string enum: - tier_changed - changes: *743 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + changes: *747 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - sponsorship: *741 + sponsorship: *745 required: - action - changes @@ -224379,10 +225041,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224466,10 +225128,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224903,15 +225565,15 @@ webhooks: type: - string - 'null' - enterprise: *683 + enterprise: *687 id: description: The unique identifier of the status. type: integer - installation: *684 + installation: *688 name: type: string - organization: *685 - repository: *686 + organization: *689 + repository: *690 sender: *4 sha: description: The Commit SHA. @@ -225021,15 +225683,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *66 + parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *66 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225113,15 +225775,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *66 + parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *66 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225205,15 +225867,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *66 + sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *66 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225297,15 +225959,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *66 + sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *66 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -225382,12 +226044,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - team: &744 + team: &748 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225617,9 +226279,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -226089,7 +226751,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *748 required: - action - team @@ -226165,9 +226827,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -226637,7 +227299,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *748 required: - action - team @@ -226714,9 +227376,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -227186,7 +227848,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *748 required: - action - team @@ -227330,9 +227992,9 @@ webhooks: - from required: - permissions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -227802,7 +228464,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *748 required: - action - changes @@ -227880,9 +228542,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *687 + installation: *688 + organization: *689 repository: title: Repository description: A git repository @@ -228352,7 +229014,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *748 required: - action - team @@ -228428,10 +229090,10 @@ webhooks: type: string enum: - started - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 required: - action @@ -228504,17 +229166,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *683 + enterprise: *687 inputs: type: - object - 'null' additionalProperties: true - installation: *684 - organization: *685 + installation: *688 + organization: *689 ref: type: string - repository: *686 + repository: *690 sender: *4 workflow: type: string @@ -228596,10 +229258,10 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: allOf: @@ -228855,7 +229517,7 @@ webhooks: type: string required: - conclusion - deployment: *467 + deployment: *462 required: - action - repository @@ -228934,10 +229596,10 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: allOf: @@ -229219,7 +229881,7 @@ webhooks: required: - status - steps - deployment: *467 + deployment: *462 required: - action - repository @@ -229298,10 +229960,10 @@ webhooks: type: string enum: - queued - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: type: object @@ -229447,7 +230109,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *462 required: - action - repository @@ -229526,10 +230188,10 @@ webhooks: type: string enum: - waiting - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 workflow_job: type: object @@ -229676,7 +230338,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *462 required: - action - repository @@ -229756,12 +230418,12 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *698 + workflow: *702 workflow_run: title: Workflow Run type: object @@ -230780,12 +231442,12 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *698 + workflow: *702 workflow_run: title: Workflow Run type: object @@ -231789,12 +232451,12 @@ webhooks: type: string enum: - requested - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *687 + installation: *688 + organization: *689 + repository: *690 sender: *4 - workflow: *698 + workflow: *702 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 8d97d0fbd..fbb5aedb5 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -188,6 +188,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -5623,6 +5627,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -5821,6 +5833,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -6730,6 +6751,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -6928,6 +6957,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -7610,6 +7648,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -7808,6 +7854,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -8055,6 +8110,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -8253,6 +8316,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -10358,6 +10430,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -10556,6 +10636,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -11497,6 +11586,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -11695,6 +11792,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -12500,6 +12606,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -12698,6 +12812,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -13206,6 +13329,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -13404,6 +13535,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -19279,6 +19419,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -19409,6 +19556,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -19549,6 +19700,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -19569,6 +19727,11 @@ "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean", "default": false + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -19665,6 +19828,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -19795,6 +19965,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -19850,17 +20024,17 @@ } } }, - "/enterprises/{enterprise}/actions/hosted-runners/images/github-owned": { + "/enterprises/{enterprise}/actions/hosted-runners/images/custom": { "get": { - "summary": "Get GitHub-owned images for GitHub-hosted runners in an enterprise", - "description": "Get the list of GitHub-owned images available for GitHub-hosted runners for an enterprise.", - "operationId": "actions/get-hosted-runners-github-owned-images-for-enterprise", + "summary": "List custom images for an enterprise", + "description": "List custom images for an enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", "tags": [ "actions" ], + "operationId": "actions/list-custom-images-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-enterprise" }, "parameters": [ { @@ -19891,15 +20065,15 @@ "images": { "type": "array", "items": { - "title": "GitHub-hosted runner image details.", - "description": "Provides details of a hosted runner image", + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", "type": "object", "properties": { "id": { "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", - "type": "string", + "type": "integer", "examples": [ - "ubuntu-20.04" + 1 ] }, "platform": { @@ -19909,36 +20083,58 @@ "linux-x64" ] }, - "size_gb": { - "description": "Image size in GB.", + "total_versions_size": { + "description": "Total size of all the image versions in GB.", "type": "integer", "examples": [ - 86 + 200 ] }, - "display_name": { + "name": { "description": "Display name for this image.", "type": "string", "examples": [ - 20.04 + "CustomImage" ] }, "source": { "description": "The image provider.", "type": "string", - "enum": [ - "github", - "partner", + "examples": [ "custom" ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] } }, "required": [ "id", "platform", - "size_gb", - "display_name", - "source" + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" ] } } @@ -19947,11 +20143,157 @@ "examples": { "default": { "value": { - "id": "ubuntu-20.04", + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get an enterprise custom image definition for GitHub Actions Hosted Runners", + "description": "Get an enterprise custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-enterprise-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, "platform": "linux-x64", - "size_gb": 86, - "display_name": "20.04", - "source": "github" + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" } } } @@ -19965,21 +20307,73 @@ "category": "actions", "subcategory": "hosted-runners" } + }, + "delete": { + "summary": "Delete a custom image from the enterprise", + "description": "Delete a custom image from the enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } } }, - "/enterprises/{enterprise}/actions/hosted-runners/images/partner": { + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { "get": { - "summary": "Get partner images for GitHub-hosted runners in an enterprise", - "description": "Get the list of partner images available for GitHub-hosted runners for an enterprise.", - "operationId": "actions/get-hosted-runners-partner-images-for-enterprise", + "summary": "List image versions of a custom image for an enterprise", + "description": "List image versions of a custom image for an enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", "tags": [ "actions" ], + "operationId": "actions/list-custom-image-versions-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-enterprise" }, "parameters": [ + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, { "name": "enterprise", "description": "The slug version of the enterprise name.", @@ -19999,63 +20393,61 @@ "type": "object", "required": [ "total_count", - "images" + "image_versions" ], "properties": { "total_count": { "type": "integer" }, - "images": { + "image_versions": { "type": "array", "items": { - "title": "GitHub-hosted runner image details.", - "description": "Provides details of a hosted runner image", + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", "type": "object", "properties": { - "id": { - "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "version": { + "description": "The version of image.", "type": "string", "examples": [ - "ubuntu-20.04" + "1.0.0" ] }, - "platform": { - "description": "The operating system of the image.", + "state": { + "description": "The state of image version.", "type": "string", "examples": [ - "linux-x64" + "Ready" ] }, "size_gb": { - "description": "Image size in GB.", + "description": "Image version size in GB.", "type": "integer", "examples": [ - 86 + 30 ] }, - "display_name": { - "description": "Display name for this image.", + "created_on": { + "description": "The creation date time of the image version.", "type": "string", "examples": [ - 20.04 + "2024-11-09T23:39:01Z" ] }, - "source": { - "description": "The image provider.", + "state_details": { + "description": "The image version status details.", "type": "string", - "enum": [ - "github", - "partner", - "custom" + "examples": [ + "None" ] } }, "required": [ - "id", - "platform", + "version", + "state", "size_gb", - "display_name", - "source" + "created_on", + "state_details" ] } } @@ -20064,11 +20456,21 @@ "examples": { "default": { "value": { - "id": "ubuntu-20.04", - "platform": "linux-x64", - "size_gb": 86, - "display_name": "20.04", - "source": "github" + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] } } } @@ -20084,17 +20486,17 @@ } } }, - "/enterprises/{enterprise}/actions/hosted-runners/limits": { + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { "get": { - "summary": "Get limits on GitHub-hosted runners for an enterprise", - "description": "Get the GitHub-hosted runners limits for an enterprise.", + "summary": "Get an image version of an enterprise custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of an enterprise custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", "tags": [ "actions" ], - "operationId": "actions/get-hosted-runners-limits-for-enterprise", + "operationId": "actions/get-custom-image-version-for-enterprise", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-an-enterprise-custom-image-for-github-actions-hosted-runners" }, "parameters": [ { @@ -20105,6 +20507,25 @@ "schema": { "type": "string" } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } } ], "responses": { @@ -20113,45 +20534,61 @@ "content": { "application/json": { "schema": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", "type": "object", "properties": { - "public_ips": { - "title": "Static public IP Limits for GitHub-hosted Hosted Runners.", - "description": "Provides details of static public IP limits for GitHub-hosted Hosted Runners", - "type": "object", - "properties": { - "maximum": { - "type": "integer", - "description": "The maximum number of static public IP addresses that can be used for Hosted Runners.", - "examples": [ - 50 - ] - }, - "current_usage": { - "type": "integer", - "description": "The current number of static public IP addresses in use by Hosted Runners.", - "examples": [ - 17 - ] - } - }, - "required": [ - "maximum", - "current_usage" + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" ] } }, "required": [ - "public_ips" + "version", + "state", + "size_gb", + "created_on", + "state_details" ] }, "examples": { "default": { "value": { - "public_ips": { - "current_usage": 17, - "maximum": 50 - } + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" } } } @@ -20165,19 +20602,389 @@ "category": "actions", "subcategory": "hosted-runners" } + }, + "delete": { + "summary": "Delete an image version of custom image from the enterprise", + "description": "Delete an image version of custom image from the enterprise.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } } }, - "/enterprises/{enterprise}/actions/hosted-runners/machine-sizes": { + "/enterprises/{enterprise}/actions/hosted-runners/images/github-owned": { "get": { - "summary": "Get GitHub-hosted runners machine specs for an enterprise", - "description": "Get the list of machine specs available for GitHub-hosted runners for an enterprise.", - "operationId": "actions/get-hosted-runners-machine-specs-for-enterprise", + "summary": "Get GitHub-owned images for GitHub-hosted runners in an enterprise", + "description": "Get the list of GitHub-owned images available for GitHub-hosted runners for an enterprise.", + "operationId": "actions/get-hosted-runners-github-owned-images-for-enterprise", "tags": [ "actions" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "title": "GitHub-hosted runner image details.", + "description": "Provides details of a hosted runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "string", + "examples": [ + "ubuntu-20.04" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "examples": [ + 86 + ] + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + 20.04 + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "enum": [ + "github", + "partner", + "custom" + ] + } + }, + "required": [ + "id", + "platform", + "size_gb", + "display_name", + "source" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "id": "ubuntu-20.04", + "platform": "linux-x64", + "size_gb": 86, + "display_name": "20.04", + "source": "github" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/images/partner": { + "get": { + "summary": "Get partner images for GitHub-hosted runners in an enterprise", + "description": "Get the list of partner images available for GitHub-hosted runners for an enterprise.", + "operationId": "actions/get-hosted-runners-partner-images-for-enterprise", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "title": "GitHub-hosted runner image details.", + "description": "Provides details of a hosted runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "string", + "examples": [ + "ubuntu-20.04" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "examples": [ + 86 + ] + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + 20.04 + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "enum": [ + "github", + "partner", + "custom" + ] + } + }, + "required": [ + "id", + "platform", + "size_gb", + "display_name", + "source" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "id": "ubuntu-20.04", + "platform": "linux-x64", + "size_gb": 86, + "display_name": "20.04", + "source": "github" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/limits": { + "get": { + "summary": "Get limits on GitHub-hosted runners for an enterprise", + "description": "Get the GitHub-hosted runners limits for an enterprise.", + "tags": [ + "actions" + ], + "operationId": "actions/get-hosted-runners-limits-for-enterprise", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "public_ips": { + "title": "Static public IP Limits for GitHub-hosted Hosted Runners.", + "description": "Provides details of static public IP limits for GitHub-hosted Hosted Runners", + "type": "object", + "properties": { + "maximum": { + "type": "integer", + "description": "The maximum number of static public IP addresses that can be used for Hosted Runners.", + "examples": [ + 50 + ] + }, + "current_usage": { + "type": "integer", + "description": "The current number of static public IP addresses in use by Hosted Runners.", + "examples": [ + 17 + ] + } + }, + "required": [ + "maximum", + "current_usage" + ] + } + }, + "required": [ + "public_ips" + ] + }, + "examples": { + "default": { + "value": { + "public_ips": { + "current_usage": 17, + "maximum": 50 + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/enterprises/{enterprise}/actions/hosted-runners/machine-sizes": { + "get": { + "summary": "Get GitHub-hosted runners machine specs for an enterprise", + "description": "Get the list of machine specs available for GitHub-hosted runners for an enterprise.", + "operationId": "actions/get-hosted-runners-machine-specs-for-enterprise", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-enterprise" }, "parameters": [ { @@ -20444,6 +21251,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -20574,6 +21388,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -20689,6 +21507,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -20775,6 +21600,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -20905,6 +21737,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -21060,6 +21896,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -21190,6 +22033,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -29414,6 +30261,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -29612,6 +30467,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -30252,6 +31116,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -30450,6 +31322,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -31310,6 +32191,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -31508,6 +32397,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -32765,6 +33663,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -32963,6 +33869,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -45110,6 +46025,658 @@ } } }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": { + "get": { + "summary": "Get Copilot enterprise usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nOnly enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": { + "get": { + "summary": "Get Copilot enterprise usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise.\n\nThe report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time.\n\nThe response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOnly enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-enterprise-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": { + "get": { + "summary": "Get Copilot users usage metrics for a specific day", + "description": "Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date.\n\nOnly enterprise owners and billing managers can retrieve Copilot user metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-one-day-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics-for-a-specific-day" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "day", + "description": "The day to request data for, in `YYYY-MM-DD` format.", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "date", + "examples": [ + "2025-10-13" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 1 Day Report", + "description": "Links to download the Copilot usage metrics report for an enterprise for a specific day.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the Copilot usage metrics report for the enterprise for the specified day." + }, + "report_day": { + "type": "string", + "format": "date", + "description": "The day of the report in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_day": "2025-07-01" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": { + "get": { + "summary": "Get Copilot users usage metrics", + "description": "Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise.\n\nThe report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement.\n\nReports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed.\n\nOnly enterprise owners and billing managers can retrieve Copilot users metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/copilot-users-usage-metrics", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "title": "Copilot Metrics 28 Day Report", + "description": "Links to download the latest Copilot usage metrics report for an enterprise.", + "properties": { + "download_links": { + "type": "array", + "items": { + "type": "string", + "format": "uri" + }, + "description": "The URLs to download the latest Copilot usage metrics report for the enterprise." + }, + "report_start_day": { + "type": "string", + "format": "date", + "description": "The start date of the report period in `YYYY-MM-DD` format." + }, + "report_end_day": { + "type": "string", + "format": "date", + "description": "The end date of the report period in `YYYY-MM-DD` format." + } + }, + "required": [ + "download_links", + "report_start_day", + "report_end_day" + ] + }, + "examples": { + "default": { + "value": { + "download_links": [ + "https://example.com/copilot-usage-report-1.json", + "https://example.com/copilot-usage-report-2.json" + ], + "report_start_day": "2025-07-01", + "report_end_day": "2025-07-28" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-metrics" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -45251,29 +46818,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).\"", @@ -47106,17 +48650,17 @@ } } }, - "/enterprises/{enterprise}/license-sync-status": { + "/enterprises/{enterprise}/enterprise-roles": { "get": { - "summary": "Get a license sync status", - "description": "Gets information about the status of a license sync job for an enterprise.\n\nThe authenticated user must be an enterprise admin to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint.", + "summary": "Get all enterprise roles for an enterprise", + "description": "Lists the enterprise roles available in this enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", "tags": [ "enterprise-admin" ], - "operationId": "enterprise-admin/get-license-sync-status", + "operationId": "enterprise-admin/list-enterprise-roles", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-all-enterprise-roles-for-an-enterprise" }, "parameters": [ { @@ -47131,820 +48675,175 @@ ], "responses": { "200": { - "description": "License Sync Status Response", + "description": "Response - list of enterprise roles", "content": { "application/json": { "schema": { - "title": "License Sync Status", - "description": "Information about the status of a license sync job for an enterprise.", + "type": "object", "properties": { - "server_instances": { + "total_count": { + "type": "integer", + "description": "The total number of enterprise roles available to the enterprise." + }, + "roles": { "type": "array", + "description": "The list of enterprise roles available to the enterprise.", "items": { + "title": "Enterprise Role", + "description": "Enterprise custom roles", "type": "object", "properties": { - "server_id": { - "type": "string" + "id": { + "description": "The unique identifier of the role.", + "type": "integer", + "format": "int64" }, - "hostname": { + "name": { + "description": "The name of the role.", "type": "string" }, - "last_sync": { - "type": "object", - "properties": { - "date": { - "type": "string" - }, - "status": { - "type": "string" - }, - "error": { - "type": "string" - } + "description": { + "description": "A short description about who this role is for or what permissions it grants.", + "type": [ + "string", + "null" + ] + }, + "source": { + "type": [ + "string", + "null" + ], + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Enterprise", + "Predefined", + null + ] + }, + "permissions": { + "description": "A list of permissions included in this role.", + "type": "array", + "items": { + "type": "string" } - } - } - } - } - } - }, - "examples": { - "default": { - "value": { - "server_instances": [ - { - "server_id": "deadbeef1", - "hostname": "github.example.com", - "last_sync": { - "date": "2020-01-01T00:00:00Z", - "status": "success", - "error": "" - } - }, - { - "server_id": "filetoffish1", - "hostname": "github2.example.com", - "last_sync": { - "date": "2020-01-01T00:00:00Z", - "status": "success", - "error": "" - } - } - ] - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "previews": [], - "category": "enterprise-admin", - "subcategory": "license" - } - } - }, - "/enterprises/{enterprise}/members/{username}/copilot": { - "get": { - "summary": "Get Copilot seat assignment details for an enterprise user", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the GitHub Copilot seat details for a member of an enterprise who currently has access to GitHub Copilot.\n\nThe seat object contains information about the user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.\n\nOnly enterprise owners can view Copilot seat assignment details for members of their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.", - "tags": [ - "copilot" - ], - "operationId": "copilot/get-copilot-seat-details-for-enterprise-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "The user's GitHub Copilot seat details, including usage.", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_seats": { - "type": "integer", - "description": "The total number of Copilot seats the enterprise is being billed for. Users with access through enterprise, enterprise teams or multiple organizations are only counted once." - }, - "seats": { - "type": "array", - "items": { - "title": "Copilot Business Seat Detail", - "description": "Information about a Copilot Business seat assignment for a user, team, or organization.", - "type": "object", - "properties": { - "assignee": { + }, + "enterprise": { "anyOf": [ { "type": "null" }, { - "title": "Simple User", - "description": "A GitHub user.", + "title": "Enterprise", + "description": "An enterprise on GitHub.", "type": "object", "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { + "description": { + "description": "A short description of the enterprise.", "type": [ "string", "null" ] }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { + "html_url": { "type": "string", "format": "uri", "examples": [ - "https://github.com/images/error/octocat_happy.gif" + "https://github.com/enterprises/octo-business" ] }, - "gravatar_id": { + "website_url": { + "description": "The enterprise's website URL.", "type": [ "string", "null" ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "organization": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Organization Simple", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "login": { - "type": "string", - "examples": [ - "github" - ] + "format": "uri" }, "id": { + "description": "Unique identifier of the enterprise", "type": "integer", "examples": [ - 1 + 42 ] }, "node_id": { "type": "string", "examples": [ - "MDEyOk9yZ2FuaXphdGlvbjE=" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/repos" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/events" - ] - }, - "hooks_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/hooks" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/issues" - ] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/members{/member}" - ] - }, - "public_members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/public_members{/member}" - ] - }, - "avatar_url": { - "type": "string", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "A great organization" + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" ] - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - } - ] - }, - "assigning_team": { - "description": "The team through which the assignee is granted access to GitHub Copilot, if applicable.", - "oneOf": [ - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" }, "name": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "privacy": { - "type": "string" - }, - "notification_setting": { - "type": "string" - }, - "permission": { - "type": "string" - }, - "permissions": { - "type": "object", - "properties": { - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - }, - "admin": { - "type": "boolean" - } - }, - "required": [ - "pull", - "triage", - "push", - "maintain", - "admin" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/orgs/rails/teams/core" - ] - }, - "members_url": { - "type": "string" - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "type": { - "description": "The ownership type of the team", + "description": "The name of the enterprise.", "type": "string", - "enum": [ - "enterprise", - "organization" - ] - }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", - "examples": [ - 37 - ] - }, - "enterprise_id": { - "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", "examples": [ - 42 - ] - }, - "parent": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the team", - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VGVhbTE=" - ] - }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/1" - ] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/organizations/1/team/1/members{/member}" - ] - }, - "name": { - "description": "Name of the team", - "type": "string", - "examples": [ - "Justice League" - ] - }, - "description": { - "description": "Description of the team", - "type": [ - "string", - "null" - ], - "examples": [ - "A great team." - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "examples": [ - "admin" - ] - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "examples": [ - "closed" - ] - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "examples": [ - "notifications_enabled" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/orgs/rails/teams/core" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/1/repos" - ] - }, - "slug": { - "type": "string", - "examples": [ - "justice-league" - ] - }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "type": "string", - "examples": [ - "uid=example,ou=users,dc=github,dc=com" - ] - }, - "type": { - "description": "The ownership type of the team", - "type": "string", - "enum": [ - "enterprise", - "organization" - ] - }, - "organization_id": { - "type": "integer", - "description": "Unique identifier of the organization to which this team belongs", - "examples": [ - 37 - ] - }, - "enterprise_id": { - "type": "integer", - "description": "Unique identifier of the enterprise to which this team belongs", - "examples": [ - 42 - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug", - "type" - ] - } + "Octo Business" ] - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug", - "parent", - "type" - ] - }, - { - "title": "Enterprise Team", - "description": "Group of enterprise owners and/or members", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" }, "slug": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "sync_to_organizations": { - "type": "string", - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "disabled | all" - ] - }, - "organization_selection_type": { + "description": "The slug url identifier for the enterprise.", "type": "string", "examples": [ - "disabled | selected | all" + "octo-business" ] }, - "group_id": { + "created_at": { "type": [ "string", "null" ], + "format": "date-time", "examples": [ - "62ab9291-fae2-468e-974b-7e45096d5021" + "2019-01-26T19:01:12Z" ] }, - "group_name": { + "updated_at": { "type": [ "string", "null" ], - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "Justice League" - ] - }, - "html_url": { - "type": "string", - "format": "uri", + "format": "date-time", "examples": [ - "https://github.com/enterprises/dc/teams/justice-league" + "2019-01-26T19:14:43Z" ] }, - "members_url": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { + "avatar_url": { "type": "string", - "format": "date-time" + "format": "uri" } }, "required": [ "id", - "url", - "members_url", + "node_id", "name", - "html_url", "slug", + "html_url", "created_at", "updated_at", - "group_id" + "avatar_url" ] } - ], - "type": [ - "null", - "object" ] }, - "pending_cancellation_date": { - "type": [ - "string", - "null" - ], - "format": "date", - "description": "The pending cancellation date for the seat, in `YYYY-MM-DD` format. This will be null unless the assignee's Copilot access has been canceled during the current billing cycle. If the seat has been cancelled, this corresponds to the start of the organization's next billing cycle." - }, - "last_activity_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "Timestamp of user's last GitHub Copilot activity, in ISO 8601 format." - }, - "last_activity_editor": { - "type": [ - "string", - "null" - ], - "description": "Last editor that was used by the user for a GitHub Copilot completion." - }, - "last_authenticated_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "Timestamp of the last time the user authenticated with GitHub Copilot, in ISO 8601 format." - }, "created_at": { + "description": "The date and time the role was created.", "type": "string", - "format": "date-time", - "description": "Timestamp of when the assignee was last granted access to GitHub Copilot, in ISO 8601 format." + "format": "date-time" }, "updated_at": { + "description": "The date and time the role was last updated.", "type": "string", - "format": "date-time", - "deprecated": true, - "description": "**Closing down notice:** This field is no longer relevant and is closing down. Use the `created_at` field to determine when the assignee was last granted access to GitHub Copilot. Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format." - }, - "plan_type": { - "type": "string", - "description": "The Copilot plan of the organization, or the parent enterprise, when applicable.", - "enum": [ - "business", - "enterprise", - "unknown" - ] + "format": "date-time" } }, "required": [ - "created_at" - ], - "additionalProperties": false + "id", + "name", + "permissions", + "enterprise", + "created_at", + "updated_at" + ] } } } @@ -47952,79 +48851,55 @@ "examples": { "default": { "value": { - "total_seats": 2, - "seats": [ + "total_count": 2, + "roles": [ { - "created_at": "2021-08-03T18:00:00-06:00", - "updated_at": "2021-09-23T15:00:00-06:00", - "pending_cancellation_date": null, - "last_activity_at": "2021-10-14T00:53:32-06:00", - "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", - "last_authenticated_at": "2021-10-14T00:53:32-06:00", - "plan_type": "business", - "assignee": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", + "id": 8030, + "name": "Security Manager", + "description": "A role for security managers", + "permissions": [ + "read_enterprise_custom_enterprise_role", + "write_enterprise_security_configuration" + ], + "enterprise": { + "id": "1,", + "slug": "github-inc", + "name": "GitHub, Inc", + "node_id": "E_kgAB", "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false + "description": "A great enterprise", + "website_url": null, + "html_url": "https://github.com/enterprises/github-inc", + "created_at": "2025-07-17T18:00:58Z", + "updated_at": "2025-07-17T18:00:58Z" }, - "assigning_team": { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } + "created_at": "2022-07-04T22:19:11Z", + "updated_at": "2022-07-04T22:20:11Z", + "source": "Enterprise" }, { - "created_at": "2021-09-23T18:00:00-06:00", - "updated_at": "2021-09-23T15:00:00-06:00", - "pending_cancellation_date": "2021-11-01", - "last_activity_at": "2021-10-13T00:53:32-06:00", - "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", - "last_authenticated_at": "2021-10-14T00:53:32-06:00", - "assignee": { - "login": "octokitten", - "id": 1, - "node_id": "MDQ76VNlcjE=", - "avatar_url": "https://github.com/images/error/octokitten_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octokitten", - "html_url": "https://github.com/octokitten", - "followers_url": "https://api.github.com/users/octokitten/followers", - "following_url": "https://api.github.com/users/octokitten/following{/other_user}", - "gists_url": "https://api.github.com/users/octokitten/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octokitten/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octokitten/subscriptions", - "organizations_url": "https://api.github.com/users/octokitten/orgs", - "repos_url": "https://api.github.com/users/octokitten/repos", - "events_url": "https://api.github.com/users/octokitten/events{/privacy}", - "received_events_url": "https://api.github.com/users/octokitten/received_events", - "type": "User", - "site_admin": false - } + "id": 8031, + "name": "Enterprise Auditor", + "description": "Permissions to read enterprise audit logs and security settings", + "permissions": [ + "read_enterprise_audit_logs", + "read_enterprise_security_configuration" + ], + "enterprise": { + "id": "1,", + "slug": "github-inc", + "name": "GitHub, Inc", + "node_id": "E_kgAB", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great enterprise", + "website_url": null, + "html_url": "https://github.com/enterprises/github-inc", + "created_at": "2025-07-17T18:00:58Z", + "updated_at": "2025-07-17T18:00:58Z" + }, + "created_at": "2022-07-04T22:19:11Z", + "updated_at": "2022-07-04T22:20:11Z", + "source": "Enterprise" } ] } @@ -48033,8 +48908,2620 @@ } } }, - "500": { - "description": "Internal Error", + "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": true, + "category": "enterprise-admin", + "subcategory": "enterprise-roles" + } + } + }, + "/enterprises/{enterprise}/enterprise-roles/teams/{team_slug}": { + "delete": { + "summary": "Remove all enterprise roles from a team", + "description": "Removes all assigned enterprise roles from a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/revoke-all-enterprise-roles-team", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the enterprise team name.", + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Response if the enterprise roles feature is not enabled for the enterprise, or validation failed." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "enterprise-roles" + } + } + }, + "/enterprises/{enterprise}/enterprise-roles/teams/{team_slug}/{role_id}": { + "put": { + "summary": "Assign an enterprise role to a team", + "description": "Assigns an enterprise role to a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/assign-team-to-enterprise-role", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the enterprise team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "role_id", + "description": "The unique identifier of the role.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Response if the enterprise roles feature is not enabled for the enterprise, or validation failed." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "enterprise-roles" + } + }, + "delete": { + "summary": "Remove an enterprise role from a team", + "description": "Removes an enterprise role from a team in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/revoke-enterprise-role-team", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the enterprise team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "role_id", + "description": "The unique identifier of the role.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Response if the enterprise roles feature is not enabled for the enterprise, or validation failed." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "enterprise-roles" + } + } + }, + "/enterprises/{enterprise}/enterprise-roles/users/{username}": { + "delete": { + "summary": "Remove all enterprise roles from a user", + "description": "Removes all enterprise roles from an enterprise user in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/remove-all-enterprise-roles-from-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Response if the enterprise roles feature is not enabled for the enterprise, or validation failed." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "enterprise-roles" + } + } + }, + "/enterprises/{enterprise}/enterprise-roles/users/{username}/{role_id}": { + "put": { + "summary": "Assign an enterprise role to an enterprise user", + "description": "Assigns an enterprise role to a user in an enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/assign-enterprise-role-to-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "role_id", + "description": "The unique identifier of the role.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Response if the enterprise roles feature is not enabled for the enterprise, or validation failed." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "enterprise-roles" + } + }, + "delete": { + "summary": "Remove enterprise user role assignment", + "description": "Removes an enterprise role from an enterprise user.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/remove-enterprise-user-role-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "role_id", + "description": "The unique identifier of the role.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Response if the enterprise roles feature is not enabled for the enterprise, or validation failed." + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "enterprise-roles" + } + } + }, + "/enterprises/{enterprise}/enterprise-roles/{role_id}": { + "get": { + "summary": "Get an enterprise role", + "description": "Gets a custom enterprise role that is available within the enterprise.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-role", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-an-enterprise-role" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "role_id", + "description": "The unique identifier of the role.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Role", + "description": "Enterprise custom roles", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the role.", + "type": "integer", + "format": "int64" + }, + "name": { + "description": "The name of the role.", + "type": "string" + }, + "description": { + "description": "A short description about who this role is for or what permissions it grants.", + "type": [ + "string", + "null" + ] + }, + "source": { + "type": [ + "string", + "null" + ], + "description": "Source answers the question, \"where did this role come from?\"", + "enum": [ + "Enterprise", + "Predefined", + null + ] + }, + "permissions": { + "description": "A list of permissions included in this role.", + "type": "array", + "items": { + "type": "string" + } + }, + "enterprise": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Enterprise", + "description": "An enterprise on GitHub.", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + } + ] + }, + "created_at": { + "description": "The date and time the role was created.", + "type": "string", + "format": "date-time" + }, + "updated_at": { + "description": "The date and time the role was last updated.", + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "name", + "permissions", + "enterprise", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "id": 8030, + "name": "Security Manager", + "description": "A role for security managers", + "permissions": [ + "read_enterprise_custom_enterprise_role", + "write_enterprise_security_configuration" + ], + "enterprise": { + "id": "1,", + "slug": "github-inc", + "name": "GitHub, Inc", + "node_id": "E_kgAB", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great enterprise", + "website_url": null, + "html_url": "https://github.com/enterprises/github-inc", + "created_at": "2025-07-17T18:00:58Z", + "updated_at": "2025-07-17T18:00:58Z" + }, + "created_at": "2022-07-04T22:19:11Z", + "updated_at": "2022-07-04T22:20:11Z", + "source": "Enterprise" + } + } + } + } + } + }, + "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": true, + "category": "enterprise-admin", + "subcategory": "enterprise-roles" + } + } + }, + "/enterprises/{enterprise}/enterprise-roles/{role_id}/teams": { + "get": { + "summary": "List teams that are assigned to an enterprise role", + "description": "Lists the teams that are assigned to an enterprise role.\n\nTo use this endpoint, the authenticated user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/list-enterprise-role-teams", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "role_id", + "description": "The unique identifier of the role.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ] + } + } + } + } + }, + "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": true, + "category": "enterprise-admin", + "subcategory": "enterprise-roles" + } + } + }, + "/enterprises/{enterprise}/enterprise-roles/{role_id}/users": { + "get": { + "summary": "List users that are assigned to an enterprise role", + "description": "Lists enterprise members that are assigned to an enterprise role.\n\nTo use this endpoint, a user must be one of:\n\n - An administrator for the enterprise.\n - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise.\n\nOAuth app tokens and personal access tokens (classic) require the `enterprise:admin` scope to access this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/list-enterprise-role-users", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "role_id", + "description": "The unique identifier of the role.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response - List of assigned users", + "content": { + "application/json": { + "schema": { + "type": "array", + "description": "List of users assigned to the enterprise role", + "items": { + "title": "An Enterprise Role Assignment for a User", + "description": "The Relationship a User has with a role in an enterprise context.", + "allOf": [ + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + { + "type": "object", + "properties": { + "assignment": { + "type": "string", + "description": "Determines if the user has a direct, indirect, or mixed relationship to a role", + "enum": [ + "direct", + "indirect", + "mixed" + ], + "examples": [ + "direct" + ] + }, + "inherited_from": { + "description": "Enterprise Team the user has gotten the role through", + "type": "array", + "items": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + } + } + } + } + ] + } + }, + "examples": { + "default": { + "value": [ + { + "assignment": "direct", + "inherited_from": [], + "name": "The Octocat", + "email": "octocat@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "41d064eb2195891e12d0413f63227ea7", + "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 + }, + { + "assignment": "indirect", + "inherited_from": [ + { + "id": 1, + "name": "Justice League", + "description": "Enterprise team for superheroes", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "sync_to_organizations": "disabled", + "organization_selection_type": "disabled", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "group_name": "Justice League", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + ], + "name": "Mona Lisa", + "email": "mona@github.com", + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://github.com/images/error/monalisa_happy.gif", + "gravatar_id": null, + "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": false + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": true, + "category": "enterprise-admin", + "subcategory": "enterprise-roles" + } + } + }, + "/enterprises/{enterprise}/license-sync-status": { + "get": { + "summary": "Get a license sync status", + "description": "Gets information about the status of a license sync job for an enterprise.\n\nThe authenticated user must be an enterprise admin to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `read:enterprise` scope to use this endpoint.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-license-sync-status", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "License Sync Status Response", + "content": { + "application/json": { + "schema": { + "title": "License Sync Status", + "description": "Information about the status of a license sync job for an enterprise.", + "properties": { + "server_instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "server_id": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "last_sync": { + "type": "object", + "properties": { + "date": { + "type": "string" + }, + "status": { + "type": "string" + }, + "error": { + "type": "string" + } + } + } + } + } + } + } + }, + "examples": { + "default": { + "value": { + "server_instances": [ + { + "server_id": "deadbeef1", + "hostname": "github.example.com", + "last_sync": { + "date": "2020-01-01T00:00:00Z", + "status": "success", + "error": "" + } + }, + { + "server_id": "filetoffish1", + "hostname": "github2.example.com", + "last_sync": { + "date": "2020-01-01T00:00:00Z", + "status": "success", + "error": "" + } + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "previews": [], + "category": "enterprise-admin", + "subcategory": "license" + } + } + }, + "/enterprises/{enterprise}/members/{username}/copilot": { + "get": { + "summary": "Get Copilot seat assignment details for an enterprise user", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets the GitHub Copilot seat details for a member of an enterprise who currently has access to GitHub Copilot.\n\nThe seat object contains information about the user's most recent Copilot activity. Users must have telemetry enabled in their IDE for Copilot in the IDE activity to be reflected in `last_activity_at`.\n\nOnly enterprise owners can view Copilot seat assignment details for members of their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/get-copilot-seat-details-for-enterprise-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The user's GitHub Copilot seat details, including usage.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "total_seats": { + "type": "integer", + "description": "The total number of Copilot seats the enterprise is being billed for. Users with access through enterprise, enterprise teams or multiple organizations are only counted once." + }, + "seats": { + "type": "array", + "items": { + "title": "Copilot Business Seat Detail", + "description": "Information about a Copilot Business seat assignment for a user, team, or organization.", + "type": "object", + "properties": { + "assignee": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + }, + "organization": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + ] + }, + "assigning_team": { + "description": "The team through which the assignee is granted access to GitHub Copilot, if applicable.", + "oneOf": [ + { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": [ + "string", + "null" + ] + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "examples": [ + 37 + ] + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "examples": [ + 42 + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "type" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent", + "type" + ] + }, + { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + } + ], + "type": [ + "null", + "object" + ] + }, + "pending_cancellation_date": { + "type": [ + "string", + "null" + ], + "format": "date", + "description": "The pending cancellation date for the seat, in `YYYY-MM-DD` format. This will be null unless the assignee's Copilot access has been canceled during the current billing cycle. If the seat has been cancelled, this corresponds to the start of the organization's next billing cycle." + }, + "last_activity_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "Timestamp of user's last GitHub Copilot activity, in ISO 8601 format." + }, + "last_activity_editor": { + "type": [ + "string", + "null" + ], + "description": "Last editor that was used by the user for a GitHub Copilot completion." + }, + "last_authenticated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "Timestamp of the last time the user authenticated with GitHub Copilot, in ISO 8601 format." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "Timestamp of when the assignee was last granted access to GitHub Copilot, in ISO 8601 format." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "deprecated": true, + "description": "**Closing down notice:** This field is no longer relevant and is closing down. Use the `created_at` field to determine when the assignee was last granted access to GitHub Copilot. Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format." + }, + "plan_type": { + "type": "string", + "description": "The Copilot plan of the organization, or the parent enterprise, when applicable.", + "enum": [ + "business", + "enterprise", + "unknown" + ] + } + }, + "required": [ + "created_at" + ], + "additionalProperties": false + } + } + } + }, + "examples": { + "default": { + "value": { + "total_seats": 2, + "seats": [ + { + "created_at": "2021-08-03T18:00:00-06:00", + "updated_at": "2021-09-23T15:00:00-06:00", + "pending_cancellation_date": null, + "last_activity_at": "2021-10-14T00:53:32-06:00", + "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", + "plan_type": "business", + "assignee": { + "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 + }, + "assigning_team": { + "id": 1, + "node_id": "MDQ6VGVhbTE=", + "url": "https://api.github.com/teams/1", + "html_url": "https://github.com/orgs/github/teams/justice-league", + "name": "Justice League", + "slug": "justice-league", + "description": "A great team.", + "privacy": "closed", + "notification_setting": "notifications_enabled", + "permission": "admin", + "members_url": "https://api.github.com/teams/1/members{/member}", + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null + } + }, + { + "created_at": "2021-09-23T18:00:00-06:00", + "updated_at": "2021-09-23T15:00:00-06:00", + "pending_cancellation_date": "2021-11-01", + "last_activity_at": "2021-10-13T00:53:32-06:00", + "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", + "assignee": { + "login": "octokitten", + "id": 1, + "node_id": "MDQ76VNlcjE=", + "avatar_url": "https://github.com/images/error/octokitten_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octokitten", + "html_url": "https://github.com/octokitten", + "followers_url": "https://api.github.com/users/octokitten/followers", + "following_url": "https://api.github.com/users/octokitten/following{/other_user}", + "gists_url": "https://api.github.com/users/octokitten/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octokitten/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octokitten/subscriptions", + "organizations_url": "https://api.github.com/users/octokitten/orgs", + "repos_url": "https://api.github.com/users/octokitten/repos", + "events_url": "https://api.github.com/users/octokitten/events{/privacy}", + "received_events_url": "https://api.github.com/users/octokitten/received_events", + "type": "User", + "site_admin": false + } + } + ] + } + } + } + } + } + }, + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { @@ -48924,6 +52411,1847 @@ } } }, + "/enterprises/{enterprise}/org-properties/schema": { + "get": { + "summary": "Get organization custom properties schema for an enterprise", + "description": "Gets all organization custom property definitions that are defined on an enterprise.\n\nAccess requirements:\n- Enterprise admins\n- OAuth tokens and personal access tokens (classic) with the `read:enterprise` scope\n- Actors with the enterprise-level \"read enterprise custom properties for organizations\" fine-grained permission or above", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/custom-properties-for-orgs-get-enterprise-definitions", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#get-organization-custom-properties-schema-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": "array", + "items": { + "title": "Custom Property for Organization", + "description": "Custom property defined for an organization", + "allOf": [ + { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + } + } + }, + { + "type": "object", + "properties": { + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "enterprise_actors", + "enterprise_and_org_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "enterprise_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + ] + } + }, + "examples": { + "default": { + "value": { + "properties": [ + { + "property_name": "environment", + "url": "https://api.github.com/enterprises/github/org-properties/schema/environment", + "source_type": "enterprise", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "enterprise_actors" + }, + { + "property_name": "service", + "url": "https://api.github.com/enterprises/github/org-properties/schema/service", + "source_type": "enterprise", + "value_type": "string" + }, + { + "property_name": "team", + "url": "https://api.github.com/enterprises/github/org-properties/schema/team", + "source_type": "enterprise", + "value_type": "string", + "description": "Team owning the organization" + } + ] + } + } + } + } + } + }, + "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": true, + "category": "enterprise-admin", + "subcategory": "custom-properties-for-orgs" + } + }, + "patch": { + "summary": "Create or update organization custom property definitions on an enterprise", + "description": "Creates new or updates existing organization custom properties defined on an enterprise in a batch.\n\nIf the property already exists, the existing property will be replaced with the new values.\nMissing optional values will fall back to default values, previous values will be overwritten.\n\nAccess requirements:\n- Enterprise admins\n- OAuth tokens and personal access tokens (classic) with the `admin:enterprise` scope\n- Actors with the enterprise-level \"manage enterprise custom properties for organizations\" fine-grained permission", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/custom-properties-for-orgs-create-or-update-enterprise-definitions", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-organization-custom-property-definitions-on-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "properties": { + "type": "array", + "description": "The array of organization custom properties to create or update.", + "items": { + "title": "Custom Property for Organization", + "description": "Custom property defined for an organization", + "allOf": [ + { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + } + } + }, + { + "type": "object", + "properties": { + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "enterprise_actors", + "enterprise_and_org_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "enterprise_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + ] + }, + "minItems": 1, + "maxItems": 100 + } + }, + "required": [ + "properties" + ] + }, + "examples": { + "default": { + "value": { + "properties": [ + { + "property_name": "environment", + "url": "https://api.github.com/enterprises/github/org-properties/schema/environment", + "source_type": "enterprise", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "enterprise_actors" + }, + { + "property_name": "service", + "url": "https://api.github.com/enterprises/github/org-properties/schema/service", + "source_type": "enterprise", + "value_type": "string" + }, + { + "property_name": "team", + "url": "https://api.github.com/enterprises/github/org-properties/schema/team", + "source_type": "enterprise", + "value_type": "string", + "description": "Team owning the organization" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Custom Property for Organization", + "description": "Custom property defined for an organization", + "allOf": [ + { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + } + } + }, + { + "type": "object", + "properties": { + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "enterprise_actors", + "enterprise_and_org_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "enterprise_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + ] + } + }, + "examples": { + "default": { + "value": { + "properties": [ + { + "property_name": "environment", + "url": "https://api.github.com/enterprises/github/org-properties/schema/environment", + "source_type": "enterprise", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "enterprise_actors" + }, + { + "property_name": "service", + "url": "https://api.github.com/enterprises/github/org-properties/schema/service", + "source_type": "enterprise", + "value_type": "string" + }, + { + "property_name": "team", + "url": "https://api.github.com/enterprises/github/org-properties/schema/team", + "source_type": "enterprise", + "value_type": "string", + "description": "Team owning the organization" + } + ] + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties-for-orgs" + } + } + }, + "/enterprises/{enterprise}/org-properties/schema/{custom_property_name}": { + "get": { + "summary": "Get an organization custom property definition from an enterprise", + "description": "Gets an organization custom property definition that is defined on an enterprise.\n\nAccess requirements:\n- Enterprise admins\n- OAuth tokens and personal access tokens (classic) with the `read:enterprise` scope\n- Actors with the enterprise-level \"read enterprise custom properties for organizations\" fine-grained permission or above", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/custom-properties-for-orgs-get-enterprise-definition", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "custom_property_name", + "description": "The custom property name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Custom Property for Organization", + "description": "Custom property defined for an organization", + "allOf": [ + { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + } + } + }, + { + "type": "object", + "properties": { + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "enterprise_actors", + "enterprise_and_org_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "enterprise_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + ] + }, + "examples": { + "default": { + "value": { + "property_name": "environment", + "url": "https://api.github.com/enterprises/github/org-properties/schema/environment", + "source_type": "enterprise", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "enterprise_actors" + } + } + } + } + } + }, + "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": true, + "category": "enterprise-admin", + "subcategory": "custom-properties-for-orgs" + } + }, + "put": { + "summary": "Create or update an organization custom property definition on an enterprise", + "description": "Creates a new or updates an existing organization custom property definition that is defined on an enterprise.\n\nAccess requirements:\n- Enterprise admins\n- OAuth tokens and personal access tokens (classic) with the `admin:enterprise` scope\n- Actors with the enterprise-level \"manage enterprise custom properties for organizations\" fine-grained permission", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/custom-properties-for-orgs-create-or-update-enterprise-definition", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "custom_property_name", + "description": "The custom property name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Organization Custom Property Payload", + "description": "Payload for creating or updating an organization custom property definition on an enterprise.", + "type": "object", + "properties": { + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property.", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property.", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property." + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "enterprise_actors", + "enterprise_and_org_actors", + null + ], + "description": "Who can edit the values of the property.", + "examples": [ + "enterprise_actors" + ] + } + }, + "required": [ + "value_type" + ] + }, + "examples": { + "default": { + "value": { + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Custom Property for Organization", + "description": "Custom property defined for an organization", + "allOf": [ + { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + } + } + }, + { + "type": "object", + "properties": { + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "enterprise_actors", + "enterprise_and_org_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "enterprise_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + ] + }, + "examples": { + "default": { + "value": { + "property_name": "environment", + "url": "https://api.github.com/enterprises/github/org-properties/schema/environment", + "source_type": "enterprise", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "enterprise_actors" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties-for-orgs" + } + }, + "delete": { + "summary": "Remove an organization custom property definition from an enterprise", + "description": "Removes an organization custom property definition that is defined on an enterprise.\n\nAccess requirements:\n- Enterprise admins\n- OAuth tokens and personal access tokens (classic) with the `admin:enterprise` scope\n- Actors with the enterprise-level \"manage enterprise custom properties for organizations\" fine-grained permission", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/custom-properties-for-orgs-delete-enterprise-definition", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#remove-an-organization-custom-property-definition-from-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "custom_property_name", + "description": "The custom property name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties-for-orgs" + } + } + }, + "/enterprises/{enterprise}/org-properties/values": { + "get": { + "summary": "List custom property values for organizations in an enterprise", + "description": "Lists enterprise organizations with all of their custom property values.\n\nAccess requirements:\n- Enterprise admins\n- OAuth tokens and personal access tokens (classic) with the `read:enterprise` scope\n- Actors with the enterprise-level \"read enterprise custom properties for organizations\" fine-grained permission or above", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/custom-properties-for-orgs-get-enterprise-values", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#list-custom-property-values-for-organizations-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "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": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Enterprise Organization Custom Property Values", + "description": "List of custom property values for an organization", + "type": "object", + "properties": { + "organization_id": { + "type": "integer", + "examples": [ + 1296269 + ] + }, + "organization_login": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "properties": { + "type": "array", + "items": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + }, + "description": "List of custom property names and associated values" + } + }, + "required": [ + "organization_id", + "organization_login", + "properties" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "organization_id": 1296269, + "organization_login": "Hello-World", + "properties": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": true, + "category": "enterprise-admin", + "subcategory": "custom-properties-for-orgs" + } + }, + "patch": { + "summary": "Create or update custom property values for organizations in an enterprise", + "description": "Create or update custom property values for organizations in an enterprise.\n\nTo remove a custom property value from an organization, set the property value to `null`.\n\nAccess requirements:\n- Enterprise admins\n- OAuth tokens and personal access tokens (classic) with the `admin:enterprise` scope\n- Actors with the enterprise-level \"edit enterprise custom properties for organizations\" fine-grained permission or above", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/custom-properties-for-orgs-create-or-update-enterprise-values", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-custom-property-values-for-organizations-in-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organization_logins": { + "type": "array", + "description": "The names of organizations that the custom property values will be applied to.", + "items": { + "type": "string" + }, + "minItems": 1, + "maxItems": 30 + }, + "properties": { + "type": "array", + "description": "List of custom property names and associated values to apply to the organizations.", + "items": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + } + } + }, + "required": [ + "organization_logins", + "properties" + ] + }, + "examples": { + "default": { + "value": { + "organization_logins": [ + "acme", + "github" + ], + "properties": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content when custom property values are successfully created or updated" + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties-for-orgs" + } + } + }, "/enterprises/{enterprise}/properties/schema": { "get": { "summary": "Get custom properties for an enterprise", @@ -50591,72 +55919,406 @@ }, { "type": "object", - "title": "organization_name_and_repository_property", - "description": "Conditions to target organizations by name and repositories by property", + "title": "organization_name_and_repository_property", + "description": "Conditions to target organizations by name and repositories by property", + "allOf": [ + { + "title": "Repository ruleset conditions for organization names", + "type": "object", + "description": "Parameters for an organization name condition", + "properties": { + "organization_name": { + "type": "object", + "properties": { + "include": { + "type": "array", + "description": "Array of organization names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all organizations and ~EMUS to target all enterprise managed user accounts.", + "items": { + "type": "string" + } + }, + "exclude": { + "type": "array", + "description": "Array of organization names or patterns to exclude. The condition will not pass if any of these patterns match.", + "items": { + "type": "string" + } + } + } + } + }, + "required": [ + "organization_name" + ] + }, + { + "title": "Repository ruleset conditions for repository properties", + "type": "object", + "description": "Parameters for a repository property condition", + "properties": { + "repository_property": { + "type": "object", + "properties": { + "include": { + "type": "array", + "description": "The repository properties and values to include. All of these properties must match for the condition to pass.", + "items": { + "title": "Repository ruleset property targeting definition", + "type": "object", + "description": "Parameters for a targeting a repository property", + "properties": { + "name": { + "type": "string", + "description": "The name of the repository property to target" + }, + "property_values": { + "type": "array", + "description": "The values to match for the repository property", + "items": { + "type": "string" + } + }, + "source": { + "type": "string", + "description": "The source of the repository property. Defaults to 'custom' if not specified.", + "enum": [ + "custom", + "system" + ] + } + }, + "required": [ + "name", + "property_values" + ] + } + }, + "exclude": { + "type": "array", + "description": "The repository properties and values to exclude. The condition will not pass if any of these properties match.", + "items": { + "title": "Repository ruleset property targeting definition", + "type": "object", + "description": "Parameters for a targeting a repository property", + "properties": { + "name": { + "type": "string", + "description": "The name of the repository property to target" + }, + "property_values": { + "type": "array", + "description": "The values to match for the repository property", + "items": { + "type": "string" + } + }, + "source": { + "type": "string", + "description": "The source of the repository property. Defaults to 'custom' if not specified.", + "enum": [ + "custom", + "system" + ] + } + }, + "required": [ + "name", + "property_values" + ] + } + } + } + } + }, + "required": [ + "repository_property" + ] + }, + { + "title": "Repository ruleset conditions for ref names", + "type": "object", + "description": "Parameters for a repository ruleset ref name condition", + "properties": { + "ref_name": { + "type": "object", + "properties": { + "include": { + "type": "array", + "description": "Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.", + "items": { + "type": "string" + } + }, + "exclude": { + "type": "array", + "description": "Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.", + "items": { + "type": "string" + } + } + } + } + } + } + ] + }, + { + "type": "object", + "title": "organization_id_and_repository_name", + "description": "Conditions to target organizations by id and all repositories", + "allOf": [ + { + "title": "Repository ruleset conditions for organization IDs", + "type": "object", + "description": "Parameters for an organization ID condition", + "properties": { + "organization_id": { + "type": "object", + "properties": { + "organization_ids": { + "type": "array", + "description": "The organization IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", + "items": { + "type": "integer" + } + } + } + } + }, + "required": [ + "organization_id" + ] + }, + { + "title": "Repository ruleset conditions for repository names", + "type": "object", + "description": "Parameters for a repository name condition", + "properties": { + "repository_name": { + "type": "object", + "properties": { + "include": { + "type": "array", + "description": "Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.", + "items": { + "type": "string" + } + }, + "exclude": { + "type": "array", + "description": "Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.", + "items": { + "type": "string" + } + }, + "protected": { + "type": "boolean", + "description": "Whether renaming of target repositories is prevented." + } + } + } + }, + "required": [ + "repository_name" + ] + }, + { + "title": "Repository ruleset conditions for ref names", + "type": "object", + "description": "Parameters for a repository ruleset ref name condition", + "properties": { + "ref_name": { + "type": "object", + "properties": { + "include": { + "type": "array", + "description": "Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.", + "items": { + "type": "string" + } + }, + "exclude": { + "type": "array", + "description": "Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.", + "items": { + "type": "string" + } + } + } + } + } + } + ] + }, + { + "type": "object", + "title": "organization_id_and_repository_property", + "description": "Conditions to target organization by id and repositories by property", + "allOf": [ + { + "title": "Repository ruleset conditions for organization IDs", + "type": "object", + "description": "Parameters for an organization ID condition", + "properties": { + "organization_id": { + "type": "object", + "properties": { + "organization_ids": { + "type": "array", + "description": "The organization IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", + "items": { + "type": "integer" + } + } + } + } + }, + "required": [ + "organization_id" + ] + }, + { + "title": "Repository ruleset conditions for repository properties", + "type": "object", + "description": "Parameters for a repository property condition", + "properties": { + "repository_property": { + "type": "object", + "properties": { + "include": { + "type": "array", + "description": "The repository properties and values to include. All of these properties must match for the condition to pass.", + "items": { + "title": "Repository ruleset property targeting definition", + "type": "object", + "description": "Parameters for a targeting a repository property", + "properties": { + "name": { + "type": "string", + "description": "The name of the repository property to target" + }, + "property_values": { + "type": "array", + "description": "The values to match for the repository property", + "items": { + "type": "string" + } + }, + "source": { + "type": "string", + "description": "The source of the repository property. Defaults to 'custom' if not specified.", + "enum": [ + "custom", + "system" + ] + } + }, + "required": [ + "name", + "property_values" + ] + } + }, + "exclude": { + "type": "array", + "description": "The repository properties and values to exclude. The condition will not pass if any of these properties match.", + "items": { + "title": "Repository ruleset property targeting definition", + "type": "object", + "description": "Parameters for a targeting a repository property", + "properties": { + "name": { + "type": "string", + "description": "The name of the repository property to target" + }, + "property_values": { + "type": "array", + "description": "The values to match for the repository property", + "items": { + "type": "string" + } + }, + "source": { + "type": "string", + "description": "The source of the repository property. Defaults to 'custom' if not specified.", + "enum": [ + "custom", + "system" + ] + } + }, + "required": [ + "name", + "property_values" + ] + } + } + } + } + }, + "required": [ + "repository_property" + ] + }, + { + "title": "Repository ruleset conditions for ref names", + "type": "object", + "description": "Parameters for a repository ruleset ref name condition", + "properties": { + "ref_name": { + "type": "object", + "properties": { + "include": { + "type": "array", + "description": "Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.", + "items": { + "type": "string" + } + }, + "exclude": { + "type": "array", + "description": "Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.", + "items": { + "type": "string" + } + } + } + } + } + } + ] + }, + { + "type": "object", + "title": "organization_property_and_repository_name", + "description": "Conditions to target organizations by property and all repositories", "allOf": [ { - "title": "Repository ruleset conditions for organization names", + "title": "Repository ruleset conditions for organization properties", "type": "object", - "description": "Parameters for an organization name condition", + "description": "Parameters for a organization property condition", "properties": { - "organization_name": { + "organization_property": { "type": "object", "properties": { "include": { "type": "array", - "description": "Array of organization names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all organizations and ~EMUS to target all enterprise managed user accounts.", - "items": { - "type": "string" - } - }, - "exclude": { - "type": "array", - "description": "Array of organization names or patterns to exclude. The condition will not pass if any of these patterns match.", - "items": { - "type": "string" - } - } - } - } - }, - "required": [ - "organization_name" - ] - }, - { - "title": "Repository ruleset conditions for repository properties", - "type": "object", - "description": "Parameters for a repository property condition", - "properties": { - "repository_property": { - "type": "object", - "properties": { - "include": { - "type": "array", - "description": "The repository properties and values to include. All of these properties must match for the condition to pass.", + "description": "The organization properties and values to include. All of these properties must match for the condition to pass.", "items": { "title": "Repository ruleset property targeting definition", "type": "object", - "description": "Parameters for a targeting a repository property", + "description": "Parameters for a targeting a organization property", "properties": { "name": { "type": "string", - "description": "The name of the repository property to target" + "description": "The name of the organization property to target" }, "property_values": { "type": "array", - "description": "The values to match for the repository property", + "description": "The values to match for the organization property", "items": { "type": "string" } - }, - "source": { - "type": "string", - "description": "The source of the repository property. Defaults to 'custom' if not specified.", - "enum": [ - "custom", - "system" - ] } }, "required": [ @@ -50667,30 +56329,22 @@ }, "exclude": { "type": "array", - "description": "The repository properties and values to exclude. The condition will not pass if any of these properties match.", + "description": "The organization properties and values to exclude. The condition will not pass if any of these properties match.", "items": { "title": "Repository ruleset property targeting definition", "type": "object", - "description": "Parameters for a targeting a repository property", + "description": "Parameters for a targeting a organization property", "properties": { "name": { "type": "string", - "description": "The name of the repository property to target" + "description": "The name of the organization property to target" }, "property_values": { "type": "array", - "description": "The values to match for the repository property", + "description": "The values to match for the organization property", "items": { "type": "string" } - }, - "source": { - "type": "string", - "description": "The source of the repository property. Defaults to 'custom' if not specified.", - "enum": [ - "custom", - "system" - ] } }, "required": [ @@ -50703,62 +56357,7 @@ } }, "required": [ - "repository_property" - ] - }, - { - "title": "Repository ruleset conditions for ref names", - "type": "object", - "description": "Parameters for a repository ruleset ref name condition", - "properties": { - "ref_name": { - "type": "object", - "properties": { - "include": { - "type": "array", - "description": "Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.", - "items": { - "type": "string" - } - }, - "exclude": { - "type": "array", - "description": "Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.", - "items": { - "type": "string" - } - } - } - } - } - } - ] - }, - { - "type": "object", - "title": "organization_id_and_repository_name", - "description": "Conditions to target organizations by id and all repositories", - "allOf": [ - { - "title": "Repository ruleset conditions for organization IDs", - "type": "object", - "description": "Parameters for an organization ID condition", - "properties": { - "organization_id": { - "type": "object", - "properties": { - "organization_ids": { - "type": "array", - "description": "The organization IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", - "items": { - "type": "integer" - } - } - } - } - }, - "required": [ - "organization_id" + "organization_property" ] }, { @@ -50824,29 +56423,74 @@ }, { "type": "object", - "title": "organization_id_and_repository_property", - "description": "Conditions to target organization by id and repositories by property", + "title": "organization_property_and_repository_property", + "description": "Conditions to target organizations by property and repositories by property", "allOf": [ { - "title": "Repository ruleset conditions for organization IDs", + "title": "Repository ruleset conditions for organization properties", "type": "object", - "description": "Parameters for an organization ID condition", + "description": "Parameters for a organization property condition", "properties": { - "organization_id": { + "organization_property": { "type": "object", "properties": { - "organization_ids": { + "include": { "type": "array", - "description": "The organization IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", + "description": "The organization properties and values to include. All of these properties must match for the condition to pass.", "items": { - "type": "integer" + "title": "Repository ruleset property targeting definition", + "type": "object", + "description": "Parameters for a targeting a organization property", + "properties": { + "name": { + "type": "string", + "description": "The name of the organization property to target" + }, + "property_values": { + "type": "array", + "description": "The values to match for the organization property", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "property_values" + ] + } + }, + "exclude": { + "type": "array", + "description": "The organization properties and values to exclude. The condition will not pass if any of these properties match.", + "items": { + "title": "Repository ruleset property targeting definition", + "type": "object", + "description": "Parameters for a targeting a organization property", + "properties": { + "name": { + "type": "string", + "description": "The name of the organization property to target" + }, + "property_values": { + "type": "array", + "description": "The values to match for the organization property", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "property_values" + ] } } } } }, "required": [ - "organization_id" + "organization_property" ] }, { @@ -54766,36 +60410,262 @@ }, { "type": "object", - "title": "organization_name_and_repository_property", - "description": "Conditions to target organizations by name and repositories by property", + "title": "organization_name_and_repository_property", + "description": "Conditions to target organizations by name and repositories by property", + "allOf": [ + { + "title": "Repository ruleset conditions for organization names", + "type": "object", + "description": "Parameters for an organization name condition", + "properties": { + "organization_name": { + "type": "object", + "properties": { + "include": { + "type": "array", + "description": "Array of organization names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all organizations and ~EMUS to target all enterprise managed user accounts.", + "items": { + "type": "string" + } + }, + "exclude": { + "type": "array", + "description": "Array of organization names or patterns to exclude. The condition will not pass if any of these patterns match.", + "items": { + "type": "string" + } + } + } + } + }, + "required": [ + "organization_name" + ] + }, + { + "title": "Repository ruleset conditions for repository properties", + "type": "object", + "description": "Parameters for a repository property condition", + "properties": { + "repository_property": { + "type": "object", + "properties": { + "include": { + "type": "array", + "description": "The repository properties and values to include. All of these properties must match for the condition to pass.", + "items": { + "title": "Repository ruleset property targeting definition", + "type": "object", + "description": "Parameters for a targeting a repository property", + "properties": { + "name": { + "type": "string", + "description": "The name of the repository property to target" + }, + "property_values": { + "type": "array", + "description": "The values to match for the repository property", + "items": { + "type": "string" + } + }, + "source": { + "type": "string", + "description": "The source of the repository property. Defaults to 'custom' if not specified.", + "enum": [ + "custom", + "system" + ] + } + }, + "required": [ + "name", + "property_values" + ] + } + }, + "exclude": { + "type": "array", + "description": "The repository properties and values to exclude. The condition will not pass if any of these properties match.", + "items": { + "title": "Repository ruleset property targeting definition", + "type": "object", + "description": "Parameters for a targeting a repository property", + "properties": { + "name": { + "type": "string", + "description": "The name of the repository property to target" + }, + "property_values": { + "type": "array", + "description": "The values to match for the repository property", + "items": { + "type": "string" + } + }, + "source": { + "type": "string", + "description": "The source of the repository property. Defaults to 'custom' if not specified.", + "enum": [ + "custom", + "system" + ] + } + }, + "required": [ + "name", + "property_values" + ] + } + } + } + } + }, + "required": [ + "repository_property" + ] + }, + { + "title": "Repository ruleset conditions for ref names", + "type": "object", + "description": "Parameters for a repository ruleset ref name condition", + "properties": { + "ref_name": { + "type": "object", + "properties": { + "include": { + "type": "array", + "description": "Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.", + "items": { + "type": "string" + } + }, + "exclude": { + "type": "array", + "description": "Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.", + "items": { + "type": "string" + } + } + } + } + } + } + ] + }, + { + "type": "object", + "title": "organization_id_and_repository_name", + "description": "Conditions to target organizations by id and all repositories", + "allOf": [ + { + "title": "Repository ruleset conditions for organization IDs", + "type": "object", + "description": "Parameters for an organization ID condition", + "properties": { + "organization_id": { + "type": "object", + "properties": { + "organization_ids": { + "type": "array", + "description": "The organization IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", + "items": { + "type": "integer" + } + } + } + } + }, + "required": [ + "organization_id" + ] + }, + { + "title": "Repository ruleset conditions for repository names", + "type": "object", + "description": "Parameters for a repository name condition", + "properties": { + "repository_name": { + "type": "object", + "properties": { + "include": { + "type": "array", + "description": "Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.", + "items": { + "type": "string" + } + }, + "exclude": { + "type": "array", + "description": "Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.", + "items": { + "type": "string" + } + }, + "protected": { + "type": "boolean", + "description": "Whether renaming of target repositories is prevented." + } + } + } + }, + "required": [ + "repository_name" + ] + }, + { + "title": "Repository ruleset conditions for ref names", + "type": "object", + "description": "Parameters for a repository ruleset ref name condition", + "properties": { + "ref_name": { + "type": "object", + "properties": { + "include": { + "type": "array", + "description": "Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.", + "items": { + "type": "string" + } + }, + "exclude": { + "type": "array", + "description": "Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.", + "items": { + "type": "string" + } + } + } + } + } + } + ] + }, + { + "type": "object", + "title": "organization_id_and_repository_property", + "description": "Conditions to target organization by id and repositories by property", "allOf": [ { - "title": "Repository ruleset conditions for organization names", + "title": "Repository ruleset conditions for organization IDs", "type": "object", - "description": "Parameters for an organization name condition", + "description": "Parameters for an organization ID condition", "properties": { - "organization_name": { + "organization_id": { "type": "object", "properties": { - "include": { - "type": "array", - "description": "Array of organization names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all organizations and ~EMUS to target all enterprise managed user accounts.", - "items": { - "type": "string" - } - }, - "exclude": { + "organization_ids": { "type": "array", - "description": "Array of organization names or patterns to exclude. The condition will not pass if any of these patterns match.", + "description": "The organization IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", "items": { - "type": "string" + "type": "integer" } } } } }, "required": [ - "organization_name" + "organization_id" ] }, { @@ -54911,29 +60781,74 @@ }, { "type": "object", - "title": "organization_id_and_repository_name", - "description": "Conditions to target organizations by id and all repositories", + "title": "organization_property_and_repository_name", + "description": "Conditions to target organizations by property and all repositories", "allOf": [ { - "title": "Repository ruleset conditions for organization IDs", + "title": "Repository ruleset conditions for organization properties", "type": "object", - "description": "Parameters for an organization ID condition", + "description": "Parameters for a organization property condition", "properties": { - "organization_id": { + "organization_property": { "type": "object", "properties": { - "organization_ids": { + "include": { "type": "array", - "description": "The organization IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", + "description": "The organization properties and values to include. All of these properties must match for the condition to pass.", "items": { - "type": "integer" + "title": "Repository ruleset property targeting definition", + "type": "object", + "description": "Parameters for a targeting a organization property", + "properties": { + "name": { + "type": "string", + "description": "The name of the organization property to target" + }, + "property_values": { + "type": "array", + "description": "The values to match for the organization property", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "property_values" + ] + } + }, + "exclude": { + "type": "array", + "description": "The organization properties and values to exclude. The condition will not pass if any of these properties match.", + "items": { + "title": "Repository ruleset property targeting definition", + "type": "object", + "description": "Parameters for a targeting a organization property", + "properties": { + "name": { + "type": "string", + "description": "The name of the organization property to target" + }, + "property_values": { + "type": "array", + "description": "The values to match for the organization property", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "property_values" + ] } } } } }, "required": [ - "organization_id" + "organization_property" ] }, { @@ -54999,29 +60914,74 @@ }, { "type": "object", - "title": "organization_id_and_repository_property", - "description": "Conditions to target organization by id and repositories by property", + "title": "organization_property_and_repository_property", + "description": "Conditions to target organizations by property and repositories by property", "allOf": [ { - "title": "Repository ruleset conditions for organization IDs", + "title": "Repository ruleset conditions for organization properties", "type": "object", - "description": "Parameters for an organization ID condition", + "description": "Parameters for a organization property condition", "properties": { - "organization_id": { + "organization_property": { "type": "object", "properties": { - "organization_ids": { + "include": { "type": "array", - "description": "The organization IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", + "description": "The organization properties and values to include. All of these properties must match for the condition to pass.", "items": { - "type": "integer" + "title": "Repository ruleset property targeting definition", + "type": "object", + "description": "Parameters for a targeting a organization property", + "properties": { + "name": { + "type": "string", + "description": "The name of the organization property to target" + }, + "property_values": { + "type": "array", + "description": "The values to match for the organization property", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "property_values" + ] + } + }, + "exclude": { + "type": "array", + "description": "The organization properties and values to exclude. The condition will not pass if any of these properties match.", + "items": { + "title": "Repository ruleset property targeting definition", + "type": "object", + "description": "Parameters for a targeting a organization property", + "properties": { + "name": { + "type": "string", + "description": "The name of the organization property to target" + }, + "property_values": { + "type": "array", + "description": "The values to match for the organization property", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "property_values" + ] } } } } }, "required": [ - "organization_id" + "organization_property" ] }, { @@ -59938,7 +65898,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -60968,6 +66928,19 @@ "schema": { "type": "string" } + }, + { + "name": "state", + "in": "query", + "description": "Set to `active` or `deleted` to only list cost centers in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ] + } } ], "responses": { @@ -62886,7 +68859,7 @@ "/enterprises/{enterprise}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an enterprise", - "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -63069,7 +69042,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -63077,7 +69050,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -63085,7 +69058,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -64617,6 +70590,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -66167,6 +72150,876 @@ } } }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "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", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "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" + } + } + }, "/enterprises/{enterprise}/teams/{team_slug}": { "get": { "summary": "Get an enterprise team", @@ -66413,6 +73266,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -114537,10 +121400,391 @@ } } }, + "/organizations/{org}/org-properties/values": { + "get": { + "summary": "Get all custom property values for an organization", + "description": "Gets all custom property values that are set for an organization.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `read:org` scope\n- Actors with the organization-level \"read custom properties for an organization\" fine-grained permission or above", + "tags": [ + "orgs" + ], + "operationId": "orgs/custom-properties-for-orgs-get-organization-values", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-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": "array", + "items": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + } + } + } + } + }, + "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": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "custom-properties-for-orgs" + } + }, + "patch": { + "summary": "Create or update custom property values for an organization", + "description": "Create new or update existing custom property values for an organization.\nTo remove a custom property value from an organization, set the property value to `null`.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `admin:org` scope\n- Actors with the organization-level \"edit custom properties for an organization\" fine-grained permission", + "tags": [ + "orgs" + ], + "operationId": "orgs/custom-properties-for-orgs-create-or-update-organization-values", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "properties": { + "type": "array", + "description": "A list of custom property names and associated values to apply to the organization.", + "items": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + } + } + }, + "required": [ + "properties" + ] + }, + "examples": { + "default": { + "value": { + "properties": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "No Content when custom property values are successfully created or updated" + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "custom-properties-for-orgs" + } + } + }, "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -114684,7 +121928,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -114692,7 +121936,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -114700,7 +121944,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -117275,6 +124519,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -117405,6 +124656,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -117545,6 +124800,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -117563,6 +124825,11 @@ "enable_static_ip": { "description": "Whether this runner should be created with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_gen": { + "description": "Whether this runner should be used to generate custom images.", + "type": "boolean", + "default": false } }, "required": [ @@ -117660,6 +124927,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -117790,6 +125064,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -117845,6 +125123,639 @@ } } }, + "/orgs/{org}/actions/hosted-runners/images/custom": { + "get": { + "summary": "List custom images for an organization", + "description": "List custom images for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-images-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "images" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "images": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": { + "get": { + "summary": "Get a custom image definition for GitHub Actions Hosted Runners", + "description": "Get a custom image definition for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image details", + "description": "Provides details of a custom runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "integer", + "examples": [ + 1 + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "total_versions_size": { + "description": "Total size of all the image versions in GB.", + "type": "integer", + "examples": [ + 200 + ] + }, + "name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + "CustomImage" + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "examples": [ + "custom" + ] + }, + "versions_count": { + "description": "The number of image versions associated with the image.", + "type": "integer", + "examples": [ + 4 + ] + }, + "latest_version": { + "description": "The latest image version associated with the image.", + "type": "string", + "examples": [ + "1.3.0" + ] + }, + "state": { + "description": "The number of image versions associated with the image.", + "type": "string", + "examples": [ + "Ready" + ] + } + }, + "required": [ + "id", + "platform", + "name", + "source", + "versions_count", + "total_versions_size", + "latest_version", + "state" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "platform": "linux-x64", + "name": "CustomImage", + "source": "custom", + "versions_count": 4, + "total_versions_size": 200, + "latest_version": "1.3.0", + "state": "Ready" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a custom image from the organization", + "description": "Delete a custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": { + "get": { + "summary": "List image versions of a custom image for an organization", + "description": "List image versions of a custom image for an organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/list-custom-image-versions-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization" + }, + "parameters": [ + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "image_versions" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "image_versions": { + "type": "array", + "items": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "image_versions": [ + { + "version": "1.1.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-09T23:39:01Z" + }, + { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": { + "get": { + "summary": "Get an image version of a custom image for GitHub Actions Hosted Runners", + "description": "Get an image version of a custom image for GitHub Actions Hosted Runners.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-custom-image-version-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted runner custom image version details.", + "description": "Provides details of a hosted runner custom image version", + "type": "object", + "properties": { + "version": { + "description": "The version of image.", + "type": "string", + "examples": [ + "1.0.0" + ] + }, + "state": { + "description": "The state of image version.", + "type": "string", + "examples": [ + "Ready" + ] + }, + "size_gb": { + "description": "Image version size in GB.", + "type": "integer", + "examples": [ + 30 + ] + }, + "created_on": { + "description": "The creation date time of the image version.", + "type": "string", + "examples": [ + "2024-11-09T23:39:01Z" + ] + }, + "state_details": { + "description": "The image version status details.", + "type": "string", + "examples": [ + "None" + ] + } + }, + "required": [ + "version", + "state", + "size_gb", + "created_on", + "state_details" + ] + }, + "examples": { + "default": { + "value": { + "version": "1.0.0", + "size_gb": 75, + "state": "Ready", + "created_on": "2024-11-08T20:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete an image version of custom image from the organization", + "description": "Delete an image version of custom image from the organization.\n\nOAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/delete-custom-image-version-from-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "image_definition_id", + "description": "Image definition ID of custom image", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "version", + "description": "Version of a custom image", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+$" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "hosted-runners" + } + } + }, "/orgs/{org}/actions/hosted-runners/images/github-owned": { "get": { "summary": "Get GitHub-owned images for GitHub-hosted runners in an organization", @@ -118439,6 +126350,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -118569,6 +126487,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -118684,6 +126606,13 @@ "enable_static_ip": { "description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`", "type": "boolean" + }, + "image_version": { + "description": "The version of the runner image to deploy. This is relevant only for runners using custom images.", + "type": [ + "string", + "null" + ] } } }, @@ -118770,6 +126699,309 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] + } + }, + "required": [ + "id", + "size_gb", + "display_name", + "source" + ] + } + ] + }, + "machine_size_details": { + "title": "Github-owned VM details.", + "description": "Provides details of a particular machine spec.", + "type": "object", + "properties": { + "id": { + "description": "The ID used for the `size` parameter when creating a new runner.", + "type": "string", + "examples": [ + "8-core" + ] + }, + "cpu_cores": { + "description": "The number of cores.", + "type": "integer", + "examples": [ + 8 + ] + }, + "memory_gb": { + "description": "The available RAM for the machine spec.", + "type": "integer", + "examples": [ + 32 + ] + }, + "storage_gb": { + "description": "The available SSD storage for the machine spec.", + "type": "integer", + "examples": [ + 300 + ] + } + }, + "required": [ + "id", + "cpu_cores", + "memory_gb", + "storage_gb" + ] + }, + "status": { + "description": "The status of the runner.", + "type": "string", + "enum": [ + "Ready", + "Provisioning", + "Shutdown", + "Deleting", + "Stuck" + ], + "examples": [ + "Ready" + ] + }, + "platform": { + "description": "The operating system of the image.", + "type": "string", + "examples": [ + "linux-x64" + ] + }, + "maximum_runners": { + "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", + "type": "integer", + "default": 10, + "examples": [ + 5 + ] + }, + "public_ip_enabled": { + "description": "Whether public IP is enabled for the hosted runners.", + "type": "boolean", + "examples": [ + true + ] + }, + "public_ips": { + "description": "The public IP ranges when public IP is enabled for the hosted runners.", + "type": "array", + "items": { + "title": "Public IP for a GitHub-hosted larger runners.", + "description": "Provides details of Public IP for a GitHub-hosted larger runners", + "type": "object", + "properties": { + "enabled": { + "description": "Whether public IP is enabled.", + "type": "boolean", + "examples": [ + true + ] + }, + "prefix": { + "description": "The prefix for the public IP.", + "type": "string", + "examples": [ + "20.80.208.150" + ] + }, + "length": { + "description": "The length of the IP prefix.", + "type": "integer", + "examples": [ + 28 + ] + } + } + } + }, + "last_active_on": { + "description": "The time at which the runner was last used, in ISO 8601 format.", + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2022-10-09T23:39:01Z" + ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." + } + }, + "required": [ + "id", + "name", + "image_details", + "machine_size_details", + "status", + "public_ip_enabled", + "platform" + ] + }, + "examples": { + "default": { + "value": { + "id": 5, + "name": "My hosted ubuntu runner", + "runner_group_id": 2, + "platform": "linux-x64", + "image": { + "id": "ubuntu-20.04", + "size": 86 + }, + "machine_size_details": { + "id": "4-core", + "cpu_cores": 4, + "memory_gb": 16, + "storage_gb": 150 + }, + "status": "Ready", + "maximum_runners": 10, + "public_ip_enabled": true, + "public_ips": [ + { + "enabled": true, + "prefix": "20.80.208.150", + "length": 31 + } + ], + "last_active_on": "2022-10-09T23:39:01Z" + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": true, + "githubCloudOnly": false, + "category": "actions", + "subcategory": "hosted-runners" + } + }, + "delete": { + "summary": "Delete a GitHub-hosted runner for an organization", + "description": "Deletes a GitHub-hosted runner for an organization.", + "operationId": "actions/delete-hosted-runner-for-org", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "hosted_runner_id", + "description": "Unique identifier of the GitHub-hosted runner.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "202": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "GitHub-hosted hosted runner", + "description": "A Github-hosted hosted runner.", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the hosted runner.", + "type": "integer", + "examples": [ + 5 + ] + }, + "name": { + "description": "The name of the hosted runner.", + "type": "string", + "examples": [ + "my-github-hosted-runner" + ] + }, + "runner_group_id": { + "description": "The unique identifier of the group that the hosted runner belongs to.", + "type": "integer", + "examples": [ + 2 + ] + }, + "image_details": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "GitHub-hosted runner image details.", + "description": "Provides details of a hosted runner image", + "type": "object", + "properties": { + "id": { + "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", + "type": "string", + "examples": [ + "ubuntu-20.04" + ] + }, + "size_gb": { + "description": "Image size in GB.", + "type": "integer", + "examples": [ + 86 + ] + }, + "display_name": { + "description": "Display name for this image.", + "type": "string", + "examples": [ + 20.04 + ] + }, + "source": { + "description": "The image provider.", + "type": "string", + "enum": [ + "github", + "partner", + "custom" + ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -118900,291 +127132,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] - } - }, - "required": [ - "id", - "name", - "image_details", - "machine_size_details", - "status", - "public_ip_enabled", - "platform" - ] - }, - "examples": { - "default": { - "value": { - "id": 5, - "name": "My hosted ubuntu runner", - "runner_group_id": 2, - "platform": "linux-x64", - "image": { - "id": "ubuntu-20.04", - "size": 86 - }, - "machine_size_details": { - "id": "4-core", - "cpu_cores": 4, - "memory_gb": 16, - "storage_gb": 150 - }, - "status": "Ready", - "maximum_runners": 10, - "public_ip_enabled": true, - "public_ips": [ - { - "enabled": true, - "prefix": "20.80.208.150", - "length": 31 - } - ], - "last_active_on": "2022-10-09T23:39:01Z" - } - } - } - } - } - } - }, - "x-github": { - "enabledForGitHubApps": true, - "githubCloudOnly": false, - "category": "actions", - "subcategory": "hosted-runners" - } - }, - "delete": { - "summary": "Delete a GitHub-hosted runner for an organization", - "description": "Deletes a GitHub-hosted runner for an organization.", - "operationId": "actions/delete-hosted-runner-for-org", - "tags": [ - "actions" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "hosted_runner_id", - "description": "Unique identifier of the GitHub-hosted runner.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "responses": { - "202": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "GitHub-hosted hosted runner", - "description": "A Github-hosted hosted runner.", - "type": "object", - "properties": { - "id": { - "description": "The unique identifier of the hosted runner.", - "type": "integer", - "examples": [ - 5 - ] }, - "name": { - "description": "The name of the hosted runner.", - "type": "string", - "examples": [ - "my-github-hosted-runner" - ] - }, - "runner_group_id": { - "description": "The unique identifier of the group that the hosted runner belongs to.", - "type": "integer", - "examples": [ - 2 - ] - }, - "image_details": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "GitHub-hosted runner image details.", - "description": "Provides details of a hosted runner image", - "type": "object", - "properties": { - "id": { - "description": "The ID of the image. Use this ID for the `image` parameter when creating a new larger runner.", - "type": "string", - "examples": [ - "ubuntu-20.04" - ] - }, - "size_gb": { - "description": "Image size in GB.", - "type": "integer", - "examples": [ - 86 - ] - }, - "display_name": { - "description": "Display name for this image.", - "type": "string", - "examples": [ - 20.04 - ] - }, - "source": { - "description": "The image provider.", - "type": "string", - "enum": [ - "github", - "partner", - "custom" - ] - } - }, - "required": [ - "id", - "size_gb", - "display_name", - "source" - ] - } - ] - }, - "machine_size_details": { - "title": "Github-owned VM details.", - "description": "Provides details of a particular machine spec.", - "type": "object", - "properties": { - "id": { - "description": "The ID used for the `size` parameter when creating a new runner.", - "type": "string", - "examples": [ - "8-core" - ] - }, - "cpu_cores": { - "description": "The number of cores.", - "type": "integer", - "examples": [ - 8 - ] - }, - "memory_gb": { - "description": "The available RAM for the machine spec.", - "type": "integer", - "examples": [ - 32 - ] - }, - "storage_gb": { - "description": "The available SSD storage for the machine spec.", - "type": "integer", - "examples": [ - 300 - ] - } - }, - "required": [ - "id", - "cpu_cores", - "memory_gb", - "storage_gb" - ] - }, - "status": { - "description": "The status of the runner.", - "type": "string", - "enum": [ - "Ready", - "Provisioning", - "Shutdown", - "Deleting", - "Stuck" - ], - "examples": [ - "Ready" - ] - }, - "platform": { - "description": "The operating system of the image.", - "type": "string", - "examples": [ - "linux-x64" - ] - }, - "maximum_runners": { - "description": "The maximum amount of hosted runners. Runners will not scale automatically above this number. Use this setting to limit your cost.", - "type": "integer", - "default": 10, - "examples": [ - 5 - ] - }, - "public_ip_enabled": { - "description": "Whether public IP is enabled for the hosted runners.", + "image_gen": { "type": "boolean", - "examples": [ - true - ] - }, - "public_ips": { - "description": "The public IP ranges when public IP is enabled for the hosted runners.", - "type": "array", - "items": { - "title": "Public IP for a GitHub-hosted larger runners.", - "description": "Provides details of Public IP for a GitHub-hosted larger runners", - "type": "object", - "properties": { - "enabled": { - "description": "Whether public IP is enabled.", - "type": "boolean", - "examples": [ - true - ] - }, - "prefix": { - "description": "The prefix for the public IP.", - "type": "string", - "examples": [ - "20.80.208.150" - ] - }, - "length": { - "description": "The length of the IP prefix.", - "type": "integer", - "examples": [ - 28 - ] - } - } - } - }, - "last_active_on": { - "description": "The time at which the runner was last used, in ISO 8601 format.", - "type": [ - "string", - "null" - ], - "format": "date-time", - "examples": [ - "2022-10-09T23:39:01Z" - ] + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -125175,6 +133126,13 @@ "partner", "custom" ] + }, + "version": { + "description": "The image version of the hosted runner pool.", + "type": "string", + "examples": [ + "latest" + ] } }, "required": [ @@ -125305,6 +133263,10 @@ "examples": [ "2022-10-09T23:39:01Z" ] + }, + "image_gen": { + "type": "boolean", + "description": "Whether custom image generation is enabled for the hosted runners." } }, "required": [ @@ -135677,6 +143639,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", @@ -138601,7 +146667,10 @@ }, "code_scanning_alerts": { "description": "The code scanning alerts to include in this campaign", - "type": "array", + "type": [ + "array", + "null" + ], "minItems": 1, "items": { "type": "object", @@ -138635,8 +146704,19 @@ "required": [ "name", "description", - "ends_at", - "code_scanning_alerts" + "ends_at" + ], + "oneOf": [ + { + "required": [ + "code_scanning_alerts" + ] + }, + { + "required": [ + "secret_scanning_alerts" + ] + } ] }, "examples": { @@ -158163,29 +166243,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).\"", @@ -180277,6 +188334,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -180475,6 +188540,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -181399,6 +189473,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -181597,6 +189679,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -217689,17 +225780,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } }, @@ -226675,17 +234770,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -405202,16 +413301,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -405239,29 +413328,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": { @@ -449740,6 +457806,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -449938,6 +458012,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -631363,7 +639446,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" ], @@ -724555,6 +732638,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -724753,6 +732844,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -797553,6 +805653,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -797751,6 +805859,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -805632,17 +813749,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789`", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -814591,17 +822712,21 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789", "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } ] } } @@ -843270,7 +851395,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -843401,7 +851526,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -843409,7 +851534,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -843417,7 +851542,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -1052687,6 +1060812,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -1052885,6 +1061018,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -1055769,6 +1063911,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -1055967,6 +1064117,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -1058756,6 +1066915,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -1058954,6 +1067121,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -1061743,6 +1069919,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -1061941,6 +1070125,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -1064864,6 +1073057,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -1065062,6 +1073263,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -1067992,6 +1076202,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -1068190,6 +1076408,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -1073115,6 +1081342,14 @@ "write" ] }, + "custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token to view and edit custom properties for an organization, when allowed by the property.", + "enum": [ + "read", + "write" + ] + }, "members": { "type": "string", "description": "The level of permission to grant the access token for organization teams and members.", @@ -1073313,6 +1081548,15 @@ "write" ] }, + "enterprise_custom_properties_for_organizations": { + "type": "string", + "description": "The level of permission to grant the access token for organization custom properties management at the enterprise level.", + "enum": [ + "read", + "write", + "admin" + ] + }, "enterprise_organization_installations": { "type": "string", "description": "The level of permission to grant the access token to manage installation of GitHub Apps on Enterprise-owned organizations.", @@ -1239500,6 +1247744,1944 @@ } } }, + "organization-custom-property-created": { + "post": { + "summary": "This event occurs when there is activity relating to an organization custom property.", + "description": "A new organization custom property was created.", + "operationId": "organization-custom-property/created", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization_custom_property" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "organization custom property created event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "created" + ] + }, + "definition": { + "title": "Custom Property for Organization", + "description": "Custom property defined for an organization", + "allOf": [ + { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + } + } + }, + { + "type": "object", + "properties": { + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "enterprise_actors", + "enterprise_and_org_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "enterprise_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + ] + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "definition", + "enterprise" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": true, + "category": "webhooks", + "subcategory": "organization_custom_property", + "supported-webhook-types": [ + "business" + ] + } + } + }, + "organization-custom-property-deleted": { + "post": { + "summary": "This event occurs when there is activity relating to an organization custom property.", + "description": "An organization custom property was deleted.", + "operationId": "organization-custom-property/deleted", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization_custom_property" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "organization custom property deleted event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "deleted" + ] + }, + "definition": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property that was deleted." + } + }, + "required": [ + "property_name" + ] + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "definition", + "enterprise" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": true, + "category": "webhooks", + "subcategory": "organization_custom_property", + "supported-webhook-types": [ + "business" + ] + } + } + }, + "organization-custom-property-updated": { + "post": { + "summary": "This event occurs when there is activity relating to an organization custom property.", + "description": "An organization custom property was updated.", + "operationId": "organization-custom-property/updated", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization_custom_property" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "organization custom property updated event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "updated" + ] + }, + "definition": { + "title": "Custom Property for Organization", + "description": "Custom property defined for an organization", + "allOf": [ + { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + } + } + }, + { + "type": "object", + "properties": { + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "enterprise_actors", + "enterprise_and_org_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "enterprise_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + ] + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "required": [ + "action", + "definition", + "enterprise" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": true, + "category": "webhooks", + "subcategory": "organization_custom_property", + "supported-webhook-types": [ + "business" + ] + } + } + }, + "organization-custom-property-values-updated": { + "post": { + "summary": "This event occurs when there is activity relating to custom property values for an organization.", + "description": "The custom property values of an organization were updated.", + "operationId": "organization-custom-property-values/updated", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization-custom-property-values" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { + "type": "string" + } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { + "type": "string" + } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { + "type": "string" + } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "title": "Custom property values updated event", + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "updated" + ] + }, + "enterprise": { + "title": "Enterprise", + "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", + "type": "object", + "properties": { + "description": { + "description": "A short description of the enterprise.", + "type": [ + "string", + "null" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/octo-business" + ] + }, + "website_url": { + "description": "The enterprise's website URL.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "id": { + "description": "Unique identifier of the enterprise", + "type": "integer", + "examples": [ + 42 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "description": "The name of the enterprise.", + "type": "string", + "examples": [ + "Octo Business" + ] + }, + "slug": { + "description": "The slug url identifier for the enterprise.", + "type": "string", + "examples": [ + "octo-business" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2019-01-26T19:14:43Z" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri" + } + }, + "required": [ + "id", + "node_id", + "name", + "slug", + "html_url", + "created_at", + "updated_at", + "avatar_url" + ] + }, + "installation": { + "title": "Simple Installation", + "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-cloud@latest//apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "description": "The global node ID of the installation.", + "type": "string", + "examples": [ + "MDQ6VXNlcjU4MzIzMQ==" + ] + } + }, + "required": [ + "id", + "node_id" + ] + }, + "organization": { + "title": "Organization Simple", + "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "sender": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "new_property_values": { + "type": "array", + "description": "The new custom property values.", + "items": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + } + }, + "old_property_values": { + "type": "array", + "description": "The old custom property values.", + "items": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + } + } + }, + "required": [ + "action", + "organization", + "enterprise", + "new_property_values", + "old_property_values" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": true, + "category": "webhooks", + "subcategory": "organization-custom-property-values", + "supported-webhook-types": [ + "business", + "organization", + "app" + ] + } + } + }, "organization-deleted": { "post": { "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index f0616924a..a2d428d87 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -99,6 +99,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -446,7 +448,7 @@ paths: The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. schema: type: string - - &97 + - &102 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For @@ -455,7 +457,7 @@ paths: required: false schema: type: string - - &98 + - &103 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For @@ -464,7 +466,7 @@ paths: required: false schema: type: string - - &99 + - &104 name: direction description: The direction to sort the results by. in: query @@ -703,7 +705,7 @@ paths: required: - vector_string - score - cvss_severities: &111 + cvss_severities: &121 type: - object - 'null' @@ -750,7 +752,7 @@ paths: required: - vector_string - score - epss: &112 + epss: &122 type: - object - 'null' @@ -913,7 +915,7 @@ paths: - subscriptions_url - type - url - type: &397 + type: &416 type: string description: The type of credit the user is receiving. enum: @@ -1046,7 +1048,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &224 + schema: &245 title: Validation Error Simple description: Validation Error Simple type: object @@ -1079,7 +1081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &713 + - &734 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1664,7 +1666,7 @@ paths: schema: type: integer default: 30 - - &309 + - &329 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1680,7 +1682,7 @@ paths: application/json: schema: type: array - items: &310 + items: &330 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1776,7 +1778,7 @@ paths: - installation_id - repository_id examples: - default: &311 + default: &331 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1810,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &723 + schema: &744 title: Scim Error description: Scim Error type: object @@ -1839,7 +1841,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &223 + schema: &244 title: Validation Error description: Validation Error type: object @@ -1911,7 +1913,7 @@ paths: description: Response content: application/json: - schema: &312 + schema: &332 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2048,7 @@ paths: - request - response examples: - default: &313 + default: &333 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2250,7 +2252,7 @@ paths: parameters: - *17 - *19 - - &189 + - &209 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) @@ -2504,6 +2506,14 @@ paths: token to update GitHub Actions workflow files. enum: - write + custom_properties_for_organizations: + type: string + description: The level of permission to grant the access + token to view and edit custom properties for an organization, + when allowed by the property. + enum: + - read + - write members: type: string description: The level of permission to grant the access @@ -2684,6 +2694,15 @@ paths: enum: - read - write + enterprise_custom_properties_for_organizations: + type: string + description: The level of permission to grant the access + token for organization custom properties management at + the enterprise level. + enum: + - read + - write + - admin enterprise_organization_installations: type: string description: The level of permission to grant the access @@ -2858,7 +2877,7 @@ paths: application/json: schema: *20 examples: - default: &77 + default: &82 value: id: 1 account: @@ -3009,7 +3028,7 @@ paths: - selected repositories: type: array - items: &67 + items: &72 title: Repository description: A repository on GitHub. type: object @@ -3036,7 +3055,7 @@ paths: license: anyOf: - type: 'null' - - &186 + - &206 title: License Simple description: License Simple type: object @@ -7785,7 +7804,7 @@ paths: description: Response content: application/json: - schema: &225 + schema: &246 type: object properties: total_active_caches_count: @@ -7800,7 +7819,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &226 + default: &247 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7895,12 +7914,18 @@ paths: - github - partner - custom + version: + description: The image version of the hosted runner + pool. + type: string + examples: + - latest required: - id - size_gb - display_name - source - machine_size_details: &45 + machine_size_details: &50 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -7996,6 +8021,10 @@ paths: format: date-time examples: - '2022-10-09T23:39:01Z' + image_gen: + type: boolean + description: Whether custom image generation is enabled + for the hosted runners. required: - id - name @@ -8005,7 +8034,7 @@ paths: - public_ip_enabled - platform examples: - default: &227 + default: &248 value: total_count: 2 runners: @@ -8094,6 +8123,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -8113,6 +8148,11 @@ paths: `GET actions/hosted-runners/limits` type: boolean default: false + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -8135,7 +8175,7 @@ paths: application/json: schema: *42 examples: - default: &46 + default: &51 value: id: 5 name: My hosted ubuntu runner @@ -8162,6 +8202,322 @@ paths: githubCloudOnly: true category: actions subcategory: hosted-runners + "/enterprises/{enterprise}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an enterprise + description: |- + List custom images for an enterprise. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-enterprise + parameters: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: &43 + title: GitHub-hosted runner custom image details + description: Provides details of a custom runner image + type: object + properties: + id: + description: The ID of the image. Use this ID for the `image` + parameter when creating a new larger runner. + type: integer + examples: + - 1 + platform: + description: The operating system of the image. + type: string + examples: + - linux-x64 + total_versions_size: + description: Total size of all the image versions in GB. + type: integer + examples: + - 200 + name: + description: Display name for this image. + type: string + examples: + - CustomImage + source: + description: The image provider. + type: string + examples: + - custom + versions_count: + description: The number of image versions associated with + the image. + type: integer + examples: + - 4 + latest_version: + description: The latest image version associated with the + image. + type: string + examples: + - 1.3.0 + state: + description: The number of image versions associated with + the image. + type: string + examples: + - Ready + required: + - id + - platform + - name + - source + - versions_count + - total_versions_size + - latest_version + - state + examples: + default: &45 + value: + total_count: 2 + image_versions: + - version: 1.1.0 + size_gb: 75 + state: Ready + created_on: '2024-11-09T23:39:01Z' + - version: 1.0.0 + size_gb: 75 + state: Ready + created_on: '2024-11-08T20:39:01Z' + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get an enterprise custom image definition for GitHub Actions Hosted + Runners + description: |- + Get an enterprise custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-enterprise-custom-image-definition-for-github-actions-hosted-runners + parameters: + - *39 + - &44 + name: image_definition_id + description: Image definition ID of custom image + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *43 + examples: + default: &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: + - *39 + - *44 + responses: + '204': + description: Response + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions": + get: + summary: List image versions of a custom image for an enterprise + description: |- + List image versions of a custom image for an enterprise. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-image-versions-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-enterprise + parameters: + - *44 + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: &46 + title: GitHub-hosted runner custom image version details. + description: Provides details of a hosted runner custom image + version + type: object + properties: + version: + description: The version of image. + type: string + examples: + - 1.0.0 + state: + description: The state of image version. + type: string + examples: + - Ready + size_gb: + description: Image version size in GB. + type: integer + examples: + - 30 + created_on: + description: The creation date time of the image version. + type: string + examples: + - '2024-11-09T23:39:01Z' + state_details: + description: The image version status details. + type: string + examples: + - None + required: + - version + - state + - size_gb + - created_on + - state_details + examples: + default: *45 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners + "/enterprises/{enterprise}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of an enterprise custom image for GitHub Actions + Hosted Runners + description: |- + Get an image version of an enterprise custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-enterprise + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-an-enterprise-custom-image-for-github-actions-hosted-runners + parameters: + - *39 + - *44 + - &47 + name: version + description: Version of a custom image + in: path + required: true + schema: + type: string + pattern: "^\\d+\\.\\d+\\.\\d+$" + responses: + '200': + description: Response + content: + application/json: + schema: *46 + examples: + default: &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: + - *39 + - *44 + - *47 + responses: + '204': + description: Response + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: actions + subcategory: hosted-runners "/enterprises/{enterprise}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an enterprise @@ -8190,7 +8546,7 @@ paths: type: integer images: type: array - items: &43 + items: &48 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -8230,7 +8586,7 @@ paths: - display_name - source examples: - default: &44 + default: &49 value: id: ubuntu-20.04 platform: linux-x64 @@ -8270,9 +8626,9 @@ paths: type: integer images: type: array - items: *43 + items: *48 examples: - default: *44 + default: *49 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8295,7 +8651,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &251 type: object properties: public_ips: @@ -8322,7 +8678,7 @@ paths: required: - public_ips examples: - default: &229 + default: &252 value: public_ips: current_usage: 17 @@ -8360,9 +8716,9 @@ paths: type: integer machine_specs: type: array - items: *45 + items: *50 examples: - default: &230 + default: &253 value: id: 4-core cpu_cores: 4 @@ -8430,7 +8786,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - &47 + - &52 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -8444,7 +8800,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 headers: Link: *41 x-github: @@ -8465,7 +8821,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - *47 + - *52 requestBody: required: true content: @@ -8491,6 +8847,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -8505,7 +8867,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -8522,7 +8884,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise parameters: - *39 - - *47 + - *52 responses: '202': description: Response @@ -8530,7 +8892,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -8599,7 +8961,7 @@ paths: schema: type: object properties: - enabled_organizations: &48 + enabled_organizations: &53 type: string description: The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. @@ -8612,7 +8974,7 @@ paths: description: The API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when `enabled_organizations` is set to `selected`. - allowed_actions: &49 + allowed_actions: &54 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -8620,12 +8982,12 @@ paths: - all - local_only - selected - selected_actions_url: &233 + 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: &50 + sha_pinning_required: &55 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -8667,9 +9029,9 @@ paths: schema: type: object properties: - enabled_organizations: *48 - allowed_actions: *49 - sha_pinning_required: *50 + enabled_organizations: *53 + allowed_actions: *54 + sha_pinning_required: *55 required: - enabled_organizations examples: @@ -8700,7 +9062,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &235 + schema: &258 type: object properties: days: @@ -8718,7 +9080,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &724 + '401': &745 description: Authorization failure '404': *6 x-github: @@ -8746,7 +9108,7 @@ paths: required: true content: application/json: - schema: &236 + schema: &259 type: object properties: days: @@ -8781,7 +9143,7 @@ paths: description: Response content: application/json: - schema: &51 + schema: &56 type: object properties: approval_policy: @@ -8795,7 +9157,7 @@ paths: required: - approval_policy examples: - default: &237 + default: &260 value: approval_policy: first_time_contributors '404': *6 @@ -8824,7 +9186,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *56 examples: default: summary: Set approval policy to first time contributors @@ -8853,7 +9215,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &261 type: object required: - run_workflows_from_fork_pull_requests @@ -8879,7 +9241,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &52 + default: &57 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -8907,7 +9269,7 @@ paths: required: true content: application/json: - schema: &239 + schema: &262 type: object required: - run_workflows_from_fork_pull_requests @@ -8930,7 +9292,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *52 + default: *57 responses: '204': description: Empty response for successful settings update @@ -8970,7 +9332,7 @@ paths: type: number organizations: type: array - items: &62 + items: &67 title: Organization Simple description: A GitHub organization. type: object @@ -9045,7 +9407,7 @@ paths: - total_count - organizations examples: - default: &63 + default: &68 value: total_count: 1 organizations: @@ -9124,7 +9486,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *39 - - &53 + - &58 name: org_id description: The unique identifier of the organization. in: path @@ -9153,7 +9515,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise parameters: - *39 - - *53 + - *58 responses: '204': description: Response @@ -9182,7 +9544,7 @@ paths: description: Response content: application/json: - schema: &54 + schema: &59 type: object properties: github_owned_allowed: @@ -9203,7 +9565,7 @@ paths: items: type: string examples: - default: &55 + default: &60 value: github_owned_allowed: true verified_allowed: false @@ -9236,9 +9598,9 @@ paths: required: true content: application/json: - schema: *54 + schema: *59 examples: - selected_actions: *55 + selected_actions: *60 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9343,17 +9705,17 @@ paths: description: Success response content: application/json: - schema: &242 + schema: &265 type: object properties: - default_workflow_permissions: &56 + default_workflow_permissions: &61 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &57 + can_approve_pull_request_reviews: &62 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -9361,7 +9723,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &58 + default: &63 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -9391,13 +9753,13 @@ paths: required: true content: application/json: - schema: &243 + schema: &266 type: object properties: - default_workflow_permissions: *56 - can_approve_pull_request_reviews: *57 + default_workflow_permissions: *61 + can_approve_pull_request_reviews: *62 examples: - default: *58 + default: *63 responses: '204': description: Success response @@ -9442,7 +9804,7 @@ paths: type: number runner_groups: type: array - items: &59 + items: &64 type: object properties: id: @@ -9623,9 +9985,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *64 examples: - default: &60 + default: &65 value: id: 2 name: octo-runner-group @@ -9660,7 +10022,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise parameters: - *39 - - &61 + - &66 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -9672,9 +10034,9 @@ paths: description: Response content: application/json: - schema: *59 + schema: *64 examples: - default: *60 + default: *65 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9694,7 +10056,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise parameters: - *39 - - *61 + - *66 requestBody: required: false content: @@ -9748,7 +10110,7 @@ paths: description: Response content: application/json: - schema: *59 + schema: *64 examples: default: value: @@ -9784,7 +10146,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise parameters: - *39 - - *61 + - *66 responses: '204': description: Response @@ -9808,7 +10170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *61 + - *66 - *17 - *19 responses: @@ -9823,12 +10185,12 @@ paths: type: number organizations: type: array - items: *62 + items: *67 required: - total_count - organizations examples: - default: *63 + default: *68 x-github: enabledForGitHubApps: false githubCloudOnly: true @@ -9848,7 +10210,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-organization-access-for-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *61 + - *66 requestBody: required: true content: @@ -9894,8 +10256,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *61 - - *53 + - *66 + - *58 responses: '204': description: Response @@ -9918,8 +10280,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise parameters: - *39 - - *61 - - *53 + - *66 + - *58 responses: '204': description: Response @@ -9943,7 +10305,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise parameters: - *39 - - *61 + - *66 - *17 - *19 responses: @@ -9958,7 +10320,7 @@ paths: type: number runners: type: array - items: &65 + items: &70 title: Self hosted runners description: A self hosted runner type: object @@ -9992,7 +10354,7 @@ paths: type: boolean labels: type: array - items: &69 + items: &74 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -10025,7 +10387,7 @@ paths: - total_count - runners examples: - default: &66 + default: &71 value: total_count: 2 runners: @@ -10085,7 +10447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise parameters: - *39 - - *61 + - *66 requestBody: required: true content: @@ -10130,8 +10492,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise parameters: - *39 - - *61 - - &64 + - *66 + - &69 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -10160,8 +10522,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise parameters: - *39 - - *61 - - *64 + - *66 + - *69 responses: '204': description: Response @@ -10204,9 +10566,9 @@ paths: type: number runners: type: array - items: *65 + items: *70 examples: - default: *66 + default: *71 headers: Link: *41 x-github: @@ -10236,7 +10598,7 @@ paths: application/json: schema: type: array - items: &247 + items: &270 title: Runner Application description: Runner Application type: object @@ -10261,7 +10623,7 @@ paths: - download_url - filename examples: - default: &248 + default: &271 value: - os: osx architecture: x64 @@ -10345,7 +10707,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &249 + '201': &272 description: Response content: application/json: @@ -10355,7 +10717,7 @@ paths: - runner - encoded_jit_config properties: - runner: *65 + runner: *70 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -10384,7 +10746,7 @@ paths: encoded_jit_config: abc123 '404': *6 '422': *7 - '409': &107 + '409': &112 description: Conflict content: application/json: @@ -10422,7 +10784,7 @@ paths: description: Response content: application/json: - schema: &68 + schema: &73 title: Authentication Token description: Authentication Token type: object @@ -10446,7 +10808,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *67 + items: *72 single_file: type: - string @@ -10464,7 +10826,7 @@ paths: - token - expires_at examples: - default: &250 + default: &273 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10502,9 +10864,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: &251 + default: &274 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10528,15 +10890,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 responses: '200': description: Response content: application/json: - schema: *65 + schema: *70 examples: - default: &252 + default: &275 value: id: 23 name: MBP @@ -10576,7 +10938,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise parameters: - *39 - - *64 + - *69 responses: '204': description: Response @@ -10601,9 +10963,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 responses: - '200': &70 + '200': &75 description: Response content: application/json: @@ -10617,7 +10979,7 @@ paths: type: integer labels: type: array - items: *69 + items: *74 examples: default: value: @@ -10655,7 +11017,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 requestBody: required: true content: @@ -10679,7 +11041,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -10702,7 +11064,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 requestBody: required: true content: @@ -10727,7 +11089,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -10750,9 +11112,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 + - *69 responses: - '200': &253 + '200': &276 description: Response content: application/json: @@ -10766,7 +11128,7 @@ paths: type: integer labels: type: array - items: *69 + items: *74 examples: default: value: @@ -10807,8 +11169,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise parameters: - *39 - - *64 - - &254 + - *69 + - &277 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10816,7 +11178,7 @@ paths: schema: type: string responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -10841,13 +11203,13 @@ paths: description: Response content: application/json: - schema: &75 + schema: &80 title: Announcement Banner description: Announcement at either the repository, organization, or enterprise level type: object properties: - announcement: &71 + announcement: &76 type: - string - 'null' @@ -10856,7 +11218,7 @@ paths: writing and formatting syntax](https://docs.github.com/enterprise-cloud@latest//github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)." examples: - Very **important** announcement about _something_. - expires_at: &72 + expires_at: &77 type: - string - 'null' @@ -10868,7 +11230,7 @@ paths: it to an empty string.' examples: - '"2021-01-01T00:00:00.000-07:00"' - user_dismissible: &73 + user_dismissible: &78 type: - boolean - 'null' @@ -10881,7 +11243,7 @@ paths: - expires_at - user_dismissible examples: - default: &74 + default: &79 summary: Announcement banner value: announcement: Very **important** announcement about _something_. @@ -10905,18 +11267,18 @@ paths: required: true content: application/json: - schema: &261 + schema: &284 title: Enterprise Announcement description: Enterprise global announcement type: object properties: - announcement: *71 - expires_at: *72 - user_dismissible: *73 + announcement: *76 + expires_at: *77 + user_dismissible: *78 required: - announcement examples: - default: *74 + default: *79 parameters: - *39 responses: @@ -10924,9 +11286,9 @@ paths: description: Response content: application/json: - schema: *75 + schema: *80 examples: - default: *74 + default: *79 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -11025,7 +11387,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-repositories-belonging-to-an-enterprise-owned-organization parameters: - *39 - - &76 + - &81 name: org description: The organization name. The name is not case sensitive. in: path @@ -11042,7 +11404,7 @@ paths: application/json: schema: type: array - items: &78 + items: &83 title: Accessible Repository description: A repository that may be made accessible to a GitHub App. @@ -11096,7 +11458,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#list-github-apps-installed-on-an-enterprise-owned-organization parameters: - *39 - - *76 + - *81 - *17 - *19 responses: @@ -11195,7 +11557,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#install-a-github-app-on-an-enterprise-owned-organization parameters: - *39 - - *76 + - *81 responses: '200': description: A GitHub App installation that was installed previously. @@ -11203,14 +11565,14 @@ paths: application/json: schema: *20 examples: - default: *77 + default: *82 '201': description: A GitHub App installation. content: application/json: schema: *20 examples: - default: *77 + default: *82 requestBody: required: true content: @@ -11278,7 +11640,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#uninstall-a-github-app-from-an-enterprise-owned-organization parameters: - *39 - - *76 + - *81 - *21 responses: '204': @@ -11306,7 +11668,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation parameters: - *39 - - *76 + - *81 - *21 - *17 - *19 @@ -11318,7 +11680,7 @@ paths: application/json: schema: type: array - items: *78 + items: *83 examples: default: value: @@ -11347,7 +11709,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories parameters: - *39 - - *76 + - *81 - *21 requestBody: required: true @@ -11387,7 +11749,7 @@ paths: application/json: schema: *20 examples: - default: *77 + default: *82 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -11408,7 +11770,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#grant-repository-access-to-an-organization-installation parameters: - *39 - - *76 + - *81 - *21 responses: '200': @@ -11418,7 +11780,7 @@ paths: application/json: schema: type: array - items: *78 + items: *83 examples: default: value: @@ -11469,7 +11831,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/organization-installations#remove-repository-access-from-an-organization-installation parameters: - *39 - - *76 + - *81 - *21 responses: '200': @@ -11479,7 +11841,7 @@ paths: application/json: schema: type: array - items: *78 + items: *83 examples: default: value: @@ -11556,7 +11918,7 @@ paths: required: false schema: type: string - - &262 + - &285 name: include description: |- The event types to include: @@ -11574,7 +11936,7 @@ paths: - web - git - all - - &263 + - &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. @@ -11582,7 +11944,7 @@ paths: required: false schema: type: string - - &264 + - &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. @@ -11590,7 +11952,7 @@ paths: required: false schema: type: string - - &265 + - &288 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11612,7 +11974,7 @@ paths: application/json: schema: type: array - items: &266 + items: &289 type: object properties: "@timestamp": @@ -11734,7 +12096,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &267 + default: &290 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11914,7 +12276,7 @@ paths: vendor_specific: type: object oneOf: - - &82 + - &87 title: AzureBlobConfig description: Azure Blob Config for audit log streaming configuration. type: object @@ -11933,7 +12295,7 @@ paths: - key_id - encrypted_sas_url - container - - &83 + - &88 title: AzureHubConfig description: Azure Event Hubs Config for audit log streaming configuration. type: object @@ -11952,7 +12314,7 @@ paths: - name - encrypted_connstring - key_id - - &84 + - &89 title: AmazonS3OIDCConfig description: Amazon S3 OIDC Config for audit log streaming configuration. type: object @@ -11980,7 +12342,7 @@ paths: - bucket - key_id - region - - &85 + - &90 title: AmazonS3AccessKeysConfig description: Amazon S3 Access Keys Config for audit log streaming configuration. @@ -12014,7 +12376,7 @@ paths: - encrypted_secret_key - key_id - region - - &86 + - &91 title: SplunkConfig description: Splunk Config for Audit Log Stream Configuration type: object @@ -12042,7 +12404,7 @@ paths: - key_id - port - ssl_verify - - &87 + - &92 title: HecConfig description: Hec Config for Audit Log Stream Configuration type: object @@ -12074,7 +12436,7 @@ paths: - key_id - port - ssl_verify - - &88 + - &93 title: GoogleCloudConfig description: Google Cloud Config for audit log streaming configuration. type: object @@ -12092,7 +12454,7 @@ paths: - bucket - key_id - encrypted_json_credentials - - &89 + - &94 title: DatadogConfig description: Datadog Config for audit log streaming configuration. type: object @@ -12123,7 +12485,7 @@ paths: - stream_type - vendor_specific examples: - default: &90 + default: &95 value: enabled: false stream_type: Azure Event Hubs @@ -12137,7 +12499,7 @@ paths: description: The audit log stream configuration was created successfully. content: application/json: - schema: &79 + schema: &84 title: Get an audit log streaming configuration description: Get an audit log streaming configuration for an enterprise. type: object @@ -12169,7 +12531,7 @@ paths: - created_at - updated_at examples: - default: &80 + default: &85 value: id: 1 stream_type: Splunk @@ -12198,7 +12560,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id parameters: - *39 - - &81 + - &86 name: stream_id description: The ID of the audit log stream configuration. in: path @@ -12210,9 +12572,9 @@ paths: description: Lists one audit log stream configuration via stream ID. content: application/json: - schema: *79 + schema: *84 examples: - default: *80 + default: *85 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -12232,7 +12594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration parameters: - *39 - - *81 + - *86 requestBody: required: true content: @@ -12258,28 +12620,28 @@ paths: vendor_specific: type: object oneOf: - - *82 - - *83 - - *84 - - *85 - - *86 - *87 - *88 - *89 + - *90 + - *91 + - *92 + - *93 + - *94 required: - enabled - stream_type - vendor_specific examples: - default: *90 + default: *95 responses: '200': description: Successful update content: application/json: - schema: *79 + schema: *84 examples: - default: *80 + default: *85 '422': description: Validation error content: @@ -12310,7 +12672,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise parameters: - *39 - - *81 + - *86 responses: '204': description: The audit log stream configuration was deleted successfully. @@ -12337,13 +12699,13 @@ paths: subcategory: bypass-requests parameters: - *39 - - &91 + - &96 name: organization_name description: The name of the organization to filter on. in: query schema: type: string - - &92 + - &97 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -12351,7 +12713,7 @@ paths: required: false schema: type: string - - &93 + - &98 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -12359,7 +12721,7 @@ paths: required: false schema: type: string - - &94 + - &99 name: time_period description: |- The time period to filter by. @@ -12375,7 +12737,7 @@ paths: - week - month default: day - - &95 + - &100 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -12402,7 +12764,7 @@ paths: application/json: schema: type: array - items: &268 + 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. @@ -12528,7 +12890,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: &96 + items: &101 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -12574,7 +12936,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &269 + default: &292 value: - id: 21 number: 42 @@ -12665,11 +13027,11 @@ paths: subcategory: delegated-bypass parameters: - *39 - - *91 - - *92 - - *93 - - *94 - - *95 + - *96 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -12679,7 +13041,7 @@ paths: application/json: schema: type: array - items: &271 + 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. @@ -12797,7 +13159,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: *96 + items: *101 url: type: string format: uri @@ -12810,7 +13172,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &272 + default: &295 value: - id: 21 number: 42 @@ -12895,17 +13257,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &277 + - &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: &100 + schema: &105 type: string description: The name of the tool used to generate the code scanning analysis. - - &278 + - &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 @@ -12913,23 +13275,23 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &101 + schema: &106 type: - string - 'null' description: The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data. - - *97 - - *98 + - *102 + - *103 - *19 - *17 - - *99 + - *104 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: &279 + schema: &302 type: string description: State of a code scanning alert. enum: @@ -12954,42 +13316,42 @@ paths: application/json: schema: type: array - items: &280 + items: &303 type: object properties: - number: &109 + number: &119 type: integer description: The security alert number. readOnly: true - created_at: &116 + created_at: &126 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &117 + updated_at: &127 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &114 + url: &124 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &115 + html_url: &125 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &509 + instances_url: &528 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &102 + state: &107 type: - string - 'null' @@ -12999,7 +13361,7 @@ paths: - dismissed - fixed - - fixed_at: &119 + fixed_at: &129 type: - string - 'null' @@ -13011,7 +13373,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &118 + dismissed_at: &128 type: - string - 'null' @@ -13019,7 +13381,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &510 + dismissed_reason: &529 type: - string - 'null' @@ -13030,14 +13392,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &511 + dismissed_comment: &530 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &512 + rule: &531 type: object properties: id: @@ -13098,26 +13460,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &513 + tool: &532 type: object properties: - name: *100 + name: *105 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *101 - most_recent_instance: &514 + guid: *106 + most_recent_instance: &533 type: object properties: - ref: &507 + ref: &526 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &524 + analysis_key: &543 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13128,13 +13490,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &525 + category: &544 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *102 + state: *107 commit_sha: type: string message: @@ -13175,7 +13537,7 @@ paths: - test - library - - repository: &108 + repository: &113 title: Simple Repository description: A GitHub repository. type: object @@ -13519,7 +13881,7 @@ paths: - most_recent_instance - repository examples: - default: &281 + default: &304 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13750,7 +14112,7 @@ paths: headers: Link: *41 '404': *6 - '503': &163 + '503': &184 description: Service unavailable content: application/json: @@ -13794,8 +14156,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 + - *102 + - *103 responses: '200': description: Response @@ -13803,7 +14165,7 @@ paths: application/json: schema: type: array - items: &103 + items: &108 type: object description: A code security configuration properties: @@ -14178,7 +14540,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &282 + code_scanning_options: &305 type: - object - 'null' @@ -14197,7 +14559,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: &106 + code_scanning_default_setup_options: &111 type: - object - 'null' @@ -14316,9 +14678,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *103 + schema: *108 examples: - default: &104 + default: &109 value: id: 1325 target_type: enterprise @@ -14376,7 +14738,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &307 type: array description: A list of default code security configurations items: @@ -14390,9 +14752,9 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *103 + configuration: *108 examples: - default: &285 + default: &308 value: - default_for_new_repos: public configuration: @@ -14481,7 +14843,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise parameters: - *39 - - &105 + - &110 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -14493,9 +14855,9 @@ paths: description: Response content: application/json: - schema: *103 + schema: *108 examples: - default: *104 + default: *109 '304': *35 '403': *27 '404': *6 @@ -14520,7 +14882,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise parameters: - *39 - - *105 + - *110 requestBody: required: true content: @@ -14599,7 +14961,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *106 + code_scanning_default_setup_options: *111 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -14687,13 +15049,13 @@ paths: description: Response content: application/json: - schema: *103 + schema: *108 examples: - default: *104 + default: *109 '304': *35 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14717,14 +15079,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise parameters: - *39 - - *105 + - *110 responses: - '204': &129 + '204': &144 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14749,7 +15111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories parameters: - *39 - - *105 + - *110 requestBody: required: true content: @@ -14776,7 +15138,7 @@ paths: '202': *37 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14801,7 +15163,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise parameters: - *39 - - *105 + - *110 requestBody: required: true content: @@ -14841,12 +15203,12 @@ paths: - none - private_and_internal - public - configuration: *103 + configuration: *108 examples: default: value: default_for_new_repos: all - configuration: &283 + configuration: &306 value: id: 1325 target_type: organization @@ -14903,7 +15265,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration parameters: - *39 - - *105 + - *110 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -14912,8 +15274,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 + - *102 + - *103 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -14931,7 +15293,7 @@ paths: application/json: schema: type: array - items: &286 + items: &309 type: object description: Repositories associated with a code security configuration and attachment status @@ -14949,13 +15311,13 @@ paths: - failed - updating - removed_by_enterprise - repository: *108 + repository: *113 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: &287 + repository: &310 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15438,7 +15800,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &120 + items: &135 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -15451,12 +15813,12 @@ paths: organization: anyOf: - type: 'null' - - *62 + - *67 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &273 + - &296 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15533,7 +15895,7 @@ paths: parent: anyOf: - type: 'null' - - &344 + - &364 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -15651,7 +16013,7 @@ paths: - slug - parent - type - - &174 + - &134 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -15774,7 +16136,7 @@ paths: - created_at additionalProperties: false examples: - default: &121 + default: &136 value: total_seats: 2 seats: @@ -16226,7 +16588,7 @@ paths: application/json: schema: type: array - items: &171 + items: &192 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16541,7 +16903,7 @@ paths: - date additionalProperties: true examples: - default: &172 + default: &193 value: - date: '2024-06-24' total_active_users: 24 @@ -16643,7 +17005,7 @@ paths: '500': *38 '403': *27 '404': *6 - '422': &173 + '422': &194 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16654,6 +17016,213 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": + get: + summary: Get Copilot enterprise usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot enterprise usage metrics report for a specific day. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the specified day, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Only enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day + parameters: + - *39 + - &114 + name: day + description: The day to request data for, in `YYYY-MM-DD` format. + in: query + required: true + schema: + type: string + format: date + examples: + - '2025-10-13' + responses: + '200': + description: Response + content: + application/json: + schema: &115 + type: object + title: Copilot Metrics 1 Day Report + description: Links to download the Copilot usage metrics report for + an enterprise for a specific day. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the Copilot usage metrics report + for the enterprise for the specified day. + report_day: + type: string + format: date + description: The day of the report in `YYYY-MM-DD` format. + required: + - download_links + - report_day + examples: + default: &116 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_day: '2025-07-01' + '500': *38 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": + get: + summary: Get Copilot enterprise usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise Copilot usage metrics report. The report provides comprehensive usage data for Copilot features across the enterprise. + + The report contains aggregated metrics for the previous 28 days, including usage statistics for various Copilot features, user engagement data, and feature adoption metrics. Reports are generated daily and made available for download through signed URLs with a limited expiration time. + + The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Only enterprise owners and billing managers can retrieve Copilot metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-enterprise-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-enterprise-usage-metrics + parameters: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: &117 + type: object + title: Copilot Metrics 28 Day Report + description: Links to download the latest Copilot usage metrics report + for an enterprise. + properties: + download_links: + type: array + items: + type: string + format: uri + description: The URLs to download the latest Copilot usage metrics + report for the enterprise. + report_start_day: + type: string + format: date + description: The start date of the report period in `YYYY-MM-DD` + format. + report_end_day: + type: string + format: date + description: The end date of the report period in `YYYY-MM-DD` + format. + required: + - download_links + - report_start_day + - report_end_day + examples: + default: &118 + value: + download_links: + - https://example.com/copilot-usage-report-1.json + - https://example.com/copilot-usage-report-2.json + report_start_day: '2025-07-01' + report_end_day: '2025-07-28' + '500': *38 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-1-day": + get: + summary: Get Copilot users usage metrics for a specific day + description: |- + Use this endpoint to retrieve download links for the Copilot user usage metrics report for a specific day. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the specified day, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date of the report. The report covers a complete day for which data has been processed. Reports are available starting from October 10, 2025, and historical data can be accessed for up to 1 year from the current date. + + Only enterprise owners and billing managers can retrieve Copilot user metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-one-day-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics-for-a-specific-day + parameters: + - *39 + - *114 + responses: + '200': + description: Response + content: + application/json: + schema: *115 + examples: + default: *116 + '500': *38 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics + "/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": + get: + summary: Get Copilot users usage metrics + description: |- + Use this endpoint to retrieve download links for the latest 28-day enterprise users Copilot usage metrics report. The report provides detailed user-level usage data and engagement metrics for Copilot features across the enterprise. + + The report contains user-specific metrics for the previous 28 days, including individual user engagement statistics, feature usage patterns, and adoption metrics broken down by user. This report allows enterprise administrators to analyze Copilot usage at the user level to understand adoption patterns and identify opportunities for increased engagement. + + Reports are generated daily and made available for download through signed URLs with a limited expiration time. The response includes download links to the report files, along with the specific date range covered by the report. The report covers a complete 28-day period ending on the most recent day for which data has been processed. + + Only enterprise owners and billing managers can retrieve Copilot users metrics reports for the enterprise. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/copilot-users-usage-metrics + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-users-usage-metrics + parameters: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: *117 + examples: + default: *118 + '500': *38 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: copilot + subcategory: copilot-metrics "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -16673,7 +17242,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &294 + - &316 name: state in: query description: |- @@ -16682,7 +17251,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &295 + - &317 name: severity in: query description: |- @@ -16691,7 +17260,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &296 + - &318 name: ecosystem in: query description: |- @@ -16700,14 +17269,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &297 + - &319 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &298 + - &320 name: epss_percentage in: query description: |- @@ -16719,7 +17288,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &560 + - &579 name: has in: query description: |- @@ -16733,7 +17302,7 @@ paths: type: string enum: - patch - - &299 + - &321 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16743,7 +17312,7 @@ paths: enum: - development - runtime - - &300 + - &322 name: sort in: query description: |- @@ -16758,34 +17327,9 @@ paths: - updated - epss_percentage default: created - - *99 - - *97 - - *98 - - &301 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &302 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 + - *104 + - *102 + - *103 - *17 responses: '200': @@ -16794,11 +17338,11 @@ paths: application/json: schema: type: array - items: &303 + items: &323 type: object description: A Dependabot alert. properties: - number: *109 + number: *119 state: type: string description: The state of the Dependabot alert. @@ -16813,7 +17357,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &110 + package: &120 type: object description: Details for the vulnerable package. readOnly: true @@ -16861,7 +17405,7 @@ paths: - direct - transitive - - security_advisory: &561 + security_advisory: &580 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16892,13 +17436,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &113 + items: &123 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *110 + package: *120 severity: type: string description: The severity of the vulnerability. @@ -16966,8 +17510,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *111 - epss: *112 + cvss_severities: *121 + epss: *122 cwes: type: array description: Details for the advisory pertaining to Common @@ -17067,12 +17611,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *113 - url: *114 - html_url: *115 - created_at: *116 - updated_at: *117 - dismissed_at: *118 + security_vulnerability: *123 + url: *124 + html_url: *125 + created_at: *126 + updated_at: *127 + dismissed_at: *128 dismissed_by: anyOf: - type: 'null' @@ -17096,8 +17640,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *119 - auto_dismissed_at: &562 + fixed_at: *129 + auto_dismissed_at: &581 type: - string - 'null' @@ -17105,7 +17649,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - repository: *108 + repository: *113 required: - number - state @@ -17124,7 +17668,7 @@ paths: - repository additionalProperties: false examples: - default: &304 + default: &324 value: - number: 2 state: dismissed @@ -17452,6 +17996,601 @@ paths: previews: [] category: dependabot subcategory: alerts + "/enterprises/{enterprise}/enterprise-roles": + get: + summary: Get all enterprise roles for an enterprise + description: |- + Lists the enterprise roles available in this enterprise. + + To use this endpoint, the authenticated user must be one of: + + - An administrator for the enterprise. + - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/list-enterprise-roles + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-all-enterprise-roles-for-an-enterprise + parameters: + - *39 + responses: + '200': + description: Response - list of enterprise roles + content: + application/json: + schema: + type: object + properties: + total_count: + type: integer + description: The total number of enterprise roles available to + the enterprise. + roles: + type: array + description: The list of enterprise roles available to the enterprise. + items: &133 + title: Enterprise Role + description: Enterprise custom roles + type: object + properties: + id: + description: The unique identifier of the role. + type: integer + format: int64 + name: + description: The name of the role. + type: string + description: + description: A short description about who this role is + for or what permissions it grants. + type: + - string + - 'null' + source: + type: + - string + - 'null' + description: Source answers the question, "where did this + role come from?" + enum: + - Enterprise + - Predefined + - + permissions: + description: A list of permissions included in this role. + type: array + items: + type: string + enterprise: + anyOf: + - type: 'null' + - *18 + created_at: + description: The date and time the role was created. + type: string + format: date-time + updated_at: + description: The date and time the role was last updated. + type: string + format: date-time + required: + - id + - name + - permissions + - enterprise + - created_at + - updated_at + examples: + default: + value: + total_count: 2 + roles: + - id: 8030 + name: Security Manager + description: A role for security managers + permissions: + - read_enterprise_custom_enterprise_role + - write_enterprise_security_configuration + enterprise: + id: 1, + slug: github-inc + name: GitHub, Inc + node_id: E_kgAB + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great enterprise + website_url: + html_url: https://github.com/enterprises/github-inc + created_at: '2025-07-17T18:00:58Z' + updated_at: '2025-07-17T18:00:58Z' + created_at: '2022-07-04T22:19:11Z' + updated_at: '2022-07-04T22:20:11Z' + source: Enterprise + - id: 8031 + name: Enterprise Auditor + description: Permissions to read enterprise audit logs and security + settings + permissions: + - read_enterprise_audit_logs + - read_enterprise_security_configuration + enterprise: + id: 1, + slug: github-inc + name: GitHub, Inc + node_id: E_kgAB + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great enterprise + website_url: + html_url: https://github.com/enterprises/github-inc + created_at: '2025-07-17T18:00:58Z' + updated_at: '2025-07-17T18:00:58Z' + created_at: '2022-07-04T22:19:11Z' + updated_at: '2022-07-04T22:20:11Z' + source: Enterprise + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: enterprise-roles + "/enterprises/{enterprise}/enterprise-roles/teams/{team_slug}": + delete: + summary: Remove all enterprise roles from a team + description: |- + Removes all assigned enterprise roles from a team in an enterprise. + + To use this endpoint, the authenticated user must be one of: + + - An administrator for the enterprise. + - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/revoke-all-enterprise-roles-team + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team + parameters: + - *39 + - &130 + name: team_slug + description: The slug of the enterprise team name. + in: path + required: true + schema: + type: string + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': + description: Response if the enterprise roles feature is not enabled for + the enterprise, or validation failed. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: enterprise-roles + "/enterprises/{enterprise}/enterprise-roles/teams/{team_slug}/{role_id}": + put: + summary: Assign an enterprise role to a team + description: |- + Assigns an enterprise role to a team in an enterprise. + + To use this endpoint, the authenticated user must be one of: + + - An administrator for the enterprise. + - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/assign-team-to-enterprise-role + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team + parameters: + - *39 + - *130 + - &131 + name: role_id + description: The unique identifier of the role. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': + description: Response if the enterprise roles feature is not enabled for + the enterprise, or validation failed. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: enterprise-roles + delete: + summary: Remove an enterprise role from a team + description: |- + Removes an enterprise role from a team in an enterprise. + + To use this endpoint, the authenticated user must be one of: + + - An administrator for the enterprise. + - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/revoke-enterprise-role-team + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team + parameters: + - *39 + - *130 + - *131 + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': + description: Response if the enterprise roles feature is not enabled for + the enterprise, or validation failed. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: enterprise-roles + "/enterprises/{enterprise}/enterprise-roles/users/{username}": + delete: + summary: Remove all enterprise roles from a user + description: |- + Removes all enterprise roles from an enterprise user in an enterprise. + + To use this endpoint, the authenticated user must be one of: + + - An administrator for the enterprise. + - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/remove-all-enterprise-roles-from-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user + parameters: + - *39 + - &132 + name: username + description: The handle for the GitHub user account. + in: path + required: true + schema: + type: string + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': + description: Response if the enterprise roles feature is not enabled for + the enterprise, or validation failed. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: enterprise-roles + "/enterprises/{enterprise}/enterprise-roles/users/{username}/{role_id}": + put: + summary: Assign an enterprise role to an enterprise user + description: |- + Assigns an enterprise role to a user in an enterprise. + + To use this endpoint, the authenticated user must be one of: + + - An administrator for the enterprise. + - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/assign-enterprise-role-to-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user + parameters: + - *39 + - *132 + - *131 + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': + description: Response if the enterprise roles feature is not enabled for + the enterprise, or validation failed. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: enterprise-roles + delete: + summary: Remove enterprise user role assignment + description: |- + Removes an enterprise role from an enterprise user. + + To use this endpoint, the authenticated user must be one of: + + - An administrator for the enterprise. + - A user, or a user on a team, with the fine-grained permission `write_enterprise_custom_enterprise_role` in the enterprise. + + OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/remove-enterprise-user-role-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment + parameters: + - *39 + - *132 + - *131 + responses: + '204': + description: Response + '403': *27 + '404': *6 + '422': + description: Response if the enterprise roles feature is not enabled for + the enterprise, or validation failed. + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: enterprise-roles + "/enterprises/{enterprise}/enterprise-roles/{role_id}": + get: + summary: Get an enterprise role + description: |- + Gets a custom enterprise role that is available within the enterprise. + + To use this endpoint, the authenticated user must be one of: + + - An administrator for the enterprise. + - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-role + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-an-enterprise-role + parameters: + - *39 + - *131 + responses: + '200': + description: Response + content: + application/json: + schema: *133 + examples: + default: + value: + id: 8030 + name: Security Manager + description: A role for security managers + permissions: + - read_enterprise_custom_enterprise_role + - write_enterprise_security_configuration + enterprise: + id: 1, + slug: github-inc + name: GitHub, Inc + node_id: E_kgAB + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great enterprise + website_url: + html_url: https://github.com/enterprises/github-inc + created_at: '2025-07-17T18:00:58Z' + updated_at: '2025-07-17T18:00:58Z' + created_at: '2022-07-04T22:19:11Z' + updated_at: '2022-07-04T22:20:11Z' + source: Enterprise + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: enterprise-roles + "/enterprises/{enterprise}/enterprise-roles/{role_id}/teams": + get: + summary: List teams that are assigned to an enterprise role + description: |- + Lists the teams that are assigned to an enterprise role. + + To use this endpoint, the authenticated user must be one of: + + - An administrator for the enterprise. + - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise. + + OAuth app tokens and personal access tokens (classic) require the `read:enterprise` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/list-enterprise-role-teams + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role + parameters: + - *39 + - *131 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *134 + examples: + default: &195 + value: + - id: 1 + name: Justice League + description: A great team. + slug: justice-league + url: https://api.github.com/enterprises/dc/teams/justice-league + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + html_url: https://github.com/enterprises/dc/teams/justice-league + members_url: https://api.github.com/enterprises/dc/teams/justice-league/members{/member} + created_at: '2019-01-26T19:01:12Z' + updated_at: '2019-01-26T19:14:43Z' + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: enterprise-roles + "/enterprises/{enterprise}/enterprise-roles/{role_id}/users": + get: + summary: List users that are assigned to an enterprise role + description: |- + Lists enterprise members that are assigned to an enterprise role. + + To use this endpoint, a user must be one of: + + - An administrator for the enterprise. + - A user, or a user on a team, with the fine-grained permission `read_enterprise_custom_enterprise_role` in the enterprise. + + OAuth app tokens and personal access tokens (classic) require the `enterprise:admin` scope to access this endpoint. + tags: + - enterprise-admin + operationId: enterprise-admin/list-enterprise-role-users + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role + parameters: + - *39 + - *131 + - *17 + - *19 + responses: + '200': + description: Response - List of assigned users + content: + application/json: + schema: + type: array + description: List of users assigned to the enterprise role + items: + title: An Enterprise Role Assignment for a User + description: The Relationship a User has with a role in an enterprise + context. + allOf: + - *4 + - type: object + properties: + assignment: + type: string + description: Determines if the user has a direct, indirect, + or mixed relationship to a role + enum: + - direct + - indirect + - mixed + examples: + - direct + inherited_from: + description: Enterprise Team the user has gotten the role + through + type: array + items: *134 + examples: + default: + value: + - assignment: direct + inherited_from: [] + name: The Octocat + email: octocat@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: 41d064eb2195891e12d0413f63227ea7 + 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 + - assignment: indirect + inherited_from: + - id: 1 + name: Justice League + description: Enterprise team for superheroes + slug: justice-league + url: https://api.github.com/enterprises/dc/teams/justice-league + sync_to_organizations: disabled + organization_selection_type: disabled + group_id: 62ab9291-fae2-468e-974b-7e45096d5021 + group_name: Justice League + html_url: https://github.com/enterprises/dc/teams/justice-league + members_url: https://api.github.com/enterprises/dc/teams/justice-league/members{/member} + created_at: '2019-01-26T19:01:12Z' + updated_at: '2019-01-26T19:14:43Z' + name: Mona Lisa + email: mona@github.com + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://github.com/images/error/monalisa_happy.gif + 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: false + headers: + Link: *41 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: enterprise-roles "/enterprises/{enterprise}/license-sync-status": get: summary: Get a license sync status @@ -17541,13 +18680,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - &178 - name: username - description: The handle for the GitHub user account. - in: path - required: true - schema: - type: string + - *132 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -17563,9 +18696,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *120 + items: *135 examples: - default: *121 + default: *136 '500': *38 '401': *23 '403': *27 @@ -17608,7 +18741,7 @@ paths: type: integer network_configurations: type: array - items: &122 + items: &137 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -17653,7 +18786,7 @@ paths: - name - created_on examples: - default: &407 + default: &426 value: total_count: 2 network_configurations: @@ -17731,9 +18864,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *137 examples: - default: &123 + default: &138 value: id: 123456789ABCDEF name: My network configuration @@ -17760,7 +18893,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - &124 + - &139 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -17772,9 +18905,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *137 examples: - default: *123 + default: *138 headers: Link: *41 x-github: @@ -17794,7 +18927,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - *124 + - *139 requestBody: required: true content: @@ -17833,9 +18966,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *137 examples: - default: *123 + default: *138 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -17853,7 +18986,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *39 - - *124 + - *139 responses: '204': description: Response @@ -17876,7 +19009,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &408 + - &427 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17888,7 +19021,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &428 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17927,7 +19060,7 @@ paths: - subnet_id - region examples: - default: &410 + default: &429 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17941,6 +19074,540 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: network-configurations + "/enterprises/{enterprise}/org-properties/schema": + get: + summary: Get organization custom properties schema for an enterprise + description: |- + Gets all organization custom property definitions that are defined on an enterprise. + + Access requirements: + - Enterprise admins + - OAuth tokens and personal access tokens (classic) with the `read:enterprise` scope + - Actors with the enterprise-level "read enterprise custom properties for organizations" fine-grained permission or above + tags: + - enterprise-admin + operationId: enterprise-admin/custom-properties-for-orgs-get-enterprise-definitions + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#get-organization-custom-properties-schema-for-an-enterprise + parameters: + - *39 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &140 + title: Custom Property for Organization + description: Custom property defined for an organization + allOf: + - type: object + properties: + property_name: + type: string + description: The name of the property + url: + type: string + format: uri + description: The URL that can be used to fetch, update, or + delete info about this property via the API. + source_type: + type: string + description: The source type of the property + enum: + - organization + - enterprise + examples: + - organization + value_type: + type: string + enum: + - string + - single_select + - multi_select + - true_false + description: The type of the value for the property + examples: + - single_select + required: + type: boolean + description: Whether the property is required. + default_value: + oneOf: + - type: string + - type: array + items: + type: string + description: Default value of the property + type: + - 'null' + - string + - array + description: + type: + - string + - 'null' + description: Short description of the property + allowed_values: + type: + - array + - 'null' + items: + type: string + maxLength: 75 + maxItems: 200 + description: |- + An ordered list of the allowed values of the property. + The property can have up to 200 allowed values. + - type: object + properties: + values_editable_by: + type: + - string + - 'null' + enum: + - enterprise_actors + - enterprise_and_org_actors + - + description: Who can edit the values of the property + examples: + - enterprise_actors + required: + - property_name + - value_type + examples: + default: &141 + value: + properties: + - property_name: environment + url: https://api.github.com/enterprises/github/org-properties/schema/environment + source_type: enterprise + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development + values_editable_by: enterprise_actors + - property_name: service + url: https://api.github.com/enterprises/github/org-properties/schema/service + source_type: enterprise + value_type: string + - property_name: team + url: https://api.github.com/enterprises/github/org-properties/schema/team + source_type: enterprise + value_type: string + description: Team owning the organization + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties-for-orgs + patch: + summary: Create or update organization custom property definitions on an enterprise + description: |- + Creates new or updates existing organization custom properties defined on an enterprise in a batch. + + If the property already exists, the existing property will be replaced with the new values. + Missing optional values will fall back to default values, previous values will be overwritten. + + Access requirements: + - Enterprise admins + - OAuth tokens and personal access tokens (classic) with the `admin:enterprise` scope + - Actors with the enterprise-level "manage enterprise custom properties for organizations" fine-grained permission + tags: + - enterprise-admin + operationId: enterprise-admin/custom-properties-for-orgs-create-or-update-enterprise-definitions + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-organization-custom-property-definitions-on-an-enterprise + parameters: + - *39 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + properties: + type: array + description: The array of organization custom properties to create + or update. + items: *140 + minItems: 1 + maxItems: 100 + required: + - properties + examples: + default: *141 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *140 + examples: + default: *141 + '403': *27 + '404': *6 + '422': *7 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties-for-orgs + "/enterprises/{enterprise}/org-properties/schema/{custom_property_name}": + get: + summary: Get an organization custom property definition from an enterprise + description: |- + Gets an organization custom property definition that is defined on an enterprise. + + Access requirements: + - Enterprise admins + - OAuth tokens and personal access tokens (classic) with the `read:enterprise` scope + - Actors with the enterprise-level "read enterprise custom properties for organizations" fine-grained permission or above + tags: + - enterprise-admin + operationId: enterprise-admin/custom-properties-for-orgs-get-enterprise-definition + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise + parameters: + - *39 + - &142 + name: custom_property_name + description: The custom property name + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *140 + examples: + default: &143 + value: + property_name: environment + url: https://api.github.com/enterprises/github/org-properties/schema/environment + source_type: enterprise + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development + values_editable_by: enterprise_actors + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties-for-orgs + put: + summary: Create or update an organization custom property definition on an enterprise + description: |- + Creates a new or updates an existing organization custom property definition that is defined on an enterprise. + + Access requirements: + - Enterprise admins + - OAuth tokens and personal access tokens (classic) with the `admin:enterprise` scope + - Actors with the enterprise-level "manage enterprise custom properties for organizations" fine-grained permission + tags: + - enterprise-admin + operationId: enterprise-admin/custom-properties-for-orgs-create-or-update-enterprise-definition + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise + parameters: + - *39 + - *142 + requestBody: + required: true + content: + application/json: + schema: + title: Organization Custom Property Payload + description: Payload for creating or updating an organization custom + property definition on an enterprise. + type: object + properties: + value_type: + type: string + enum: + - string + - single_select + - multi_select + - true_false + description: The type of the value for the property. + examples: + - single_select + required: + type: boolean + description: Whether the property is required. + default_value: + oneOf: + - type: string + - type: array + items: + type: string + description: Default value of the property. + type: + - 'null' + - string + - array + description: + type: + - string + - 'null' + description: Short description of the property. + allowed_values: + type: + - array + - 'null' + items: + type: string + maxLength: 75 + maxItems: 200 + description: |- + An ordered list of the allowed values of the property. + The property can have up to 200 allowed values. + values_editable_by: + type: + - string + - 'null' + enum: + - enterprise_actors + - enterprise_and_org_actors + - + description: Who can edit the values of the property. + examples: + - enterprise_actors + required: + - value_type + examples: + default: + value: + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development + responses: + '200': + description: Response + content: + application/json: + schema: *140 + examples: + default: *143 + '403': *27 + '404': *6 + '422': *7 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties-for-orgs + delete: + summary: Remove an organization custom property definition from an enterprise + description: |- + Removes an organization custom property definition that is defined on an enterprise. + + Access requirements: + - Enterprise admins + - OAuth tokens and personal access tokens (classic) with the `admin:enterprise` scope + - Actors with the enterprise-level "manage enterprise custom properties for organizations" fine-grained permission + tags: + - enterprise-admin + operationId: enterprise-admin/custom-properties-for-orgs-delete-enterprise-definition + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#remove-an-organization-custom-property-definition-from-an-enterprise + parameters: + - *39 + - *142 + responses: + '204': *144 + '403': *27 + '404': *6 + '422': *7 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties-for-orgs + "/enterprises/{enterprise}/org-properties/values": + get: + summary: List custom property values for organizations in an enterprise + description: |- + Lists enterprise organizations with all of their custom property values. + + Access requirements: + - Enterprise admins + - OAuth tokens and personal access tokens (classic) with the `read:enterprise` scope + - Actors with the enterprise-level "read enterprise custom properties for organizations" fine-grained permission or above + tags: + - enterprise-admin + operationId: enterprise-admin/custom-properties-for-orgs-get-enterprise-values + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#list-custom-property-values-for-organizations-in-an-enterprise + parameters: + - *39 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + title: Enterprise Organization Custom Property Values + description: List of custom property values for an organization + type: object + properties: + organization_id: + type: integer + examples: + - 1296269 + organization_login: + type: string + examples: + - Hello-World + properties: + type: array + items: &145 + title: Custom Property Value + description: Custom property name and associated value + type: object + properties: + property_name: + type: string + description: The name of the property + value: + oneOf: + - type: string + - type: array + items: + type: string + description: The value assigned to the property + type: + - 'null' + - string + - array + required: + - property_name + - value + description: List of custom property names and associated values + required: + - organization_id + - organization_login + - properties + examples: + default: + value: + - organization_id: 1296269 + organization_login: Hello-World + properties: + - property_name: environment + value: production + - property_name: service + value: web + - property_name: team + value: octocat + headers: + Link: *41 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties-for-orgs + patch: + summary: Create or update custom property values for organizations in an enterprise + description: |- + Create or update custom property values for organizations in an enterprise. + + To remove a custom property value from an organization, set the property value to `null`. + + Access requirements: + - Enterprise admins + - OAuth tokens and personal access tokens (classic) with the `admin:enterprise` scope + - Actors with the enterprise-level "edit enterprise custom properties for organizations" fine-grained permission or above + tags: + - enterprise-admin + operationId: enterprise-admin/custom-properties-for-orgs-create-or-update-enterprise-values + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-custom-property-values-for-organizations-in-an-enterprise + parameters: + - *39 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + organization_logins: + type: array + description: The names of organizations that the custom property + values will be applied to. + items: + type: string + minItems: 1 + maxItems: 30 + properties: + type: array + description: List of custom property names and associated values + to apply to the organizations. + items: *145 + required: + - organization_logins + - properties + examples: + default: + value: + organization_logins: + - acme + - github + properties: + - property_name: environment + value: production + - property_name: service + value: web + - property_name: team + value: octocat + responses: + '204': + description: No Content when custom property values are successfully created + or updated + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties-for-orgs "/enterprises/{enterprise}/properties/schema": get: summary: Get custom properties for an enterprise @@ -17962,7 +19629,7 @@ paths: application/json: schema: type: array - items: &125 + items: &146 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -18038,7 +19705,7 @@ paths: - property_name - value_type examples: - default: &126 + default: &147 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -18095,7 +19762,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *125 + items: *146 minItems: 1 maxItems: 100 required: @@ -18125,9 +19792,9 @@ paths: application/json: schema: type: array - items: *125 + items: *146 examples: - default: *126 + default: *147 '403': *27 '404': *6 x-github: @@ -18150,22 +19817,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *39 - - *76 - - &127 - name: custom_property_name - description: The custom property name - in: path - required: true - schema: - type: string + - *81 + - *142 responses: '200': description: Response content: application/json: - schema: *125 + schema: *146 examples: - default: &128 + default: &148 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -18198,15 +19859,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *39 - - *127 + - *142 responses: '200': description: Response content: application/json: - schema: *125 + schema: *146 examples: - default: *128 + default: *148 '403': *27 '404': *6 x-github: @@ -18228,12 +19889,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *39 - - *127 + - *142 requestBody: required: true content: application/json: - schema: &375 + schema: &395 title: Custom Property Set Payload description: Custom property set payload type: object @@ -18306,9 +19967,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *146 examples: - default: *128 + default: *148 '403': *27 '404': *6 x-github: @@ -18330,9 +19991,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *39 - - *127 + - *142 responses: - '204': *129 + '204': *144 '403': *27 '404': *6 x-github: @@ -18372,7 +20033,7 @@ paths: - push - repository default: branch - enforcement: &136 + enforcement: &157 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights @@ -18385,7 +20046,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &137 + items: &158 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -18427,7 +20088,7 @@ paths: - pull_request - exempt default: always - conditions: &160 + conditions: &181 title: Enterprise ruleset conditions type: object description: Conditions for an enterprise ruleset. The conditions @@ -18441,7 +20102,7 @@ paths: description: Conditions to target organizations by name and all repositories allOf: - - &130 + - &149 title: Repository ruleset conditions for organization names type: object description: Parameters for an organization name condition @@ -18467,7 +20128,7 @@ paths: type: string required: - organization_name - - &133 + - &152 title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -18496,7 +20157,7 @@ paths: is prevented. required: - repository_name - - &132 + - &151 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name condition @@ -18524,8 +20185,8 @@ paths: description: Conditions to target organizations by name and repositories by property allOf: - - *130 - - &135 + - *149 + - &154 title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -18538,7 +20199,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &131 + items: &150 title: Repository ruleset property targeting definition type: object description: Parameters for a targeting a repository @@ -18569,16 +20230,16 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *131 + items: *150 required: - repository_property - - *132 + - *151 - type: object title: organization_id_and_repository_name description: Conditions to target organizations by id and all repositories allOf: - - &134 + - &153 title: Repository ruleset conditions for organization IDs type: object description: Parameters for an organization ID condition @@ -18595,25 +20256,80 @@ paths: type: integer required: - organization_id - - *133 - - *132 + - *152 + - *151 - type: object title: organization_id_and_repository_property description: Conditions to target organization by id and repositories by property allOf: - - *134 - - *135 - - *132 + - *153 + - *154 + - *151 + - type: object + title: organization_property_and_repository_name + description: Conditions to target organizations by property and + all repositories + allOf: + - &156 + title: Repository ruleset conditions for organization properties + type: object + description: Parameters for a organization property condition + properties: + organization_property: + type: object + properties: + include: + type: array + description: The organization properties and values + to include. All of these properties must match for + the condition to pass. + items: &155 + title: Repository ruleset property targeting definition + type: object + description: Parameters for a targeting a organization + property + properties: + name: + type: string + description: The name of the organization property + to target + property_values: + type: array + description: The values to match for the organization + property + items: + type: string + required: + - name + - property_values + exclude: + type: array + description: The organization properties and values + to exclude. The condition will not pass if any of + these properties match. + items: *155 + required: + - organization_property + - *152 + - *151 + - type: object + title: organization_property_and_repository_property + description: Conditions to target organizations by property and + repositories by property + allOf: + - *156 + - *154 + - *151 rules: type: array description: An array of rules within the ruleset. - items: &161 + items: &182 title: Repository Rule type: object description: A repository rule. oneOf: - - &138 + - &159 title: creation description: Only allow users with bypass permission to create matching refs. @@ -18625,7 +20341,7 @@ paths: type: string enum: - creation - - &139 + - &160 title: update description: Only allow users with bypass permission to update matching refs. @@ -18646,7 +20362,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &140 + - &161 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -18658,7 +20374,7 @@ paths: type: string enum: - deletion - - &141 + - &162 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -18670,7 +20386,7 @@ paths: type: string enum: - required_linear_history - - &142 + - &163 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -18694,7 +20410,7 @@ paths: type: string required: - required_deployment_environments - - &143 + - &164 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -18706,7 +20422,7 @@ paths: type: string enum: - required_signatures - - &144 + - &165 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -18766,7 +20482,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &145 + - &166 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -18813,7 +20529,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &146 + - &167 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -18825,7 +20541,7 @@ paths: type: string enum: - non_fast_forward - - &147 + - &168 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -18861,7 +20577,7 @@ paths: required: - operator - pattern - - &148 + - &169 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -18897,7 +20613,7 @@ paths: required: - operator - pattern - - &149 + - &170 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -18933,7 +20649,7 @@ paths: required: - operator - pattern - - &150 + - &171 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -18969,7 +20685,7 @@ paths: required: - operator - pattern - - &151 + - &172 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -19005,7 +20721,7 @@ paths: required: - operator - pattern - - &152 + - &173 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -19029,7 +20745,7 @@ paths: type: string required: - restricted_file_paths - - &153 + - &174 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -19053,7 +20769,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &154 + - &175 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -19076,7 +20792,7 @@ paths: type: string required: - restricted_file_extensions - - &155 + - &176 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -19100,7 +20816,7 @@ paths: maximum: 100 required: - max_file_size - - &156 + - &177 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -19149,7 +20865,7 @@ paths: - repository_id required: - workflows - - &157 + - &178 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -19235,7 +20951,7 @@ paths: description: Response content: application/json: - schema: &158 + schema: &179 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -19270,11 +20986,11 @@ paths: source: type: string description: The name of the source - enforcement: *136 + enforcement: *157 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 + items: *158 current_user_can_bypass: type: string description: |- @@ -19306,8 +21022,8 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - *132 - - &380 + - *151 + - &399 title: Organization ruleset conditions type: object description: |- @@ -19321,14 +21037,14 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *132 - - *133 + - *151 + - *152 - type: object title: repository_id_and_ref_name description: Conditions to target repositories by id and refs by name allOf: - - *132 + - *151 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -19350,23 +21066,23 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *132 - - *135 + - *151 + - *154 type: - 'null' - object rules: type: array - items: &679 + items: &700 title: Repository Rule type: object description: A repository rule. oneOf: - - *138 - - *139 - - *140 - - *141 - - &676 + - *159 + - *160 + - *161 + - *162 + - &697 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -19444,23 +21160,23 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - *142 - - *143 - - *144 - - *145 - - *146 - - *147 - - *148 - - *149 - - *150 - - *151 - - *152 - - *153 - - *154 - - *155 - - *156 - - *157 - - &677 + - *163 + - *164 + - *165 + - *166 + - *167 + - *168 + - *169 + - *170 + - *171 + - *172 + - *173 + - *174 + - *175 + - *176 + - *177 + - *178 + - &698 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -19490,7 +21206,7 @@ paths: type: string format: date-time examples: - default: &159 + default: &180 value: id: 21 name: super cool ruleset @@ -19549,9 +21265,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *179 examples: - default: *159 + default: *180 '404': *6 '500': *38 x-github: @@ -19595,16 +21311,16 @@ paths: - tag - push - repository - enforcement: *136 + enforcement: *157 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *160 + items: *158 + conditions: *181 rules: description: An array of rules within the ruleset. type: array - items: *161 + items: *182 examples: default: value: @@ -19628,9 +21344,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *179 examples: - default: *159 + default: *180 '404': *6 '500': *38 x-github: @@ -19692,7 +21408,7 @@ paths: application/json: schema: type: array - items: &162 + items: &183 title: Ruleset version type: object description: The historical version of a ruleset @@ -19716,7 +21432,7 @@ paths: type: string format: date-time examples: - default: &383 + default: &402 value: - version_id: 3 actor: @@ -19769,9 +21485,9 @@ paths: description: Response content: application/json: - schema: &384 + schema: &403 allOf: - - *162 + - *183 - type: object required: - state @@ -19824,7 +21540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &385 + - &404 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19835,7 +21551,7 @@ paths: enum: - open - resolved - - &386 + - &405 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19845,7 +21561,7 @@ paths: required: false schema: type: string - - &387 + - &406 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19854,7 +21570,7 @@ paths: required: false schema: type: string - - &388 + - &407 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -19866,11 +21582,11 @@ paths: - created - updated default: created - - *99 + - *104 - *17 - - *97 - - *98 - - &389 + - *102 + - *103 + - &408 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19879,7 +21595,7 @@ paths: required: false schema: type: string - - &390 + - &409 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19888,7 +21604,7 @@ paths: schema: type: boolean default: false - - &391 + - &410 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19897,7 +21613,7 @@ paths: schema: type: boolean default: false - - &392 + - &411 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19913,30 +21629,30 @@ paths: application/json: schema: type: array - items: &393 + items: &412 type: object properties: - number: *109 - created_at: *116 + number: *119 + created_at: *126 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *127 + url: *124 + html_url: *125 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &691 + state: &712 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &692 + resolution: &713 type: - string - 'null' @@ -19970,7 +21686,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *108 + repository: *113 push_protection_bypassed: type: - boolean @@ -20043,14 +21759,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &693 + - &714 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &695 + - &716 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -20107,7 +21823,7 @@ paths: - blob_url - commit_sha - commit_url - - &696 + - &717 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -20168,7 +21884,7 @@ paths: - page_url - commit_sha - commit_url - - &697 + - &718 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -20183,7 +21899,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &698 + - &719 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -20198,7 +21914,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &699 + - &720 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -20213,7 +21929,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &700 + - &721 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -20228,7 +21944,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &701 + - &722 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -20243,7 +21959,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &702 + - &723 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -20258,7 +21974,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &703 + - &724 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -20273,7 +21989,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &704 + - &725 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -20288,7 +22004,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &705 + - &726 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -20303,7 +22019,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &706 + - &727 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -20318,7 +22034,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &707 + - &728 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -20343,7 +22059,7 @@ paths: - type: 'null' - *4 examples: - default: &394 + default: &413 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -20521,9 +22237,9 @@ paths: headers: Link: *41 '404': *6 - '503': *163 + '503': *184 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -20552,13 +22268,13 @@ paths: description: Response content: application/json: - schema: &395 + schema: &414 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. type: object properties: - pattern_config_version: &165 + pattern_config_version: &186 type: - string - 'null' @@ -20568,7 +22284,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &164 + items: &185 type: object properties: token_type: @@ -20637,9 +22353,9 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *164 + items: *185 examples: - default: &396 + default: &415 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20694,7 +22410,7 @@ paths: schema: type: object properties: - pattern_config_version: *165 + pattern_config_version: *186 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -20720,7 +22436,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *165 + custom_pattern_version: *186 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -20756,7 +22472,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 "/enterprises/{enterprise}/settings/billing/actions": get: @@ -20783,7 +22499,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &417 type: object properties: total_minutes_used: @@ -20853,7 +22569,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &399 + default: &418 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20884,7 +22600,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &400 + - &419 name: advanced_security_product in: query description: | @@ -20904,7 +22620,7 @@ paths: description: Success content: application/json: - schema: &401 + schema: &420 type: object properties: total_advanced_security_committers: @@ -20967,7 +22683,7 @@ paths: required: - repositories examples: - default: &402 + default: &421 value: total_advanced_security_committers: 2 total_count: 2 @@ -21006,6 +22722,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise parameters: - *39 + - name: state + in: query + description: Set to `active` or `deleted` to only list cost centers in a specific + state. + required: false + schema: + type: string + enum: + - active + - deleted responses: '200': description: Response when getting cost centers @@ -21078,7 +22804,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21208,7 +22934,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id parameters: - *39 - - &168 + - &189 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -21220,7 +22946,7 @@ paths: description: Response when getting a cost center content: application/json: - schema: &166 + schema: &187 type: object properties: id: @@ -21260,7 +22986,7 @@ paths: - name - resources examples: - default: &167 + default: &188 value: id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 name: Cost Center Name @@ -21274,7 +23000,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21324,15 +23050,15 @@ paths: description: Response when updating a cost center content: application/json: - schema: *166 + schema: *187 examples: - default: *167 + default: *188 '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21350,7 +23076,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center parameters: - *39 - - *168 + - *189 responses: '200': description: Response when deleting a cost center @@ -21389,7 +23115,7 @@ paths: '404': *6 '403': *27 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21410,7 +23136,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center parameters: - *39 - - *168 + - *189 requestBody: required: true content: @@ -21481,9 +23207,9 @@ paths: previous_cost_center: yet-another-cost-center '400': *14 '403': *27 - '409': *107 + '409': *112 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21503,7 +23229,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center parameters: - *39 - - *168 + - *189 requestBody: required: true content: @@ -21550,7 +23276,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21581,7 +23307,7 @@ paths: description: Response content: application/json: - schema: &403 + schema: &422 type: object properties: total_gigabytes_bandwidth_used: @@ -21599,7 +23325,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &404 + default: &423 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21612,8 +23338,10 @@ paths: "/enterprises/{enterprise}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an enterprise - description: Gets a report of premium request usage for an enterprise. To use - this endpoint, you must be an administrator or billing manager of the enterprise. + description: |- + Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-ghe @@ -21622,7 +23350,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *39 - - &169 + - &190 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -21631,7 +23359,7 @@ paths: required: false schema: type: integer - - &213 + - &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 @@ -21640,7 +23368,7 @@ paths: required: false schema: type: integer - - &170 + - &191 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -21656,21 +23384,21 @@ paths: required: false schema: type: string - - &214 + - &235 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &215 + - &236 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &216 + - &237 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21754,19 +23482,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -21809,7 +23537,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -21840,7 +23568,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &424 type: object properties: days_left_in_billing_cycle: @@ -21858,7 +23586,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &406 + default: &425 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21883,8 +23611,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *39 - - *169 - - &217 + - *190 + - &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 @@ -21893,8 +23621,8 @@ paths: required: false schema: type: integer - - *170 - - &218 + - *191 + - &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 @@ -21915,7 +23643,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &219 + schema: &240 type: object properties: usageItems: @@ -21968,7 +23696,7 @@ paths: - netAmount - organizationName examples: - default: &220 + default: &241 value: usageItems: - date: '2023-08-01' @@ -21985,7 +23713,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -22019,12 +23747,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team parameters: - *39 - - name: team_slug - description: The slug of the enterprise team name. - in: path - required: true - schema: - type: string + - *130 - 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`). @@ -22056,13 +23779,13 @@ paths: application/json: schema: type: array - items: *171 + items: *192 examples: - default: *172 + default: *193 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *194 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -22089,20 +23812,9 @@ paths: application/json: schema: type: array - items: *174 + items: *134 examples: - default: &175 - value: - - id: 1 - name: Justice League - description: A great team. - slug: justice-league - url: https://api.github.com/enterprises/dc/teams/justice-league - group_id: 62ab9291-fae2-468e-974b-7e45096d5021 - html_url: https://github.com/enterprises/dc/teams/justice-league - members_url: https://api.github.com/enterprises/dc/teams/justice-league/members{/member} - created_at: '2019-01-26T19:01:12Z' - updated_at: '2019-01-26T19:14:43Z' + default: *195 headers: Link: *41 '403': *27 @@ -22148,6 +23860,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -22167,9 +23891,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *134 examples: - default: *175 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22187,7 +23911,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &176 + - &196 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -22206,7 +23930,7 @@ paths: type: array items: *4 examples: - default: &177 + default: &197 value: - login: octocat id: 1 @@ -22245,7 +23969,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *176 + - *196 requestBody: required: true content: @@ -22276,7 +24000,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22294,7 +24018,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *176 + - *196 requestBody: required: true content: @@ -22325,7 +24049,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22343,8 +24067,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *176 - - *178 + - *196 + - *132 responses: '200': description: User is a member of the enterprise team. @@ -22352,7 +24076,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &179 + exampleKey1: &198 value: login: octocat id: 1 @@ -22388,8 +24112,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *176 - - *178 + - *196 + - *132 responses: '201': description: Successfully added team member @@ -22397,7 +24121,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *179 + exampleKey1: *198 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22415,8 +24139,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *176 - - *178 + - *196 + - *132 responses: '204': description: Response @@ -22426,6 +24150,227 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *39 + - *196 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: *67 + examples: + default: &199 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *39 + - *196 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *67 + examples: + default: &233 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *39 + - *196 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *39 + - *196 + - *81 + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *67 + examples: + default: *199 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *39 + - *196 + - *81 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *67 + examples: + default: *199 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *39 + - *196 + - *81 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -22441,7 +24386,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &180 + - &200 name: team_slug description: The slug of the team name. in: path @@ -22453,9 +24398,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *134 examples: - default: *175 + default: *195 headers: Link: *41 '403': *27 @@ -22475,7 +24420,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *180 + - *200 requestBody: required: true content: @@ -22503,6 +24448,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -22521,9 +24478,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *134 examples: - default: *175 + default: *195 headers: Link: *41 '403': *27 @@ -22546,7 +24503,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *180 + - *200 responses: '204': description: Response @@ -22645,7 +24602,7 @@ paths: application/json: schema: type: array - items: &208 + items: &228 title: Event description: Event type: object @@ -22656,7 +24613,7 @@ paths: type: - string - 'null' - actor: &181 + actor: &201 title: Actor description: Actor type: object @@ -22697,7 +24654,7 @@ paths: - id - name - url - org: *181 + org: *201 payload: oneOf: - title: CreateEvent @@ -22744,7 +24701,7 @@ paths: properties: action: type: string - discussion: &829 + discussion: &849 title: Discussion description: A Discussion in a repository. type: object @@ -23041,7 +24998,7 @@ paths: - id labels: type: array - items: &182 + items: &202 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -23124,7 +25081,7 @@ paths: properties: action: type: string - issue: &183 + issue: &203 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -23247,7 +25204,7 @@ paths: milestone: anyOf: - type: 'null' - - &368 + - &388 title: Milestone description: A collection of related issues and pull requests. @@ -23419,7 +25376,7 @@ paths: timeline_url: type: string format: uri - type: &331 + type: &351 title: Issue Type description: The type of issue. type: @@ -23473,12 +25430,12 @@ paths: - node_id - name - description - repository: *67 + repository: *72 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &184 + author_association: &204 title: author_association type: string description: How the author is associated with the @@ -23494,7 +25451,7 @@ paths: - OWNER examples: - OWNER - reactions: &185 + reactions: &205 title: Reaction Rollup type: object properties: @@ -23530,7 +25487,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &751 + sub_issues_summary: &772 title: Sub-issues Summary type: object properties: @@ -23551,7 +25508,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &752 + issue_dependencies_summary: &773 title: Issue Dependencies Summary type: object properties: @@ -23570,7 +25527,7 @@ paths: - total_blocking issue_field_values: type: array - items: &753 + items: &774 title: Issue Field Value description: A value assigned to an issue field type: object @@ -23670,10 +25627,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *202 labels: type: array - items: *182 + items: *202 required: - action - issue @@ -23682,8 +25639,8 @@ paths: properties: action: type: string - issue: *183 - comment: &617 + issue: *203 + comment: &636 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -23733,12 +25690,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *204 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *205 required: - id - node_id @@ -23917,7 +25874,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *206 allow_forking: type: boolean is_template: @@ -24008,7 +25965,7 @@ paths: type: string number: type: integer - pull_request: &187 + pull_request: &207 title: Pull Request Minimal type: object properties: @@ -24079,10 +26036,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *202 labels: type: array - items: *182 + items: *202 required: - action - number @@ -24092,7 +26049,7 @@ paths: properties: action: type: string - pull_request: *187 + pull_request: *207 comment: type: object properties: @@ -24346,7 +26303,7 @@ paths: - pull_request updated_at: type: string - pull_request: *187 + pull_request: *207 required: - action - review @@ -24395,7 +26352,7 @@ paths: updated_at: type: string format: date-time - reactions: *185 + reactions: *205 required: - action - comment @@ -24406,7 +26363,7 @@ paths: type: string release: allOf: - - &669 + - &690 title: Release description: A release. type: object @@ -24488,7 +26445,7 @@ paths: author: *4 assets: type: array - items: &670 + items: &691 title: Release Asset description: Data related to a release. type: object @@ -24563,7 +26520,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *185 + reactions: *205 required: - assets_url - upload_url @@ -24656,7 +26613,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24746,7 +26703,7 @@ paths: _links: type: object properties: - timeline: &188 + timeline: &208 title: Link With Type description: Hypermedia Link with Type type: object @@ -24758,17 +26715,17 @@ paths: required: - href - type - user: *188 - security_advisories: *188 - current_user: *188 - current_user_public: *188 - current_user_actor: *188 - current_user_organization: *188 + user: *208 + security_advisories: *208 + current_user: *208 + current_user_public: *208 + current_user_actor: *208 + current_user_organization: *208 current_user_organizations: type: array - items: *188 - repository_discussions: *188 - repository_discussions_category: *188 + items: *208 + repository_discussions: *208 + repository_discussions_category: *208 required: - timeline - user @@ -24830,7 +26787,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *189 + - *209 - *17 - *19 responses: @@ -24840,7 +26797,7 @@ paths: application/json: schema: type: array - items: &190 + items: &210 title: Base Gist description: Base Gist type: object @@ -24937,7 +26894,7 @@ paths: - created_at - updated_at examples: - default: &191 + default: &211 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -25061,7 +27018,7 @@ paths: description: Response content: application/json: - schema: &192 + schema: &212 title: Gist Simple description: Gist Simple type: object @@ -25079,7 +27036,7 @@ paths: url: type: string format: uri - user: &765 + user: &786 title: Public User description: Public User type: object @@ -25453,7 +27410,7 @@ paths: truncated: type: boolean examples: - default: &193 + default: &213 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -25557,7 +27514,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *189 + - *209 - *17 - *19 responses: @@ -25567,9 +27524,9 @@ paths: application/json: schema: type: array - items: *190 + items: *210 examples: - default: *191 + default: *211 headers: Link: *41 '422': *15 @@ -25591,7 +27548,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *189 + - *209 - *17 - *19 responses: @@ -25601,9 +27558,9 @@ paths: application/json: schema: type: array - items: *190 + items: *210 examples: - default: *191 + default: *211 headers: Link: *41 '401': *23 @@ -25631,7 +27588,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &194 + - &214 name: gist_id description: The unique identifier of the gist. in: path @@ -25643,10 +27600,10 @@ paths: description: Response content: application/json: - schema: *192 + schema: *212 examples: - default: *193 - '403': &197 + default: *213 + '403': &217 description: Forbidden Gist content: application/json: @@ -25695,7 +27652,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *194 + - *214 requestBody: required: true content: @@ -25759,9 +27716,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *212 examples: - updateGist: *193 + updateGist: *213 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25919,7 +27876,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *194 + - *214 responses: '204': description: Response @@ -25948,7 +27905,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *194 + - *214 - *17 - *19 responses: @@ -25958,7 +27915,7 @@ paths: application/json: schema: type: array - items: &195 + items: &215 title: Gist Comment description: A comment made to a gist. type: object @@ -25996,7 +27953,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *184 + author_association: *204 required: - url - id @@ -26061,7 +28018,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *194 + - *214 requestBody: required: true content: @@ -26087,9 +28044,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *215 examples: - default: &196 + default: &216 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -26147,8 +28104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *194 - - &198 + - *214 + - &218 name: comment_id description: The unique identifier of the comment. in: path @@ -26161,12 +28118,12 @@ paths: description: Response content: application/json: - schema: *195 + schema: *215 examples: - default: *196 + default: *216 '304': *35 '404': *6 - '403': *197 + '403': *217 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26188,8 +28145,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *194 - - *198 + - *214 + - *218 requestBody: required: true content: @@ -26215,9 +28172,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *215 examples: - default: *196 + default: *216 '404': *6 x-github: githubCloudOnly: false @@ -26234,8 +28191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *194 - - *198 + - *214 + - *218 responses: '204': description: Response @@ -26258,7 +28215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *194 + - *214 - *17 - *19 responses: @@ -26359,7 +28316,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *194 + - *214 - *17 - *19 responses: @@ -26369,7 +28326,7 @@ paths: application/json: schema: type: array - items: *192 + items: *212 examples: default: value: @@ -26434,13 +28391,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *194 + - *214 responses: '201': description: Response content: application/json: - schema: *190 + schema: *210 examples: default: value: @@ -26511,7 +28468,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *194 + - *214 responses: '204': description: Response if gist is starred @@ -26541,7 +28498,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *194 + - *214 responses: '204': description: Response @@ -26563,7 +28520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *194 + - *214 responses: '204': description: Response @@ -26592,7 +28549,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *194 + - *214 - name: sha in: path required: true @@ -26603,9 +28560,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *212 examples: - default: *193 + default: *213 '422': *15 '404': *6 '403': *27 @@ -26766,7 +28723,7 @@ paths: type: integer repositories: type: array - items: *67 + items: *72 repository_selection: type: string examples: @@ -26974,7 +28931,7 @@ paths: - closed - all default: open - - &334 + - &354 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -26992,8 +28949,8 @@ paths: - updated - comments default: created - - *99 - - *189 + - *104 + - *209 - name: collab in: query required: false @@ -27023,9 +28980,9 @@ paths: application/json: schema: type: array - items: *183 + items: *203 examples: - default: &335 + default: &355 value: - id: 1 node_id: MDU6SXNzdWUx @@ -27305,7 +29262,7 @@ paths: application/json: schema: type: array - items: *186 + items: *206 examples: default: value: @@ -27603,7 +29560,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &199 + X-CommonMarker-Version: &219 example: 0.17.4 schema: type: string @@ -27658,7 +29615,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *199 + X-CommonMarker-Version: *219 content: text/html: schema: @@ -27687,7 +29644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &202 + - &222 name: account_id description: account_id parameter in: path @@ -27699,7 +29656,7 @@ paths: description: Response content: application/json: - schema: &201 + schema: &221 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -27733,7 +29690,7 @@ paths: - 'null' id: type: integer - plan: &200 + plan: &220 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27836,7 +29793,7 @@ paths: - 'null' updated_at: type: string - plan: *200 + plan: *220 required: - url - id @@ -27844,7 +29801,7 @@ paths: - login - marketplace_purchase examples: - default: &203 + default: &223 value: url: https://api.github.com/orgs/github type: Organization @@ -27929,9 +29886,9 @@ paths: application/json: schema: type: array - items: *200 + items: *220 examples: - default: &204 + default: &224 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27971,14 +29928,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &205 + - &225 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &206 + - &226 name: sort description: The property to sort the results by. in: query @@ -28008,9 +29965,9 @@ paths: application/json: schema: type: array - items: *201 + items: *221 examples: - default: &207 + default: &227 value: - url: https://api.github.com/orgs/github type: Organization @@ -28084,15 +30041,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *202 + - *222 responses: '200': description: Response content: application/json: - schema: *201 + schema: *221 examples: - default: *203 + default: *223 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -28124,9 +30081,9 @@ paths: application/json: schema: type: array - items: *200 + items: *220 examples: - default: *204 + default: *224 headers: Link: *41 '401': *23 @@ -28149,8 +30106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *205 - - *206 + - *225 + - *226 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -28170,9 +30127,9 @@ paths: application/json: schema: type: array - items: *201 + items: *221 examples: - default: *207 + default: *227 headers: Link: *41 '401': *23 @@ -28437,14 +30394,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &430 + - &449 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &431 + - &450 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -28461,7 +30418,7 @@ paths: application/json: schema: type: array - items: *208 + items: *228 examples: default: value: @@ -28506,7 +30463,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &444 + '301': &463 description: Moved permanently content: application/json: @@ -28528,7 +30485,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &645 + - &664 name: all description: If `true`, show notifications marked as read. in: query @@ -28536,7 +30493,7 @@ paths: schema: type: boolean default: false - - &646 + - &665 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -28545,8 +30502,8 @@ paths: schema: type: boolean default: false - - *189 - - &647 + - *209 + - &666 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -28571,14 +30528,14 @@ paths: application/json: schema: type: array - items: &209 + items: &229 title: Thread description: Thread type: object properties: id: type: string - repository: &246 + repository: &269 title: Minimal Repository description: Minimal Repository type: object @@ -28917,7 +30874,7 @@ paths: type: boolean examples: - false - security_and_analysis: &377 + security_and_analysis: &396 type: - object - 'null' @@ -29090,7 +31047,7 @@ paths: - url - subscription_url examples: - default: &648 + default: &667 value: - id: '1' repository: @@ -29256,7 +31213,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &210 + - &230 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -29270,7 +31227,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *229 examples: default: value: @@ -29373,7 +31330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *210 + - *230 responses: '205': description: Reset Content @@ -29396,7 +31353,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *210 + - *230 responses: '204': description: No content @@ -29419,13 +31376,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *210 + - *230 responses: '200': description: Response content: application/json: - schema: &211 + schema: &231 title: Thread Subscription description: Thread Subscription type: object @@ -29469,7 +31426,7 @@ paths: - url - subscribed examples: - default: &212 + default: &232 value: subscribed: true ignored: false @@ -29500,7 +31457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *210 + - *230 requestBody: required: false content: @@ -29521,9 +31478,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *231 examples: - default: *212 + default: *232 '304': *35 '403': *27 '401': *23 @@ -29546,7 +31503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *210 + - *230 responses: '204': description: Response @@ -29641,22 +31598,9 @@ paths: application/json: schema: type: array - items: *62 + items: *67 examples: - default: &781 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *233 headers: Link: example: ; rel="next" @@ -29708,7 +31652,7 @@ paths: - 3 custom_roles: type: array - items: &289 + items: &312 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -29757,7 +31701,7 @@ paths: - created_at - updated_at examples: - default: &290 + default: &313 value: id: 8030 name: Security Engineer @@ -29804,7 +31748,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *76 + - *81 - name: page in: query description: The page number of results to fetch. @@ -29850,7 +31794,7 @@ paths: items: anyOf: - type: 'null' - - *108 + - *113 additionalProperties: false examples: default: @@ -29955,7 +31899,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -30021,7 +31965,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *76 + - *81 requestBody: required: true content: @@ -30055,12 +31999,113 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/org-properties/values": + get: + summary: Get all custom property values for an organization + description: |- + Gets all custom property values that are set for an organization. + + The organization must belong to an enterprise. + + Access requirements: + - Organization admins + - OAuth tokens and personal access tokens (classic) with the `read:org` scope + - Actors with the organization-level "read custom properties for an organization" fine-grained permission or above + tags: + - orgs + operationId: orgs/custom-properties-for-orgs-get-organization-values + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization + parameters: + - *81 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *145 + examples: + default: &673 + value: + - property_name: environment + value: production + - property_name: service + value: web + - property_name: team + value: octocat + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: custom-properties-for-orgs + patch: + summary: Create or update custom property values for an organization + description: |- + Create new or update existing custom property values for an organization. + To remove a custom property value from an organization, set the property value to `null`. + + The organization must belong to an enterprise. + + Access requirements: + - Organization admins + - OAuth tokens and personal access tokens (classic) with the `admin:org` scope + - Actors with the organization-level "edit custom properties for an organization" fine-grained permission + tags: + - orgs + operationId: orgs/custom-properties-for-orgs-create-or-update-organization-values + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization + parameters: + - *81 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + properties: + type: array + description: A list of custom property names and associated values + to apply to the organization. + items: *145 + required: + - properties + examples: + default: &674 + value: + properties: + - property_name: environment + value: production + - property_name: service + value: web + - property_name: team + value: octocat + responses: + '204': + description: No Content when custom property values are successfully created + or updated + '403': *27 + '404': *6 + '422': *15 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: custom-properties-for-orgs "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -30068,13 +32113,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *76 - - *169 - - *213 - - *170 - - *214 - - *215 - - *216 + - *81 + - *190 + - *234 + - *191 + - *235 + - *236 + - *237 responses: '200': description: Response when getting a billing premium request usage report @@ -30130,19 +32175,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -30185,7 +32230,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30205,23 +32250,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *76 - - *169 - - *217 - - *170 - - *218 + - *81 + - *190 + - *238 + - *191 + - *239 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *219 + schema: *240 examples: - default: *220 + default: *241 '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30247,13 +32292,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: &221 + schema: &242 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -30663,7 +32708,7 @@ paths: - updated_at - archived_at examples: - default-response: &222 + default-response: &243 value: login: github id: 1 @@ -30765,7 +32810,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *76 + - *81 requestBody: required: false content: @@ -30989,18 +33034,18 @@ paths: description: Response content: application/json: - schema: *221 + schema: *242 examples: - default: *222 + default: *243 '422': description: Validation failed content: application/json: schema: oneOf: - - *223 - - *224 - '409': *107 + - *244 + - *245 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31023,7 +33068,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *76 + - *81 responses: '202': *37 '404': *6 @@ -31048,15 +33093,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *225 + schema: *246 examples: - default: *226 + default: *247 headers: Link: *41 x-github: @@ -31079,7 +33124,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -31097,7 +33142,7 @@ paths: type: integer repository_cache_usages: type: array - items: &449 + items: &468 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -31155,7 +33200,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -31175,7 +33220,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *248 headers: Link: *41 x-github: @@ -31195,7 +33240,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -31224,6 +33269,12 @@ paths: - github - partner - custom + version: + description: The version of the runner image to deploy. This + is relevant only for runners using custom images. + type: + - string + - 'null' size: description: The machine size of the runner. To list available sizes, use `GET actions/hosted-runners/machine-sizes` @@ -31241,6 +33292,11 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_gen: + description: Whether this runner should be used to generate custom + images. + type: boolean + default: false required: - name - image @@ -31264,12 +33320,195 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: enabledForGitHubApps: true githubCloudOnly: false category: actions subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom": + get: + summary: List custom images for an organization + description: |- + List custom images for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-images-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-custom-images-for-an-organization + parameters: + - *81 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - images + properties: + total_count: + type: integer + images: + type: array + items: *43 + examples: + default: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}": + get: + summary: Get a custom image definition for GitHub Actions Hosted Runners + description: |- + Get a custom image definition for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners + parameters: + - *81 + - *44 + responses: + '200': + description: Response + content: + application/json: + schema: *43 + examples: + default: *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: + - *81 + - *44 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions": + get: + summary: List image versions of a custom image for an organization + description: |- + List image versions of a custom image for an organization. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/list-custom-image-versions-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization + parameters: + - *44 + - *81 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - image_versions + properties: + total_count: + type: integer + image_versions: + type: array + items: *46 + examples: + default: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners + "/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}": + get: + summary: Get an image version of a custom image for GitHub Actions Hosted Runners + description: |- + Get an image version of a custom image for GitHub Actions Hosted Runners. + + OAuth tokens and personal access tokens (classic) need the `manage_runners:org` scope to use this endpoint. + tags: + - actions + operationId: actions/get-custom-image-version-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners + parameters: + - *81 + - *44 + - *47 + responses: + '200': + description: Response + content: + application/json: + schema: *46 + examples: + default: *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: + - *81 + - *44 + - *47 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: hosted-runners "/orgs/{org}/actions/hosted-runners/images/github-owned": get: summary: Get GitHub-owned images for GitHub-hosted runners in an organization @@ -31282,7 +33521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31298,9 +33537,9 @@ paths: type: integer images: type: array - items: *43 + items: *48 examples: - default: *44 + default: *49 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31318,7 +33557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31334,9 +33573,9 @@ paths: type: integer images: type: array - items: *43 + items: *48 examples: - default: *44 + default: *49 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31353,15 +33592,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *228 + schema: *251 examples: - default: *229 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31379,7 +33618,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31395,9 +33634,9 @@ paths: type: integer machine_specs: type: array - items: *45 + items: *50 examples: - default: *230 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31415,7 +33654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31459,8 +33698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *47 + - *81 + - *52 responses: '200': description: Response @@ -31468,7 +33707,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 headers: Link: *41 x-github: @@ -31488,8 +33727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *47 + - *81 + - *52 requestBody: required: true content: @@ -31515,6 +33754,12 @@ paths: public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits` type: boolean + image_version: + description: The version of the runner image to deploy. This is + relevant only for runners using custom images. + type: + - string + - 'null' examples: default: value: @@ -31529,7 +33774,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -31545,8 +33790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *76 - - *47 + - *81 + - *52 responses: '202': description: Response @@ -31554,7 +33799,7 @@ paths: application/json: schema: *42 examples: - default: *46 + default: *51 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -31574,13 +33819,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *76 + - *81 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &231 + schema: &254 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -31594,7 +33839,7 @@ paths: required: - include_claim_keys examples: - default: &232 + default: &255 value: include_claim_keys: - repo @@ -31616,20 +33861,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: *231 + schema: *254 examples: - default: *232 + default: *255 responses: '201': description: Empty response content: application/json: - schema: &257 + schema: &280 title: Empty Object description: An object without any properties. type: object @@ -31659,7 +33904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -31668,7 +33913,7 @@ paths: schema: type: object properties: - enabled_repositories: &234 + enabled_repositories: &257 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -31681,9 +33926,9 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: *49 - selected_actions_url: *233 - sha_pinning_required: *50 + allowed_actions: *54 + selected_actions_url: *256 + sha_pinning_required: *55 required: - enabled_repositories examples: @@ -31713,7 +33958,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -31724,9 +33969,9 @@ paths: schema: type: object properties: - enabled_repositories: *234 - allowed_actions: *49 - sha_pinning_required: *50 + enabled_repositories: *257 + allowed_actions: *54 + sha_pinning_required: *55 required: - enabled_repositories examples: @@ -31754,13 +33999,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *235 + schema: *258 examples: response: summary: Example response @@ -31786,12 +34031,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: *236 + schema: *259 examples: application/json: value: @@ -31801,7 +34046,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 x-github: enabledForGitHubApps: true @@ -31821,15 +34066,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *51 + schema: *56 examples: - default: *237 + default: *260 '404': *6 x-github: enabledForGitHubApps: true @@ -31848,7 +34093,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -31858,7 +34103,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *56 examples: default: summary: Set approval policy to first time contributors @@ -31880,15 +34125,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *238 + schema: *261 examples: - default: *52 + default: *57 '403': *27 '404': *6 x-github: @@ -31906,14 +34151,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: *239 + schema: *262 examples: - default: *52 + default: *57 responses: '204': description: Empty response for successful settings update @@ -31943,7 +34188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -31961,9 +34206,9 @@ paths: type: number repositories: type: array - items: *67 + items: *72 examples: - default: &241 + default: &264 value: total_count: 1 repositories: @@ -32103,7 +34348,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -32147,8 +34392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *76 - - &240 + - *81 + - &263 name: repository_id description: The unique identifier of the repository. in: path @@ -32176,8 +34421,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *76 - - *240 + - *81 + - *263 responses: '204': description: Response @@ -32200,15 +34445,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *54 + schema: *59 examples: - default: *55 + default: *60 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32231,7 +34476,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -32239,9 +34484,9 @@ paths: required: false content: application/json: - schema: *54 + schema: *59 examples: - selected_actions: *55 + selected_actions: *60 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32261,7 +34506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -32309,7 +34554,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -32336,7 +34581,7 @@ paths: description: No content '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 x-github: enabledForGitHubApps: true @@ -32356,7 +34601,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -32371,9 +34616,9 @@ paths: type: integer repositories: type: array - items: *67 + items: *72 examples: - default: *241 + default: *264 '403': *27 '404': *6 x-github: @@ -32393,7 +34638,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -32441,14 +34686,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 - - *240 + - *81 + - *263 responses: '204': description: No content '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 x-github: enabledForGitHubApps: true @@ -32468,14 +34713,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *76 - - *240 + - *81 + - *263 responses: '204': description: No content '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 x-github: enabledForGitHubApps: true @@ -32497,15 +34742,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *242 + schema: *265 examples: - default: *58 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32526,7 +34771,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Success response @@ -32537,9 +34782,9 @@ paths: required: false content: application/json: - schema: *243 + schema: *266 examples: - default: *58 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32559,7 +34804,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *76 + - *81 - *17 - *19 - name: visible_to_repository @@ -32584,7 +34829,7 @@ paths: type: number runner_groups: type: array - items: &244 + items: &267 type: object properties: id: @@ -32701,7 +34946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -32774,9 +35019,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *267 examples: - default: &245 + default: &268 value: id: 2 name: octo-runner-group @@ -32811,14 +35056,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 responses: '200': description: Response content: application/json: - schema: *244 + schema: *267 examples: default: value: @@ -32854,8 +35099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 requestBody: required: true content: @@ -32911,9 +35156,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *267 examples: - default: *245 + default: *268 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32932,8 +35177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *76 - - *61 + - *81 + - *66 responses: '204': description: Response @@ -32956,8 +35201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 - *17 - *19 responses: @@ -32977,7 +35222,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *248 headers: Link: *41 x-github: @@ -32999,8 +35244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *61 + - *81 + - *66 - *19 - *17 responses: @@ -33018,9 +35263,9 @@ paths: type: number repositories: type: array - items: *246 + items: *269 examples: - default: &768 + default: &789 value: total_count: 1 repositories: @@ -33272,8 +35517,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *61 + - *81 + - *66 requestBody: required: true content: @@ -33317,9 +35562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *61 - - *240 + - *81 + - *66 + - *263 responses: '204': description: Response @@ -33341,9 +35586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *76 - - *61 - - *240 + - *81 + - *66 + - *263 responses: '204': description: Response @@ -33366,8 +35611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 - *17 - *19 responses: @@ -33385,9 +35630,9 @@ paths: type: number runners: type: array - items: *65 + items: *70 examples: - default: *66 + default: *71 headers: Link: *41 x-github: @@ -33408,8 +35653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *76 - - *61 + - *81 + - *66 requestBody: required: true content: @@ -33453,9 +35698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *76 - - *61 - - *64 + - *81 + - *66 + - *69 responses: '204': description: Response @@ -33477,9 +35722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *76 - - *61 - - *64 + - *81 + - *66 + - *69 responses: '204': description: Response @@ -33509,7 +35754,7 @@ paths: in: query schema: type: string - - *76 + - *81 - *17 - *19 responses: @@ -33527,9 +35772,9 @@ paths: type: integer runners: type: array - items: *65 + items: *70 examples: - default: *66 + default: *71 headers: Link: *41 x-github: @@ -33553,7 +35798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -33561,9 +35806,9 @@ paths: application/json: schema: type: array - items: *247 + items: *270 examples: - default: *248 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33585,7 +35830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -33628,10 +35873,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *272 '404': *6 '422': *7 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33659,15 +35904,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *76 + - *81 responses: '201': description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: *250 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33695,15 +35940,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *76 + - *81 responses: '201': description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: *251 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33725,16 +35970,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 + - *81 + - *69 responses: '200': description: Response content: application/json: - schema: *65 + schema: *70 examples: - default: *252 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33755,8 +36000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *76 - - *64 + - *81 + - *69 responses: '204': description: Response @@ -33782,10 +36027,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 + - *81 + - *69 responses: - '200': *70 + '200': *75 '404': *6 x-github: githubCloudOnly: false @@ -33807,8 +36052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 + - *81 + - *69 requestBody: required: true content: @@ -33832,7 +36077,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -33856,8 +36101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 + - *81 + - *69 requestBody: required: true content: @@ -33882,7 +36127,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -33906,10 +36151,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 + - *81 + - *69 responses: - '200': *253 + '200': *276 '404': *6 x-github: githubCloudOnly: false @@ -33936,11 +36181,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *76 - - *64 - - *254 + - *81 + - *69 + - *277 responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -33965,7 +36210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *76 + - *81 - *17 - *19 responses: @@ -33983,7 +36228,7 @@ paths: type: integer secrets: type: array - items: &255 + items: &278 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -34058,13 +36303,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: &469 + schema: &488 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -34099,7 +36344,7 @@ paths: - key_id - key examples: - default: &470 + default: &489 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34124,8 +36369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *76 - - &256 + - *81 + - &279 name: secret_name description: The name of the secret. in: path @@ -34137,7 +36382,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *278 examples: default: value: @@ -34167,8 +36412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 requestBody: required: true content: @@ -34225,7 +36470,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -34251,8 +36496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 responses: '204': description: Response @@ -34278,8 +36523,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 - *19 - *17 responses: @@ -34297,9 +36542,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *269 examples: - default: &260 + default: &283 value: total_count: 1 repositories: @@ -34391,8 +36636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 requestBody: required: true content: @@ -34444,8 +36689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 - name: repository_id in: path required: true @@ -34478,8 +36723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 - name: repository_id in: path required: true @@ -34511,8 +36756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *76 - - &454 + - *81 + - &473 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -34536,7 +36781,7 @@ paths: type: integer variables: type: array - items: &258 + items: &281 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -34626,7 +36871,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *76 + - *81 requestBody: required: true content: @@ -34674,7 +36919,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -34699,8 +36944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *76 - - &259 + - *81 + - &282 name: name description: The name of the variable. in: path @@ -34712,7 +36957,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *281 examples: default: value: @@ -34742,8 +36987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *282 requestBody: required: true content: @@ -34805,8 +37050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *282 responses: '204': description: Response @@ -34832,8 +37077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *282 - *19 - *17 responses: @@ -34851,9 +37096,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *269 examples: - default: *260 + default: *283 '409': description: Response when the visibility of the variable is not set to `selected` @@ -34879,8 +37124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *282 requestBody: required: true content: @@ -34929,8 +37174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *282 - name: repository_id in: path required: true @@ -34964,8 +37209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *76 - - *259 + - *81 + - *282 - name: repository_id in: path required: true @@ -34996,15 +37241,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *75 + schema: *80 examples: - default: *74 + default: *79 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35023,19 +37268,19 @@ paths: required: true content: application/json: - schema: *261 + schema: *284 examples: - default: *74 + default: *79 parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *75 + schema: *80 examples: - default: *74 + default: *79 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35051,7 +37296,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -35074,7 +37319,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *76 + - *81 requestBody: required: true content: @@ -35216,7 +37461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *76 + - *81 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -35300,9 +37545,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *97 - - *98 - - *76 + - *102 + - *103 + - *81 requestBody: required: true content: @@ -35325,12 +37570,12 @@ paths: required: - subject_digests examples: - default: &796 + default: &816 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &797 + withPredicateType: &817 value: subject_digests: - sha256:abc123 @@ -35389,7 +37634,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &798 + default: &818 value: attestations_subject_digests: - sha256:abc: @@ -35498,7 +37743,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *76 + - *81 requestBody: required: true content: @@ -35563,7 +37808,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *76 + - *81 - name: subject_digest description: Subject Digest in: path @@ -35582,6 +37827,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *102 + - *103 + - *81 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -35594,7 +37890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *76 + - *81 - name: attestation_id description: Attestation ID in: path @@ -35630,9 +37926,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations parameters: - *17 - - *97 - - *98 - - *76 + - *102 + - *103 + - *81 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -35685,7 +37981,7 @@ paths: initiator: type: string examples: - default: &483 + default: &502 value: attestations: - bundle: @@ -35803,7 +38099,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *76 + - *81 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -35811,10 +38107,10 @@ paths: required: false schema: type: string - - *262 - - *263 - - *264 - - *265 + - *285 + - *286 + - *287 + - *288 - *17 responses: '200': @@ -35823,9 +38119,9 @@ paths: application/json: schema: type: array - items: *266 + items: *289 examples: - default: *267 + default: *290 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35842,7 +38138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -35854,7 +38150,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35873,8 +38169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *76 - - *178 + - *81 + - *132 responses: '204': description: If the user is blocked @@ -35899,8 +38195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *76 - - *178 + - *81 + - *132 responses: '204': description: Response @@ -35920,8 +38216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *76 - - *178 + - *81 + - *132 responses: '204': description: Response @@ -35947,17 +38243,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *76 - - &270 + - *81 + - &293 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *92 - - *93 - - *94 - - *95 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -35967,9 +38263,9 @@ paths: application/json: schema: type: array - items: *268 + items: *291 examples: - default: *269 + default: *292 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -35992,12 +38288,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *76 - - *270 - - *92 - - *93 - - *94 - - *95 + - *81 + - *293 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -36007,9 +38303,9 @@ paths: application/json: schema: type: array - items: *271 + items: *294 examples: - default: *272 + default: *295 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -36028,15 +38324,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *76 + - *81 - *19 - *17 - - *99 + - *104 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &274 + schema: &297 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -36062,7 +38358,7 @@ paths: application/json: schema: type: array - items: &275 + items: &298 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -36093,7 +38389,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *273 + items: *296 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -36112,7 +38408,7 @@ paths: - string - 'null' format: date-time - state: *274 + state: *297 contact_link: description: The contact link of the campaign. type: @@ -36210,7 +38506,7 @@ paths: headers: Link: *41 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36234,7 +38530,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -36281,7 +38577,9 @@ paths: format: uri code_scanning_alerts: description: The code scanning alerts to include in this campaign - type: array + type: + - array + - 'null' minItems: 1 items: type: object @@ -36308,7 +38606,11 @@ paths: - name - description - ends_at - - code_scanning_alerts + oneOf: + - required: + - code_scanning_alerts + - required: + - secret_scanning_alerts examples: default: value: @@ -36329,9 +38631,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *298 examples: - default: &276 + default: &299 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -36380,7 +38682,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36402,7 +38704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *76 + - *81 - name: campaign_number description: The campaign number. in: path @@ -36414,16 +38716,16 @@ paths: description: Response content: application/json: - schema: *275 + schema: *298 examples: - default: *276 + default: *299 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36444,7 +38746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *76 + - *81 - name: campaign_number description: The campaign number. in: path @@ -36494,7 +38796,7 @@ paths: - string - 'null' format: uri - state: *274 + state: *297 examples: default: value: @@ -36504,9 +38806,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *298 examples: - default: *276 + default: *299 '400': description: Bad Request content: @@ -36518,7 +38820,7 @@ paths: content: application/json: schema: *3 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36539,7 +38841,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *76 + - *81 - name: campaign_number description: The campaign number. in: path @@ -36550,7 +38852,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36572,20 +38874,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *76 - - *277 - - *278 - - *97 - - *98 + - *81 + - *300 + - *301 + - *102 + - *103 - *19 - *17 - - *99 + - *104 - name: state description: If specified, only code scanning alerts with this state will be returned. in: query required: false - schema: *279 + schema: *302 - name: sort description: The property by which to sort the results. in: query @@ -36601,7 +38903,7 @@ paths: be returned. in: query required: false - schema: &508 + schema: &527 type: string description: Severity of a code scanning alert. enum: @@ -36619,13 +38921,13 @@ paths: application/json: schema: type: array - items: *280 + items: *303 examples: - default: *281 + default: *304 headers: Link: *41 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36647,7 +38949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *76 + - *81 - name: target_type in: query description: The target type of the code security configuration @@ -36666,8 +38968,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 + - *102 + - *103 responses: '200': description: Response @@ -36675,7 +38977,7 @@ paths: application/json: schema: type: array - items: *103 + items: *108 examples: default: value: @@ -36758,7 +39060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *76 + - *81 requestBody: required: true content: @@ -36836,7 +39138,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *282 + code_scanning_options: *305 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -36845,7 +39147,7 @@ paths: - disabled - not_set default: disabled - code_scanning_default_setup_options: *106 + code_scanning_default_setup_options: *111 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -36977,9 +39279,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *103 + schema: *108 examples: - default: *283 + default: *306 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37001,15 +39303,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *284 + schema: *307 examples: - default: *285 + default: *308 '304': *35 '403': *27 '404': *6 @@ -37035,7 +39337,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *76 + - *81 requestBody: required: true content: @@ -37061,11 +39363,11 @@ paths: - 32 - 91 responses: - '204': *129 + '204': *144 '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37087,16 +39389,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *76 - - *105 + - *81 + - *110 responses: '200': description: Response content: application/json: - schema: *103 + schema: *108 examples: - default: *283 + default: *306 '304': *35 '403': *27 '404': *6 @@ -37120,8 +39422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *76 - - *105 + - *81 + - *110 requestBody: required: true content: @@ -37200,7 +39502,7 @@ paths: - enabled - disabled - not_set - code_scanning_default_setup_options: *106 + code_scanning_default_setup_options: *111 code_scanning_delegated_alert_dismissal: type: string description: The enablement status of code scanning delegated alert @@ -37318,7 +39620,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *103 + schema: *108 examples: default: value: @@ -37377,14 +39679,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *76 - - *105 + - *81 + - *110 responses: - '204': *129 + '204': *144 '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37408,8 +39710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *76 - - *105 + - *81 + - *110 requestBody: required: true content: @@ -37472,8 +39774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *76 - - *105 + - *81 + - *110 requestBody: required: true content: @@ -37513,12 +39815,12 @@ paths: - none - private_and_internal - public - configuration: *103 + configuration: *108 examples: default: value: default_for_new_repos: all - configuration: *283 + configuration: *306 '403': *27 '404': *6 x-github: @@ -37542,8 +39844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *76 - - *105 + - *81 + - *110 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -37552,8 +39854,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 + - *102 + - *103 - name: status description: |- A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned. @@ -37571,13 +39873,13 @@ paths: application/json: schema: type: array - items: *286 + items: *309 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *287 + repository: *310 '403': *27 '404': *6 x-github: @@ -37601,7 +39903,7 @@ paths: parameters: - *17 - *19 - - *76 + - *81 responses: '200': description: Response @@ -37617,7 +39919,7 @@ paths: type: integer codespaces: type: array - items: &336 + items: &356 type: object title: Codespace description: A codespace. @@ -37648,11 +39950,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *246 + repository: *269 machine: anyOf: - type: 'null' - - &537 + - &556 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -37939,7 +40241,7 @@ paths: - pulls_url - recent_folders examples: - default: &337 + default: &357 value: total_count: 3 codespaces: @@ -38371,7 +40673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *76 + - *81 deprecated: true requestBody: required: true @@ -38438,7 +40740,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *76 + - *81 deprecated: true requestBody: required: true @@ -38493,7 +40795,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *76 + - *81 requestBody: required: true content: @@ -38545,7 +40847,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *76 + - *81 - *17 - *19 responses: @@ -38563,7 +40865,7 @@ paths: type: integer secrets: type: array - items: &288 + items: &311 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -38604,7 +40906,7 @@ paths: - updated_at - visibility examples: - default: &538 + default: &557 value: total_count: 2 secrets: @@ -38636,13 +40938,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: &539 + schema: &558 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -38677,7 +40979,7 @@ paths: - key_id - key examples: - default: &540 + default: &559 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38700,16 +41002,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 responses: '200': description: Response content: application/json: - schema: *288 + schema: *311 examples: - default: &542 + default: &561 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -38736,8 +41038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 requestBody: required: true content: @@ -38792,7 +41094,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -38818,8 +41120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 responses: '204': description: Response @@ -38844,8 +41146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 - *19 - *17 responses: @@ -38863,9 +41165,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *269 examples: - default: *260 + default: *283 '404': *6 x-github: githubCloudOnly: false @@ -38887,8 +41189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 requestBody: required: true content: @@ -38938,8 +41240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 - name: repository_id in: path required: true @@ -38972,8 +41274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 - name: repository_id in: path required: true @@ -39012,7 +41314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: OK @@ -39153,7 +41455,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *76 + - *81 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -39176,9 +41478,9 @@ paths: currently being billed. seats: type: array - items: *120 + items: *135 examples: - default: *121 + default: *136 headers: Link: *41 '500': *38 @@ -39214,7 +41516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *76 + - *81 requestBody: content: application/json: @@ -39292,7 +41594,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *76 + - *81 requestBody: content: application/json: @@ -39372,7 +41674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *76 + - *81 requestBody: content: application/json: @@ -39449,7 +41751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *76 + - *81 requestBody: content: application/json: @@ -39530,7 +41832,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *76 + - *81 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -39562,13 +41864,13 @@ paths: application/json: schema: type: array - items: *171 + items: *192 examples: - default: *172 + default: *193 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *194 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39590,7 +41892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *76 + - *81 - *17 - name: page description: Page token @@ -39749,7 +42051,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *76 + - *81 - name: credential_id in: path required: true @@ -39780,7 +42082,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *76 + - *81 responses: '200': description: Response - list of custom role names @@ -39796,7 +42098,7 @@ paths: - 3 custom_roles: type: array - items: *289 + items: *312 examples: default: value: @@ -39883,12 +42185,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: &292 + schema: &314 type: object properties: name: @@ -39930,9 +42232,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *312 examples: - default: *290 + default: *313 '422': *15 '404': *6 x-github: @@ -39956,22 +42258,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *76 - - &291 - name: role_id - description: The unique identifier of the role. - in: path - required: true - schema: - type: integer + - *81 + - *131 responses: '200': description: Response content: application/json: - schema: *289 + schema: *312 examples: - default: *290 + default: *313 '404': *6 x-github: githubCloudOnly: true @@ -39993,13 +42289,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *76 - - *291 + - *81 + - *131 requestBody: required: true content: application/json: - schema: &293 + schema: &315 type: object properties: name: @@ -40038,9 +42334,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *312 examples: - default: *290 + default: *313 '422': *15 '404': *6 x-github: @@ -40064,8 +42360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *76 - - *291 + - *81 + - *131 responses: '204': description: Response @@ -40093,12 +42389,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: *292 + schema: *314 examples: default: value: @@ -40112,9 +42408,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *312 examples: - default: *290 + default: *313 '422': *15 '404': *6 x-github: @@ -40144,16 +42440,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *76 - - *291 + - *81 + - *131 responses: '200': description: Response content: application/json: - schema: *289 + schema: *312 examples: - default: *290 + default: *313 '404': *6 x-github: githubCloudOnly: true @@ -40181,13 +42477,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *76 - - *291 + - *81 + - *131 requestBody: required: true content: application/json: - schema: *293 + schema: *315 examples: default: value: @@ -40202,9 +42498,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *312 examples: - default: *290 + default: *313 '422': *15 '404': *6 x-github: @@ -40234,8 +42530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *76 - - *291 + - *81 + - *131 responses: '204': description: Response @@ -40263,12 +42559,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *76 - - *294 - - *295 - - *296 - - *297 - - *298 + - *81 + - *316 + - *317 + - *318 + - *319 + - *320 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -40306,13 +42602,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *299 - - *300 - - *99 - - *97 - - *98 - - *301 - - *302 + - *321 + - *322 + - *104 + - *102 + - *103 - *17 responses: '200': @@ -40321,9 +42615,9 @@ paths: application/json: schema: type: array - items: *303 + items: *323 examples: - default: *304 + default: *324 '304': *35 '400': *14 '403': *27 @@ -40349,7 +42643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *76 + - *81 - *17 - *19 responses: @@ -40367,7 +42661,7 @@ paths: type: integer secrets: type: array - items: &305 + items: &325 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -40440,13 +42734,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: &565 + schema: &584 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -40465,7 +42759,7 @@ paths: - key_id - key examples: - default: &566 + default: &585 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40488,14 +42782,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 responses: '200': description: Response content: application/json: - schema: *305 + schema: *325 examples: default: value: @@ -40523,8 +42817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 requestBody: required: true content: @@ -40583,7 +42877,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -40607,8 +42901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 responses: '204': description: Response @@ -40632,8 +42926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 - *19 - *17 responses: @@ -40651,9 +42945,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *269 examples: - default: *260 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40674,8 +42968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 requestBody: required: true content: @@ -40725,8 +43019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 - name: repository_id in: path required: true @@ -40757,8 +43051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *76 - - *256 + - *81 + - *279 - name: repository_id in: path required: true @@ -40794,8 +43088,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *76 - - &574 + - *81 + - &593 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -40803,7 +43097,7 @@ paths: required: false schema: type: string - - &575 + - &594 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -40811,7 +43105,7 @@ paths: required: false schema: type: string - - &576 + - &595 name: time_period description: |- The time period to filter by. @@ -40827,7 +43121,7 @@ paths: - week - month default: month - - &577 + - &596 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -40842,7 +43136,7 @@ paths: - denied - all default: all - - *270 + - *293 - *17 - *19 responses: @@ -40852,7 +43146,7 @@ paths: application/json: schema: type: array - items: &578 + items: &597 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -41015,7 +43309,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &579 + default: &598 value: - id: 21 number: 42 @@ -41101,12 +43395,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *76 - - *270 - - *92 - - *93 - - *94 - - &580 + - *81 + - *293 + - *97 + - *98 + - *99 + - &599 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -41132,7 +43426,7 @@ paths: application/json: schema: type: array - items: &581 + items: &600 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -41246,7 +43540,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *96 + items: *101 url: type: string format: uri @@ -41259,7 +43553,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &582 + default: &601 value: - id: 21 number: 42 @@ -41339,7 +43633,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -41347,7 +43641,7 @@ paths: application/json: schema: type: array - items: &346 + items: &366 title: Package description: A software package type: object @@ -41400,7 +43694,7 @@ paths: repository: anyOf: - type: 'null' - - *246 + - *269 created_at: type: string format: date-time @@ -41418,7 +43712,7 @@ paths: - created_at - updated_at examples: - default: &347 + default: &367 value: - id: 197 name: hello_docker @@ -41496,7 +43790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *76 + - *81 - *17 - *19 responses: @@ -41506,7 +43800,7 @@ paths: application/json: schema: type: array - items: *208 + items: *228 examples: 200-response: value: @@ -41579,7 +43873,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *76 + - *81 - name: group_id description: The unique identifier of the group. in: path @@ -41605,7 +43899,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &444 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -41695,7 +43989,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &426 + default: &445 value: group_id: '123' group_name: Octocat admins @@ -41733,7 +44027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-available-to-an-organization parameters: - - *76 + - *81 - *17 - name: page description: Page token @@ -41750,7 +44044,7 @@ paths: description: Response content: application/json: - schema: &423 + schema: &442 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -41790,7 +44084,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &424 + default: &443 value: groups: - group_id: '123' @@ -41824,7 +44118,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *76 + - *81 - *17 - *19 responses: @@ -41834,7 +44128,7 @@ paths: application/json: schema: type: array - items: &328 + items: &348 title: Organization Invitation description: Organization Invitation type: object @@ -41888,7 +44182,7 @@ paths: - invitation_teams_url - node_id examples: - default: &329 + default: &349 value: - id: 1 login: monalisa @@ -41947,7 +44241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -41955,7 +44249,7 @@ paths: application/json: schema: type: array - items: &378 + items: &397 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -41969,7 +44263,7 @@ paths: - name - description examples: - default: &379 + default: &398 value: - name: add_assignee description: Assign or remove a user @@ -42000,7 +44294,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *76 + - *81 - *17 - *19 responses: @@ -42010,7 +44304,7 @@ paths: application/json: schema: type: array - items: &306 + items: &326 title: Org Hook description: Org Hook type: object @@ -42131,7 +44425,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *76 + - *81 requestBody: required: true content: @@ -42193,9 +44487,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *326 examples: - default: &307 + default: &327 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -42239,8 +44533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *76 - - &308 + - *81 + - &328 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -42253,9 +44547,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *326 examples: - default: *307 + default: *327 '404': *6 x-github: githubCloudOnly: false @@ -42276,8 +44570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *328 requestBody: required: false content: @@ -42323,7 +44617,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *326 examples: default: value: @@ -42362,8 +44656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *328 responses: '204': description: Response @@ -42388,8 +44682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *76 - - *308 + - *81 + - *328 responses: '200': description: Response @@ -42417,8 +44711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *76 - - *308 + - *81 + - *328 requestBody: required: false content: @@ -42466,10 +44760,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *328 - *17 - - *309 + - *329 responses: '200': description: Response @@ -42477,9 +44771,9 @@ paths: application/json: schema: type: array - items: *310 + items: *330 examples: - default: *311 + default: *331 '400': *14 '422': *15 x-github: @@ -42502,17 +44796,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *328 - *16 responses: '200': description: Response content: application/json: - schema: *312 + schema: *332 examples: - default: *313 + default: *333 '400': *14 '422': *15 x-github: @@ -42535,8 +44829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *328 - *16 responses: '202': *37 @@ -42562,8 +44856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *76 - - *308 + - *81 + - *328 responses: '204': description: Response @@ -42585,8 +44879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *76 - - &318 + - *81 + - &338 name: actor_type in: path description: The type of the actor @@ -42599,14 +44893,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &319 + - &339 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &314 + - &334 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -42614,7 +44908,7 @@ paths: required: true schema: type: string - - &315 + - &335 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -42625,7 +44919,7 @@ paths: type: string - *19 - *17 - - *99 + - *104 - name: sort description: The property to sort the results by. in: query @@ -42708,13 +45002,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *76 - - *314 - - *315 + - *81 + - *334 + - *335 - *19 - *17 - - *99 - - &324 + - *104 + - &344 name: sort description: The property to sort the results by. in: query @@ -42793,15 +45087,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *76 - - *314 - - *315 + - *81 + - *334 + - *335 responses: '200': description: Response content: application/json: - schema: &316 + schema: &336 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -42817,7 +45111,7 @@ paths: type: integer format: int64 examples: - default: &317 + default: &337 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -42837,24 +45131,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *76 - - &320 + - *81 + - &340 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *314 - - *315 + - *334 + - *335 responses: '200': description: Response content: application/json: - schema: *316 + schema: *336 examples: - default: *317 + default: *337 x-github: enabledForGitHubApps: true category: orgs @@ -42872,19 +45166,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *76 - - *314 - - *315 - - *318 - - *319 + - *81 + - *334 + - *335 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *316 + schema: *336 examples: - default: *317 + default: *337 x-github: enabledForGitHubApps: true category: orgs @@ -42901,10 +45195,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *76 - - *314 - - *315 - - &321 + - *81 + - *334 + - *335 + - &341 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -42917,7 +45211,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &342 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -42933,7 +45227,7 @@ paths: type: integer format: int64 examples: - default: &323 + default: &343 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -42969,19 +45263,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *76 - - *320 - - *314 - - *315 - - *321 + - *81 + - *340 + - *334 + - *335 + - *341 responses: '200': description: Response content: application/json: - schema: *322 + schema: *342 examples: - default: *323 + default: *343 x-github: enabledForGitHubApps: true category: orgs @@ -42998,20 +45292,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *76 - - *318 - - *319 - - *314 - - *315 - - *321 + - *81 + - *338 + - *339 + - *334 + - *335 + - *341 responses: '200': description: Response content: application/json: - schema: *322 + schema: *342 examples: - default: *323 + default: *343 x-github: enabledForGitHubApps: true category: orgs @@ -43028,14 +45322,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *76 - - *320 - - *314 - - *315 + - *81 + - *340 + - *334 + - *335 - *19 - *17 - - *99 - - *324 + - *104 + - *344 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -43111,7 +45405,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *76 + - *81 responses: '200': description: Response @@ -43119,7 +45413,7 @@ paths: application/json: schema: *20 examples: - default: &613 + default: &632 value: id: 1 account: @@ -43188,7 +45482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -43277,7 +45571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -43285,12 +45579,12 @@ paths: application/json: schema: anyOf: - - &326 + - &346 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &325 + limit: &345 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -43318,7 +45612,7 @@ paths: properties: {} additionalProperties: false examples: - default: &327 + default: &347 value: limit: collaborators_only origin: organization @@ -43342,18 +45636,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: application/json: - schema: &614 + schema: &633 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *325 + limit: *345 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -43378,9 +45672,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *346 examples: - default: *327 + default: *347 '422': *15 x-github: githubCloudOnly: false @@ -43398,7 +45692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -43424,7 +45718,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *76 + - *81 - *17 - *19 - name: role @@ -43458,9 +45752,9 @@ paths: application/json: schema: type: array - items: *328 + items: *348 examples: - default: *329 + default: *349 headers: Link: *41 '404': *6 @@ -43484,7 +45778,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *76 + - *81 requestBody: required: false content: @@ -43538,7 +45832,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *348 examples: default: value: @@ -43594,8 +45888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *76 - - &330 + - *81 + - &350 name: invitation_id description: The unique identifier of the invitation. in: path @@ -43628,8 +45922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *76 - - *330 + - *81 + - *350 - *17 - *19 responses: @@ -43639,9 +45933,9 @@ paths: application/json: schema: type: array - items: *273 + items: *296 examples: - default: &345 + default: &365 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -43676,7 +45970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -43684,7 +45978,7 @@ paths: application/json: schema: type: array - items: *331 + items: *351 examples: default: value: @@ -43722,7 +46016,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -43772,9 +46066,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *351 examples: - default: &332 + default: &352 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -43806,8 +46100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *76 - - &333 + - *81 + - &353 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -43863,9 +46157,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *351 examples: - default: *332 + default: *352 '404': *6 '422': *7 x-github: @@ -43889,8 +46183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *76 - - *333 + - *81 + - *353 responses: '204': description: Response @@ -43923,7 +46217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *76 + - *81 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -43953,7 +46247,7 @@ paths: - closed - all default: open - - *334 + - *354 - name: type description: Can be the name of an issue type. in: query @@ -43971,8 +46265,8 @@ paths: - updated - comments default: created - - *99 - - *189 + - *104 + - *209 - *17 - *19 responses: @@ -43982,9 +46276,9 @@ paths: application/json: schema: type: array - items: *183 + items: *203 examples: - default: *335 + default: *355 headers: Link: *41 '404': *6 @@ -44006,7 +46300,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *76 + - *81 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -44044,7 +46338,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 headers: Link: *41 '422': *15 @@ -44064,8 +46358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *132 responses: '204': description: Response if requester is an organization member and user is @@ -44099,8 +46393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *76 - - *178 + - *81 + - *132 responses: '204': description: Response @@ -44126,8 +46420,8 @@ paths: parameters: - *17 - *19 - - *76 - - *178 + - *81 + - *132 responses: '200': description: Response @@ -44143,9 +46437,9 @@ paths: type: integer codespaces: type: array - items: *336 + items: *356 examples: - default: *337 + default: *357 '304': *35 '500': *38 '401': *23 @@ -44170,9 +46464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *76 - - *178 - - &338 + - *81 + - *132 + - &358 name: codespace_name in: path required: true @@ -44205,17 +46499,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *76 - - *178 - - *338 + - *81 + - *132 + - *358 responses: '200': description: Response content: application/json: - schema: *336 + schema: *356 examples: - default: &536 + default: &555 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -44388,14 +46682,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *76 - - *178 + - *81 + - *132 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *120 + schema: *135 examples: default: value: @@ -44464,14 +46758,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *132 responses: '200': description: Response content: application/json: - schema: &339 + schema: &359 title: Org Membership description: Org Membership type: object @@ -44520,7 +46814,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *62 + organization: *67 user: anyOf: - type: 'null' @@ -44540,7 +46834,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &340 + response-if-user-has-an-active-admin-membership-with-organization: &360 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -44608,8 +46902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *132 requestBody: required: false content: @@ -44637,9 +46931,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *359 examples: - response-if-user-already-had-membership-with-organization: *340 + response-if-user-already-had-membership-with-organization: *360 '422': *15 '403': *27 x-github: @@ -44663,8 +46957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *132 responses: '204': description: Response @@ -44689,7 +46983,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *76 + - *81 - *17 - *19 - name: exclude @@ -44711,7 +47005,7 @@ paths: application/json: schema: type: array - items: &341 + items: &361 title: Migration description: A migration. type: object @@ -44753,7 +47047,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *67 + items: *72 url: type: string format: uri @@ -44968,7 +47262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *76 + - *81 requestBody: required: true content: @@ -45049,7 +47343,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *361 examples: default: value: @@ -45227,8 +47521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *76 - - &342 + - *81 + - &362 name: migration_id description: The unique identifier of the migration. in: path @@ -45256,7 +47550,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *341 + schema: *361 examples: default: value: @@ -45425,8 +47719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *76 - - *342 + - *81 + - *362 responses: '302': description: Response @@ -45447,8 +47741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *76 - - *342 + - *81 + - *362 responses: '204': description: Response @@ -45471,9 +47765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *76 - - *342 - - &780 + - *81 + - *362 + - &801 name: repo_name description: repo_name parameter in: path @@ -45500,8 +47794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *76 - - *342 + - *81 + - *362 - *17 - *19 responses: @@ -45511,9 +47805,9 @@ paths: application/json: schema: type: array - items: *246 + items: *269 examples: - default: &352 + default: &372 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45652,7 +47946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -45706,7 +48000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response - list of organization roles @@ -45722,7 +48016,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &343 + items: &363 title: Organization Role description: Organization roles type: object @@ -45884,7 +48178,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *76 + - *81 requestBody: required: true content: @@ -45931,7 +48225,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *363 examples: default: value: @@ -45960,7 +48254,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45982,8 +48276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *76 - - *180 + - *81 + - *200 responses: '204': description: Response @@ -46008,9 +48302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *76 - - *180 - - *291 + - *81 + - *200 + - *131 responses: '204': description: Response @@ -46039,9 +48333,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *76 - - *180 - - *291 + - *81 + - *200 + - *131 responses: '204': description: Response @@ -46066,8 +48360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *76 - - *178 + - *81 + - *132 responses: '204': description: Response @@ -46092,9 +48386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *76 - - *178 - - *291 + - *81 + - *132 + - *131 responses: '204': description: Response @@ -46124,9 +48418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *76 - - *178 - - *291 + - *81 + - *132 + - *131 responses: '204': description: Response @@ -46154,14 +48448,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *76 - - *291 + - *81 + - *131 responses: '200': description: Response content: application/json: - schema: *343 + schema: *363 examples: default: value: @@ -46218,8 +48512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *76 - - *291 + - *81 + - *131 requestBody: required: true content: @@ -46258,7 +48552,7 @@ paths: description: Response content: application/json: - schema: *343 + schema: *363 examples: default: value: @@ -46286,7 +48580,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *107 + '409': *112 '404': *6 x-github: githubCloudOnly: true @@ -46311,8 +48605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *76 - - *291 + - *81 + - *131 responses: '204': description: Response @@ -46337,8 +48631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *76 - - *291 + - *81 + - *131 - *17 - *19 responses: @@ -46417,7 +48711,7 @@ paths: parent: anyOf: - type: 'null' - - *344 + - *364 type: description: The ownership type of the team type: string @@ -46450,7 +48744,7 @@ paths: - type - parent examples: - default: *345 + default: *365 headers: Link: *41 '404': @@ -46479,8 +48773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *76 - - *291 + - *81 + - *131 - *17 - *19 responses: @@ -46509,7 +48803,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *344 + items: *364 name: type: - string @@ -46626,7 +48920,7 @@ paths: - type - url examples: - default: *177 + default: *197 headers: Link: *41 '404': @@ -46650,7 +48944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *76 + - *81 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -46677,7 +48971,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 headers: Link: *41 x-github: @@ -46702,8 +48996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *76 - - *178 + - *81 + - *132 requestBody: required: false content: @@ -46760,8 +49054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *76 - - *178 + - *81 + - *132 responses: '204': description: Response @@ -46818,8 +49112,8 @@ paths: - docker - nuget - container - - *76 - - &782 + - *81 + - &802 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -46855,12 +49149,12 @@ paths: application/json: schema: type: array - items: *346 + items: *366 examples: - default: *347 + default: *367 '403': *27 '401': *23 - '400': &784 + '400': &804 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -46882,7 +49176,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &348 + - &368 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -46900,20 +49194,20 @@ paths: - docker - nuget - container - - &349 + - &369 name: package_name description: The name of the package. in: path required: true schema: type: string - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *346 + schema: *366 examples: default: value: @@ -46965,9 +49259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *348 - - *349 - - *76 + - *368 + - *369 + - *81 responses: '204': description: Response @@ -46999,9 +49293,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *348 - - *349 - - *76 + - *368 + - *369 + - *81 - name: token description: package token schema: @@ -47033,9 +49327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *348 - - *349 - - *76 + - *368 + - *369 + - *81 - *19 - *17 - name: state @@ -47055,7 +49349,7 @@ paths: application/json: schema: type: array - items: &350 + items: &370 title: Package Version description: A version of a software package type: object @@ -47190,10 +49484,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *348 - - *349 - - *76 - - &351 + - *368 + - *369 + - *81 + - &371 name: package_version_id description: Unique identifier of the package version. in: path @@ -47205,7 +49499,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *370 examples: default: value: @@ -47241,10 +49535,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *348 - - *349 - - *76 - - *351 + - *368 + - *369 + - *81 + - *371 responses: '204': description: Response @@ -47276,10 +49570,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *348 - - *349 - - *76 - - *351 + - *368 + - *369 + - *81 + - *371 responses: '204': description: Response @@ -47306,10 +49600,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *76 + - *81 - *17 - *19 - - &353 + - &373 name: sort description: The property by which to sort the results. in: query @@ -47319,8 +49613,8 @@ paths: enum: - created_at default: created_at - - *99 - - &354 + - *104 + - &374 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -47332,7 +49626,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &355 + - &375 name: repository description: The name of the repository to use to filter the results. in: query @@ -47341,7 +49635,7 @@ paths: type: string examples: - Hello-World - - &356 + - &376 name: permission description: The permission to use to filter the results. in: query @@ -47350,7 +49644,7 @@ paths: type: string examples: - issues_read - - &357 + - &377 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -47360,7 +49654,7 @@ paths: schema: type: string format: date-time - - &358 + - &378 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -47370,7 +49664,7 @@ paths: schema: type: string format: date-time - - &359 + - &379 name: token_id description: The ID of the token in: query @@ -47538,7 +49832,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *76 + - *81 requestBody: required: true content: @@ -47605,7 +49899,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *76 + - *81 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -47646,7 +49940,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *129 + '204': *144 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47667,7 +49961,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *76 + - *81 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -47687,9 +49981,9 @@ paths: application/json: schema: type: array - items: *246 + items: *269 examples: - default: *352 + default: *372 headers: Link: *41 x-github: @@ -47712,17 +50006,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *76 + - *81 - *17 - *19 - - *353 - - *99 - - *354 - - *355 - - *356 - - *357 - - *358 - - *359 + - *373 + - *104 + - *374 + - *375 + - *376 + - *377 + - *378 + - *379 responses: '500': *38 '422': *15 @@ -47873,7 +50167,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *76 + - *81 requestBody: required: true content: @@ -47933,7 +50227,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *76 + - *81 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -47963,7 +50257,7 @@ paths: responses: '500': *38 '404': *6 - '204': *129 + '204': *144 '403': *27 '422': *15 x-github: @@ -47985,7 +50279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *76 + - *81 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -48004,9 +50298,9 @@ paths: application/json: schema: type: array - items: *246 + items: *269 examples: - default: *352 + default: *372 headers: Link: *41 x-github: @@ -48030,7 +50324,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -48048,7 +50342,7 @@ paths: type: integer configurations: type: array - items: &360 + items: &380 title: Organization private registry description: Private registry configuration for an organization type: object @@ -48139,7 +50433,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -48307,7 +50601,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &361 + org-private-registry-with-selected-visibility: &381 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -48348,7 +50642,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -48398,16 +50692,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *76 - - *256 + - *81 + - *279 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *360 + schema: *380 examples: - default: *361 + default: *381 '404': *6 x-github: githubCloudOnly: false @@ -48428,8 +50722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *76 - - *256 + - *81 + - *279 requestBody: required: true content: @@ -48525,8 +50819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *76 - - *256 + - *81 + - *279 responses: '204': description: Response @@ -48551,7 +50845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-organization-projects parameters: - - *76 + - *81 - name: state description: Indicates the state of the projects to return. in: query @@ -48572,7 +50866,7 @@ paths: application/json: schema: type: array - items: &362 + items: &382 title: Project description: Projects are a way to organize columns and cards of work. @@ -48728,7 +51022,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-an-organization-project parameters: - - *76 + - *81 requestBody: required: true content: @@ -48754,7 +51048,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *382 examples: default: value: @@ -48792,7 +51086,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &441 + '410': &460 description: Gone content: application/json: @@ -48818,15 +51112,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-organization parameters: - - *76 + - *81 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *97 - - *98 + - *102 + - *103 - *17 responses: '200': @@ -48835,7 +51129,7 @@ paths: application/json: schema: type: array - items: &363 + items: &383 title: Projects v2 Project description: A projects v2 project type: object @@ -48909,7 +51203,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &857 + - &877 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -48994,7 +51288,7 @@ paths: - deleted_at - deleted_by examples: - default: &364 + default: &384 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -49097,22 +51391,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &365 + - &385 name: project_number description: The project's number. in: path required: true schema: type: integer - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *363 + schema: *383 examples: - default: *364 + default: *384 headers: Link: *41 '304': *35 @@ -49134,11 +51428,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *365 - - *76 + - *385 + - *81 - *17 - - *97 - - *98 + - *102 + - *103 responses: '200': description: Response @@ -49146,7 +51440,7 @@ paths: application/json: schema: type: array - items: &366 + items: &386 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -49296,7 +51590,7 @@ paths: - updated_at - project_url examples: - default: &367 + default: &387 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -49339,23 +51633,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *365 - - &801 + - *385 + - &821 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *366 + schema: *386 examples: - default: *367 + default: *387 headers: Link: *41 '304': *35 @@ -49378,8 +51672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *365 - - *76 + - *385 + - *81 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -49388,19 +51682,21 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - - *97 - - *98 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string + - *102 + - *103 - *17 responses: '200': @@ -49409,7 +51705,7 @@ paths: application/json: schema: type: array - items: &372 + items: &392 title: Projects v2 Item description: An item belonging to a project type: object @@ -49426,7 +51722,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &370 + content_type: &390 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -49483,7 +51779,7 @@ paths: - updated_at - archived_at examples: - default: &373 + default: &393 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -50177,8 +52473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - - *76 - - *365 + - *81 + - *385 requestBody: required: true description: Details of the item to add to the project. @@ -50215,7 +52511,7 @@ paths: description: Response content: application/json: - schema: &802 + schema: &822 title: Projects v2 Item description: An item belonging to a project type: object @@ -50228,8 +52524,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *183 - - &549 + - *203 + - &568 title: Pull Request Simple description: Pull Request Simple type: object @@ -50349,7 +52645,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *388 active_lock_reason: type: - string @@ -50404,7 +52700,7 @@ paths: type: - array - 'null' - items: *273 + items: *296 head: type: object properties: @@ -50412,7 +52708,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *72 sha: type: string user: @@ -50432,7 +52728,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *72 sha: type: string user: @@ -50448,7 +52744,7 @@ paths: _links: type: object properties: - comments: &369 + comments: &389 title: Link description: Hypermedia Link type: object @@ -50457,13 +52753,13 @@ paths: type: string required: - href - commits: *369 - statuses: *369 - html: *369 - issue: *369 - review_comments: *369 - review_comment: *369 - self: *369 + commits: *389 + statuses: *389 + html: *389 + issue: *389 + review_comments: *389 + review_comment: *389 + self: *389 required: - comments - commits @@ -50473,8 +52769,8 @@ paths: - review_comments - review_comment - self - author_association: *184 - auto_merge: &655 + author_association: *204 + auto_merge: &676 title: Auto merge description: The status of auto merging a pull request. type: @@ -50576,7 +52872,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *370 + content_type: *390 creator: *4 created_at: type: string @@ -50613,7 +52909,7 @@ paths: - updated_at - archived_at examples: - issue: &371 + issue: &391 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50668,7 +52964,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *371 + pull_request: *391 '304': *35 '403': *27 '401': *23 @@ -50688,9 +52984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *365 - - *76 - - &374 + - *385 + - *81 + - &394 name: item_id description: The unique identifier of the project item. in: path @@ -50698,25 +52994,27 @@ paths: schema: type: integer - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *372 + schema: *392 examples: - default: *373 + default: *393 headers: Link: *41 '304': *35 @@ -50737,9 +53035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *365 - - *76 - - *374 + - *385 + - *81 + - *394 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -50812,13 +53110,13 @@ paths: description: Response content: application/json: - schema: *372 + schema: *392 examples: - text_field: *373 - number_field: *373 - date_field: *373 - single_select_field: *373 - iteration_field: *373 + text_field: *393 + number_field: *393 + date_field: *393 + single_select_field: *393 + iteration_field: *393 '401': *23 '403': *27 '404': *6 @@ -50838,9 +53136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *365 - - *76 - - *374 + - *385 + - *81 + - *394 responses: '204': description: Response @@ -50864,7 +53162,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -50872,9 +53170,9 @@ paths: application/json: schema: type: array - items: *125 + items: *146 examples: - default: *126 + default: *147 '403': *27 '404': *6 x-github: @@ -50901,7 +53199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -50912,7 +53210,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *125 + items: *146 minItems: 1 maxItems: 100 required: @@ -50942,9 +53240,9 @@ paths: application/json: schema: type: array - items: *125 + items: *146 examples: - default: *126 + default: *147 '403': *27 '404': *6 x-github: @@ -50965,16 +53263,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *76 - - *127 + - *81 + - *142 responses: '200': description: Response content: application/json: - schema: *125 + schema: *146 examples: - default: *128 + default: *148 '403': *27 '404': *6 x-github: @@ -50997,13 +53295,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *76 - - *127 + - *81 + - *142 requestBody: required: true content: application/json: - schema: *375 + schema: *395 examples: default: value: @@ -51019,9 +53317,9 @@ paths: description: Response content: application/json: - schema: *125 + schema: *146 examples: - default: *128 + default: *148 '403': *27 '404': *6 x-github: @@ -51044,10 +53342,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *76 - - *127 + - *81 + - *142 responses: - '204': *129 + '204': *144 '403': *27 '404': *6 x-github: @@ -51068,7 +53366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *76 + - *81 - *17 - *19 - name: repository_query @@ -51109,28 +53407,7 @@ paths: - octocat/Hello-World properties: type: array - items: &376 - title: Custom Property Value - description: Custom property name and associated value - type: object - properties: - property_name: - type: string - description: The name of the property - value: - oneOf: - - type: string - - type: array - items: - type: string - description: The value assigned to the property - type: - - 'null' - - string - - array - required: - - property_name - - value + items: *145 description: List of custom property names and associated values required: - repository_id @@ -51179,7 +53456,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *76 + - *81 requestBody: required: true content: @@ -51199,7 +53476,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *376 + items: *145 required: - repository_names - properties @@ -51240,7 +53517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *76 + - *81 - *17 - *19 responses: @@ -51252,7 +53529,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 headers: Link: *41 x-github: @@ -51271,8 +53548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *76 - - *178 + - *81 + - *132 responses: '204': description: Response if user is a public member @@ -51296,8 +53573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *76 - - *178 + - *81 + - *132 responses: '204': description: Response @@ -51318,8 +53595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *76 - - *178 + - *81 + - *132 responses: '204': description: Response @@ -51343,7 +53620,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *76 + - *81 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -51390,9 +53667,9 @@ paths: application/json: schema: type: array - items: *246 + items: *269 examples: - default: *352 + default: *372 headers: Link: *41 x-github: @@ -51413,7 +53690,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *76 + - *81 requestBody: required: true content: @@ -51596,7 +53873,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &462 title: Full Repository description: Full Repository type: object @@ -51942,7 +54219,7 @@ paths: template_repository: anyOf: - type: 'null' - - *67 + - *72 temp_clone_token: type: - string @@ -52042,13 +54319,13 @@ paths: license: anyOf: - type: 'null' - - *186 + - *206 organization: anyOf: - type: 'null' - *4 - parent: *67 - source: *67 + parent: *72 + source: *72 forks: type: integer master_branch: @@ -52061,7 +54338,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &554 + code_of_conduct: &573 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -52091,7 +54368,7 @@ paths: - key - name - html_url - security_and_analysis: *377 + security_and_analysis: *396 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -52175,7 +54452,7 @@ paths: - network_count - subscribers_count examples: - default: &445 + default: &464 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -52693,7 +54970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response @@ -52701,9 +54978,9 @@ paths: application/json: schema: type: array - items: *378 + items: *397 examples: - default: *379 + default: *398 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52725,10 +55002,10 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 - *17 - *19 - - &678 + - &699 name: targets description: | A comma-separated list of rule targets to filter by. @@ -52747,7 +55024,7 @@ paths: application/json: schema: type: array - items: *158 + items: *179 examples: default: value: @@ -52794,7 +55071,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 requestBody: description: Request body required: true @@ -52815,40 +55092,40 @@ paths: - push - repository default: branch - enforcement: *136 + enforcement: *157 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *380 + items: *158 + conditions: *399 rules: type: array description: An array of rules within the ruleset. - items: &382 + items: &401 title: Repository Rule type: object description: A repository rule. oneOf: - - *138 - - *139 - - *140 - - *141 - - *142 - - *143 - - *144 - - *145 - - *146 - - *147 - - *148 - - *149 - - *150 - - *151 - - *152 - - *153 - - *154 - - *155 - - *156 - - *157 + - *159 + - *160 + - *161 + - *162 + - *163 + - *164 + - *165 + - *166 + - *167 + - *168 + - *169 + - *170 + - *171 + - *172 + - *173 + - *174 + - *175 + - *176 + - *177 + - *178 required: - name - enforcement @@ -52886,9 +55163,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *179 examples: - default: &381 + default: &400 value: id: 21 name: super cool ruleset @@ -52942,8 +55219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *76 - - &680 + - *81 + - &701 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -52953,16 +55230,16 @@ paths: schema: type: string x-multi-segment: true - - *270 - - *94 - - &681 + - *293 + - *99 + - &702 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &682 + - &703 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -52982,7 +55259,7 @@ paths: description: Response content: application/json: - schema: &683 + schema: &704 title: Rule Suites description: Response type: array @@ -53038,7 +55315,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &684 + default: &705 value: - id: 21 actor_id: 12 @@ -53081,8 +55358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *76 - - &685 + - *81 + - &706 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -53098,7 +55375,7 @@ paths: description: Response content: application/json: - schema: &686 + schema: &707 title: Rule Suite description: Response type: object @@ -53205,7 +55482,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &687 + default: &708 value: id: 21 actor_id: 12 @@ -53266,7 +55543,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53278,9 +55555,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *179 examples: - default: *381 + default: *400 '404': *6 '500': *38 put: @@ -53298,7 +55575,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53324,16 +55601,16 @@ paths: - tag - push - repository - enforcement: *136 + enforcement: *157 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *380 + items: *158 + conditions: *399 rules: description: An array of rules within the ruleset. type: array - items: *382 + items: *401 examples: default: value: @@ -53368,9 +55645,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *179 examples: - default: *381 + default: *400 '404': *6 '500': *38 delete: @@ -53388,7 +55665,7 @@ paths: category: orgs subcategory: rules parameters: - - *76 + - *81 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53411,7 +55688,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *76 + - *81 - *17 - *19 - name: ruleset_id @@ -53427,9 +55704,9 @@ paths: application/json: schema: type: array - items: *162 + items: *183 examples: - default: *383 + default: *402 '404': *6 '500': *38 x-github: @@ -53448,7 +55725,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *76 + - *81 - name: ruleset_id description: The ID of the ruleset. in: path @@ -53466,7 +55743,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *403 examples: default: value: @@ -53528,15 +55805,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *76 - - *385 - - *386 - - *387 - - *388 - - *99 + - *81 + - *404 + - *405 + - *406 + - *407 + - *104 - *19 - *17 - - &689 + - &710 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -53546,7 +55823,7 @@ paths: required: false schema: type: string - - &690 + - &711 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -53556,10 +55833,10 @@ paths: required: false schema: type: string - - *389 - - *390 - - *391 - - *392 + - *408 + - *409 + - *410 + - *411 responses: '200': description: Response @@ -53567,13 +55844,13 @@ paths: application/json: schema: type: array - items: *393 + items: *412 examples: - default: *394 + default: *413 headers: Link: *41 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53598,15 +55875,15 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *395 + schema: *414 examples: - default: *396 + default: *415 '403': *27 '404': *6 patch: @@ -53627,7 +55904,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *76 + - *81 requestBody: required: true content: @@ -53635,7 +55912,7 @@ paths: schema: type: object properties: - pattern_config_version: *165 + pattern_config_version: *186 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -53661,7 +55938,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *165 + custom_pattern_version: *186 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -53697,7 +55974,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *15 "/orgs/{org}/security-advisories": get: @@ -53715,8 +55992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *76 - - *99 + - *81 + - *104 - name: sort description: The property to sort the results by. in: query @@ -53728,8 +56005,8 @@ paths: - updated - published default: created - - *97 - - *98 + - *102 + - *103 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -53759,7 +56036,7 @@ paths: application/json: schema: type: array - items: &711 + items: &732 description: A repository security advisory. type: object properties: @@ -53967,7 +56244,7 @@ paths: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *121 cwes: type: - array @@ -54003,7 +56280,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *416 credits_detailed: type: - array @@ -54014,7 +56291,7 @@ paths: type: object properties: user: *4 - type: *397 + type: *416 state: type: string description: The state of the user's acceptance of the @@ -54040,13 +56317,13 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *273 + items: *296 private_fork: readOnly: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *108 + - *113 type: - 'null' required: @@ -54078,7 +56355,7 @@ paths: - private_fork additionalProperties: false examples: - default: &712 + default: &733 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54457,7 +56734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *76 + - *81 responses: '200': description: Response @@ -54465,9 +56742,9 @@ paths: application/json: schema: type: array - items: *344 + items: *364 examples: - default: *345 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54490,8 +56767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *76 - - *180 + - *81 + - *200 responses: '204': description: Response @@ -54516,8 +56793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *76 - - *180 + - *81 + - *200 responses: '204': description: Response @@ -54546,15 +56823,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *398 + schema: *417 examples: - default: *399 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54578,8 +56855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *76 - - *400 + - *81 + - *419 - *17 - *19 responses: @@ -54587,9 +56864,9 @@ paths: description: Success content: application/json: - schema: *401 + schema: *420 examples: - default: *402 + default: *421 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54611,15 +56888,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *403 + schema: *422 examples: - default: *404 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54641,15 +56918,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *405 + schema: *424 examples: - default: *406 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54669,7 +56946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *76 + - *81 responses: '200': description: Immutable releases settings response @@ -54719,7 +56996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *76 + - *81 responses: '204': description: Response @@ -54777,7 +57054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *76 + - *81 - *19 - *17 responses: @@ -54795,9 +57072,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *269 examples: - default: *260 + default: *283 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54816,7 +57093,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *76 + - *81 requestBody: required: true content: @@ -54865,8 +57142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *76 - - *240 + - *81 + - *263 responses: '204': description: Response @@ -54888,8 +57165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *76 - - *240 + - *81 + - *263 responses: '204': description: Response @@ -54912,7 +57189,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *76 + - *81 - *17 - *19 responses: @@ -54930,9 +57207,9 @@ paths: type: integer network_configurations: type: array - items: *122 + items: *137 examples: - default: *407 + default: *426 headers: Link: *41 x-github: @@ -54953,7 +57230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 + - *81 requestBody: required: true content: @@ -54995,9 +57272,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *137 examples: - default: *123 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55017,16 +57294,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 - - *124 + - *81 + - *139 responses: '200': description: Response content: application/json: - schema: *122 + schema: *137 examples: - default: *123 + default: *138 headers: Link: *41 x-github: @@ -55047,8 +57324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *76 - - *124 + - *81 + - *139 requestBody: required: true content: @@ -55087,9 +57364,9 @@ paths: description: Response content: application/json: - schema: *122 + schema: *137 examples: - default: *123 + default: *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55108,8 +57385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *76 - - *124 + - *81 + - *139 responses: '204': description: Response @@ -55132,16 +57409,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *76 - - *408 + - *81 + - *427 responses: '200': description: Response content: application/json: - schema: *409 + schema: *428 examples: - default: *410 + default: *429 headers: Link: *41 x-github: @@ -55160,7 +57437,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *76 + - *81 - *17 - name: page description: Page token @@ -55179,7 +57456,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &451 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -55231,7 +57508,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &433 + default: &452 value: groups: - group_id: '123' @@ -55276,8 +57553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *76 - - *180 + - *81 + - *200 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -55309,13 +57586,13 @@ paths: application/json: schema: type: array - items: *171 + items: *192 examples: - default: *172 + default: *193 '500': *38 '403': *27 '404': *6 - '422': *173 + '422': *194 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55333,7 +57610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *76 + - *81 - *17 - *19 responses: @@ -55343,9 +57620,9 @@ paths: application/json: schema: type: array - items: *273 + items: *296 examples: - default: *345 + default: *365 headers: Link: *41 '403': *27 @@ -55367,7 +57644,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *76 + - *81 requestBody: required: true content: @@ -55439,7 +57716,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &430 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55513,7 +57790,7 @@ paths: parent: anyOf: - type: 'null' - - *344 + - *364 members_count: type: integer examples: @@ -55838,7 +58115,7 @@ paths: - repos_count - organization examples: - default: &412 + default: &431 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55908,16 +58185,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *76 - - *180 + - *81 + - *200 responses: '200': description: Response content: application/json: - schema: *411 + schema: *430 examples: - default: *412 + default: *431 '404': *6 x-github: githubCloudOnly: false @@ -55938,8 +58215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *76 - - *180 + - *81 + - *200 requestBody: required: false content: @@ -56002,16 +58279,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *411 + schema: *430 examples: - default: *412 + default: *431 '201': description: Response content: application/json: - schema: *411 + schema: *430 examples: - default: *412 + default: *431 '404': *6 '422': *15 '403': *27 @@ -56036,8 +58313,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *76 - - *180 + - *81 + - *200 responses: '204': description: Response @@ -56063,9 +58340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *76 - - *180 - - *99 + - *81 + - *200 + - *104 - *17 - *19 - name: pinned @@ -56081,7 +58358,7 @@ paths: application/json: schema: type: array - items: &413 + items: &432 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -56172,7 +58449,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *185 + reactions: *205 required: - author - body @@ -56192,7 +58469,7 @@ paths: - updated_at - url examples: - default: &755 + default: &776 value: - author: login: octocat @@ -56266,8 +58543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *76 - - *180 + - *81 + - *200 requestBody: required: true content: @@ -56301,9 +58578,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *432 examples: - default: &414 + default: &433 value: author: login: octocat @@ -56375,9 +58652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *76 - - *180 - - &415 + - *81 + - *200 + - &434 name: discussion_number description: The number that identifies the discussion. in: path @@ -56389,9 +58666,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *432 examples: - default: *414 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56413,9 +58690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *76 - - *180 - - *415 + - *81 + - *200 + - *434 requestBody: required: false content: @@ -56438,9 +58715,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *432 examples: - default: &756 + default: &777 value: author: login: octocat @@ -56510,9 +58787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *76 - - *180 - - *415 + - *81 + - *200 + - *434 responses: '204': description: Response @@ -56538,10 +58815,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *76 - - *180 - - *415 - - *99 + - *81 + - *200 + - *434 + - *104 - *17 - *19 responses: @@ -56551,7 +58828,7 @@ paths: application/json: schema: type: array - items: &416 + items: &435 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -56616,7 +58893,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *185 + reactions: *205 required: - author - body @@ -56631,7 +58908,7 @@ paths: - updated_at - url examples: - default: &757 + default: &778 value: - author: login: octocat @@ -56699,9 +58976,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *76 - - *180 - - *415 + - *81 + - *200 + - *434 requestBody: required: true content: @@ -56723,9 +59000,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *435 examples: - default: &417 + default: &436 value: author: login: octocat @@ -56791,10 +59068,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *76 - - *180 - - *415 - - &418 + - *81 + - *200 + - *434 + - &437 name: comment_number description: The number that identifies the comment. in: path @@ -56806,9 +59083,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *435 examples: - default: *417 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56830,10 +59107,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *76 - - *180 - - *415 - - *418 + - *81 + - *200 + - *434 + - *437 requestBody: required: true content: @@ -56855,9 +59132,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *435 examples: - default: &758 + default: &779 value: author: login: octocat @@ -56921,10 +59198,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *76 - - *180 - - *415 - - *418 + - *81 + - *200 + - *434 + - *437 responses: '204': description: Response @@ -56950,10 +59227,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *76 - - *180 - - *415 - - *418 + - *81 + - *200 + - *434 + - *437 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -56979,7 +59256,7 @@ paths: application/json: schema: type: array - items: &419 + items: &438 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -57023,7 +59300,7 @@ paths: - content - created_at examples: - default: &421 + default: &440 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57073,10 +59350,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *76 - - *180 - - *415 - - *418 + - *81 + - *200 + - *434 + - *437 requestBody: required: true content: @@ -57109,9 +59386,9 @@ paths: team discussion comment content: application/json: - schema: *419 + schema: *438 examples: - default: &420 + default: &439 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -57140,9 +59417,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57165,11 +59442,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *76 - - *180 - - *415 - - *418 - - &422 + - *81 + - *200 + - *434 + - *437 + - &441 name: reaction_id description: The unique identifier of the reaction. in: path @@ -57201,9 +59478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *76 - - *180 - - *415 + - *81 + - *200 + - *434 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -57229,9 +59506,9 @@ paths: application/json: schema: type: array - items: *419 + items: *438 examples: - default: *421 + default: *440 headers: Link: *41 x-github: @@ -57257,9 +59534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *76 - - *180 - - *415 + - *81 + - *200 + - *434 requestBody: required: true content: @@ -57291,16 +59568,16 @@ paths: description: Response content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 '201': description: Response content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57323,10 +59600,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *76 - - *180 - - *415 - - *422 + - *81 + - *200 + - *434 + - *441 responses: '204': description: Response @@ -57349,16 +59626,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *76 - - *180 + - *81 + - *200 responses: '200': description: Response content: application/json: - schema: *423 + schema: *442 examples: - default: *424 + default: *443 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -57377,8 +59654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *76 - - *180 + - *81 + - *200 requestBody: required: true content: @@ -57402,9 +59679,9 @@ paths: description: Response content: application/json: - schema: *425 + schema: *444 examples: - default: *426 + default: *445 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -57423,8 +59700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *76 - - *180 + - *81 + - *200 responses: '204': description: Response @@ -57448,8 +59725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *76 - - *180 + - *81 + - *200 - *17 - *19 responses: @@ -57459,9 +59736,9 @@ paths: application/json: schema: type: array - items: *328 + items: *348 examples: - default: *329 + default: *349 headers: Link: *41 x-github: @@ -57483,8 +59760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *76 - - *180 + - *81 + - *200 - name: role description: Filters members returned by their role in the team. in: query @@ -57507,7 +59784,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 headers: Link: *41 x-github: @@ -57537,15 +59814,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *76 - - *180 - - *178 + - *81 + - *200 + - *132 responses: '200': description: Response content: application/json: - schema: &427 + schema: &446 title: Team Membership description: Team Membership type: object @@ -57573,7 +59850,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &759 + response-if-user-is-a-team-maintainer: &780 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -57609,9 +59886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *76 - - *180 - - *178 + - *81 + - *200 + - *132 requestBody: required: false content: @@ -57636,9 +59913,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *446 examples: - response-if-users-membership-with-team-is-now-pending: &760 + response-if-users-membership-with-team-is-now-pending: &781 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -57673,9 +59950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *76 - - *180 - - *178 + - *81 + - *200 + - *132 responses: '204': description: Response @@ -57700,8 +59977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *76 - - *180 + - *81 + - *200 - *17 - *19 responses: @@ -57711,7 +59988,7 @@ paths: application/json: schema: type: array - items: &428 + items: &447 title: Team Project description: A team's access to a project. type: object @@ -57780,7 +60057,7 @@ paths: - updated_at - permissions examples: - default: &761 + default: &782 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57843,9 +60120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *76 - - *180 - - &429 + - *81 + - *200 + - &448 name: project_id description: The unique identifier of the project. in: path @@ -57857,9 +60134,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *447 examples: - default: &762 + default: &783 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -57921,9 +60198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *76 - - *180 - - *429 + - *81 + - *200 + - *448 requestBody: required: false content: @@ -57990,9 +60267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *76 - - *180 - - *429 + - *81 + - *200 + - *448 responses: '204': description: Response @@ -58019,8 +60296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *76 - - *180 + - *81 + - *200 - *17 - *19 responses: @@ -58030,9 +60307,9 @@ paths: application/json: schema: type: array - items: *246 + items: *269 examples: - default: *352 + default: *372 headers: Link: *41 x-github: @@ -58061,16 +60338,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *76 - - *180 - - *430 - - *431 + - *81 + - *200 + - *449 + - *450 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &763 + schema: &784 title: Team Repository description: A team's access to a repository. type: object @@ -58096,7 +60373,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *206 forks: type: integer permissions: @@ -58711,10 +60988,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *76 - - *180 - - *430 - - *431 + - *81 + - *200 + - *449 + - *450 requestBody: required: false content: @@ -58759,10 +61036,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *76 - - *180 - - *430 - - *431 + - *81 + - *200 + - *449 + - *450 responses: '204': description: Response @@ -58788,16 +61065,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *76 - - *180 + - *81 + - *200 responses: '200': description: Response content: application/json: - schema: *432 + schema: *451 examples: - default: *433 + default: *452 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58819,8 +61096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *76 - - *180 + - *81 + - *200 requestBody: required: true content: @@ -58863,7 +61140,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *451 examples: default: value: @@ -58895,8 +61172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *76 - - *180 + - *81 + - *200 - *17 - *19 responses: @@ -58906,9 +61183,9 @@ paths: application/json: schema: type: array - items: *273 + items: *296 examples: - response-if-child-teams-exist: &764 + response-if-child-teams-exist: &785 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -58961,7 +61238,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *76 + - *81 - name: security_product in: path description: The security feature to enable or disable. @@ -59035,7 +61312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &434 + - &453 name: card_id description: The unique identifier of the card. in: path @@ -59047,7 +61324,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &454 title: Project Card description: Project cards represent a scope of work. type: object @@ -59122,7 +61399,7 @@ paths: - created_at - updated_at examples: - default: &436 + default: &455 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -59178,7 +61455,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *434 + - *453 requestBody: required: false content: @@ -59208,9 +61485,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *454 examples: - default: *436 + default: *455 '304': *35 '403': *27 '401': *23 @@ -59237,7 +61514,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *434 + - *453 responses: '204': description: Response @@ -59281,7 +61558,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *434 + - *453 requestBody: required: true content: @@ -59394,7 +61671,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &437 + - &456 name: column_id description: The unique identifier of the column. in: path @@ -59406,7 +61683,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &457 title: Project Column description: Project columns contain cards of work. type: object @@ -59460,7 +61737,7 @@ paths: - created_at - updated_at examples: - default: &439 + default: &458 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -59495,7 +61772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *437 + - *456 requestBody: required: true content: @@ -59520,9 +61797,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *457 examples: - default: *439 + default: *458 '304': *35 '403': *27 '401': *23 @@ -59547,7 +61824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *437 + - *456 responses: '204': description: Response @@ -59576,7 +61853,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *437 + - *456 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -59597,7 +61874,7 @@ paths: application/json: schema: type: array - items: *435 + items: *454 examples: default: value: @@ -59656,7 +61933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *437 + - *456 requestBody: required: true content: @@ -59700,9 +61977,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *454 examples: - default: *436 + default: *455 '304': *35 '403': *27 '401': *23 @@ -59712,8 +61989,8 @@ paths: application/json: schema: oneOf: - - *223 - - *224 + - *244 + - *245 '503': description: Response content: @@ -59758,7 +62035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *437 + - *456 requestBody: required: true content: @@ -59819,15 +62096,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *429 + - *448 responses: '200': description: Response content: application/json: - schema: *362 + schema: *382 examples: - default: &440 + default: &459 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -59884,7 +62161,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *429 + - *448 requestBody: required: false content: @@ -59933,9 +62210,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *382 examples: - default: *440 + default: *459 '404': description: Not Found if the authenticated user does not have access to the project @@ -59956,7 +62233,7 @@ paths: items: type: string '401': *23 - '410': *441 + '410': *460 '422': *7 x-github: githubCloudOnly: false @@ -59979,7 +62256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *429 + - *448 responses: '204': description: Delete Success @@ -60000,7 +62277,7 @@ paths: items: type: string '401': *23 - '410': *441 + '410': *460 '404': *6 x-github: githubCloudOnly: false @@ -60024,7 +62301,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *429 + - *448 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -60051,7 +62328,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 headers: Link: *41 '404': *6 @@ -60081,8 +62358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *429 - - *178 + - *448 + - *132 requestBody: required: false content: @@ -60136,8 +62413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *429 - - *178 + - *448 + - *132 responses: '204': description: Response @@ -60168,8 +62445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *429 - - *178 + - *448 + - *132 responses: '200': description: Response @@ -60239,7 +62516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *429 + - *448 - *17 - *19 responses: @@ -60249,7 +62526,7 @@ paths: application/json: schema: type: array - items: *438 + items: *457 examples: default: value: @@ -60287,7 +62564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *429 + - *448 requestBody: required: true content: @@ -60311,7 +62588,7 @@ paths: description: Response content: application/json: - schema: *438 + schema: *457 examples: default: value: @@ -60376,7 +62653,7 @@ paths: resources: type: object properties: - core: &442 + core: &461 title: Rate Limit type: object properties: @@ -60393,21 +62670,21 @@ paths: - remaining - reset - used - graphql: *442 - search: *442 - code_search: *442 - source_import: *442 - integration_manifest: *442 - code_scanning_upload: *442 - actions_runner_registration: *442 - scim: *442 - dependency_snapshots: *442 - dependency_sbom: *442 - code_scanning_autofix: *442 + graphql: *461 + search: *461 + code_search: *461 + source_import: *461 + integration_manifest: *461 + code_scanning_upload: *461 + actions_runner_registration: *461 + scim: *461 + dependency_snapshots: *461 + dependency_sbom: *461 + code_scanning_autofix: *461 required: - core - search - rate: *442 + rate: *461 required: - rate - resources @@ -60512,14 +62789,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: *443 + schema: *462 examples: default-response: summary: Default response @@ -61024,7 +63301,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *444 + '301': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61042,8 +63319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: false content: @@ -61301,10 +63578,10 @@ paths: description: Response content: application/json: - schema: *443 + schema: *462 examples: - default: *445 - '307': &446 + default: *464 + '307': &465 description: Temporary Redirect content: application/json: @@ -61333,8 +63610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response @@ -61356,9 +63633,9 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *446 + '307': *465 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61380,11 +63657,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 - - &461 + - &480 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -61407,7 +63684,7 @@ paths: type: integer artifacts: type: array - items: &447 + items: &466 title: Artifact description: An artifact type: object @@ -61502,7 +63779,7 @@ paths: - expires_at - updated_at examples: - default: &462 + default: &481 value: total_count: 2 artifacts: @@ -61563,9 +63840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *430 - - *431 - - &448 + - *449 + - *450 + - &467 name: artifact_id description: The unique identifier of the artifact. in: path @@ -61577,7 +63854,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *466 examples: default: value: @@ -61615,9 +63892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *430 - - *431 - - *448 + - *449 + - *450 + - *467 responses: '204': description: Response @@ -61641,9 +63918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *430 - - *431 - - *448 + - *449 + - *450 + - *467 - name: archive_format in: path required: true @@ -61657,7 +63934,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *441 + '410': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61680,14 +63957,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: *449 + schema: *468 examples: default: value: @@ -61713,11 +63990,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 - - &450 + - &469 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -61745,13 +64022,13 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *99 + - *104 responses: '200': description: Response content: application/json: - schema: &451 + schema: &470 title: Repository actions caches description: Repository actions caches type: object @@ -61801,7 +64078,7 @@ paths: - total_count - actions_caches examples: - default: &452 + default: &471 value: total_count: 1 actions_caches: @@ -61833,23 +64110,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *430 - - *431 + - *449 + - *450 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *450 + - *469 responses: '200': description: Response content: application/json: - schema: *451 + schema: *470 examples: - default: *452 + default: *471 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61869,8 +64146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *430 - - *431 + - *449 + - *450 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -61901,9 +64178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *430 - - *431 - - &453 + - *449 + - *450 + - &472 name: job_id description: The unique identifier of the job. in: path @@ -61915,7 +64192,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &484 title: Job description: Information of a job execution in a workflow run type: object @@ -62262,9 +64539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *430 - - *431 - - *453 + - *449 + - *450 + - *472 responses: '302': description: Response @@ -62292,9 +64569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *430 - - *431 - - *453 + - *449 + - *450 + - *472 requestBody: required: false content: @@ -62316,7 +64593,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -62340,8 +64617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Status response @@ -62391,8 +64668,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -62426,7 +64703,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -62455,8 +64732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -62474,7 +64751,7 @@ paths: type: integer secrets: type: array - items: &467 + items: &486 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -62495,7 +64772,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &487 value: total_count: 2 secrets: @@ -62528,9 +64805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *430 - - *431 - - *454 + - *449 + - *450 + - *473 - *19 responses: '200': @@ -62547,7 +64824,7 @@ paths: type: integer variables: type: array - items: &471 + items: &490 title: Actions Variable type: object properties: @@ -62581,7 +64858,7 @@ paths: - created_at - updated_at examples: - default: &472 + default: &491 value: total_count: 2 variables: @@ -62614,8 +64891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -62624,12 +64901,12 @@ paths: schema: type: object properties: - enabled: &455 + enabled: &474 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *49 - selected_actions_url: *233 - sha_pinning_required: *50 + allowed_actions: *54 + selected_actions_url: *256 + sha_pinning_required: *55 required: - enabled examples: @@ -62659,8 +64936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response @@ -62671,9 +64948,9 @@ paths: schema: type: object properties: - enabled: *455 - allowed_actions: *49 - sha_pinning_required: *50 + enabled: *474 + allowed_actions: *54 + sha_pinning_required: *55 required: - enabled examples: @@ -62704,14 +64981,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: &456 + schema: &475 type: object properties: access_level: @@ -62729,7 +65006,7 @@ paths: required: - access_level examples: - default: &457 + default: &476 value: access_level: organization x-github: @@ -62754,15 +65031,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: application/json: - schema: *456 + schema: *475 examples: - default: *457 + default: *476 responses: '204': description: Response @@ -62786,14 +65063,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: *235 + schema: *258 examples: default: value: @@ -62817,8 +65094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Empty response for successful settings update @@ -62828,7 +65105,7 @@ paths: required: true content: application/json: - schema: *236 + schema: *259 examples: default: summary: Set retention days @@ -62852,16 +65129,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: *51 + schema: *56 examples: - default: *237 + default: *260 '404': *6 x-github: enabledForGitHubApps: true @@ -62880,8 +65157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response @@ -62891,7 +65168,7 @@ paths: required: true content: application/json: - schema: *51 + schema: *56 examples: default: summary: Set approval policy to first time contributors @@ -62915,16 +65192,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: *238 + schema: *261 examples: - default: *52 + default: *57 '403': *27 '404': *6 x-github: @@ -62944,15 +65221,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: application/json: - schema: *239 + schema: *262 examples: - default: *52 + default: *57 responses: '204': description: Empty response for successful settings update @@ -62976,16 +65253,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: *54 + schema: *59 examples: - default: *55 + default: *60 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63008,8 +65285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response @@ -63017,9 +65294,9 @@ paths: required: false content: application/json: - schema: *54 + schema: *59 examples: - selected_actions: *55 + selected_actions: *60 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63041,16 +65318,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: *242 + schema: *265 examples: - default: *58 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63071,8 +65348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Success response @@ -63083,9 +65360,9 @@ paths: required: true content: application/json: - schema: *243 + schema: *266 examples: - default: *58 + default: *63 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63112,8 +65389,8 @@ paths: in: query schema: type: string - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -63131,9 +65408,9 @@ paths: type: integer runners: type: array - items: *65 + items: *70 examples: - default: *66 + default: *71 headers: Link: *41 x-github: @@ -63157,8 +65434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -63166,9 +65443,9 @@ paths: application/json: schema: type: array - items: *247 + items: *270 examples: - default: *248 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63190,8 +65467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -63234,10 +65511,10 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *272 '404': *6 '422': *7 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63265,16 +65542,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '201': description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: *250 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63302,16 +65579,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '201': description: Response content: application/json: - schema: *68 + schema: *73 examples: - default: *251 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63333,17 +65610,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 - - *64 + - *449 + - *450 + - *69 responses: '200': description: Response content: application/json: - schema: *65 + schema: *70 examples: - default: *252 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63364,9 +65641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *430 - - *431 - - *64 + - *449 + - *450 + - *69 responses: '204': description: Response @@ -63392,11 +65669,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 - - *64 + - *449 + - *450 + - *69 responses: - '200': *70 + '200': *75 '404': *6 x-github: githubCloudOnly: false @@ -63418,9 +65695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 - - *64 + - *449 + - *450 + - *69 requestBody: required: true content: @@ -63444,7 +65721,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -63468,9 +65745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 - - *64 + - *449 + - *450 + - *69 requestBody: required: true content: @@ -63495,7 +65772,7 @@ paths: - gpu - accelerated responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -63519,11 +65796,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 - - *64 + - *449 + - *450 + - *69 responses: - '200': *253 + '200': *276 '404': *6 x-github: githubCloudOnly: false @@ -63550,12 +65827,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *430 - - *431 - - *64 - - *254 + - *449 + - *450 + - *69 + - *277 responses: - '200': *70 + '200': *75 '404': *6 '422': *7 x-github: @@ -63581,9 +65858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *430 - - *431 - - &475 + - *449 + - *450 + - &494 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -63591,7 +65868,7 @@ paths: required: false schema: type: string - - &476 + - &495 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -63599,7 +65876,7 @@ paths: required: false schema: type: string - - &477 + - &496 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -63608,7 +65885,7 @@ paths: required: false schema: type: string - - &478 + - &497 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -63635,7 +65912,7 @@ paths: - pending - *17 - *19 - - &479 + - &498 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -63644,7 +65921,7 @@ paths: schema: type: string format: date-time - - &458 + - &477 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -63653,13 +65930,13 @@ paths: schema: type: boolean default: false - - &480 + - &499 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &481 + - &500 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -63682,7 +65959,7 @@ paths: type: integer workflow_runs: type: array - items: &459 + items: &478 title: Workflow Run description: An invocation of a workflow type: object @@ -63799,7 +66076,7 @@ paths: type: - array - 'null' - items: *187 + items: *207 created_at: type: string format: date-time @@ -63860,7 +66137,7 @@ paths: head_commit: anyOf: - type: 'null' - - &503 + - &522 title: Simple Commit description: A commit. type: object @@ -63934,8 +66211,8 @@ paths: - timestamp - author - committer - repository: *246 - head_repository: *246 + repository: *269 + head_repository: *269 head_repository_id: type: integer examples: @@ -63975,7 +66252,7 @@ paths: - workflow_url - pull_requests examples: - default: &482 + default: &501 value: total_count: 1 workflow_runs: @@ -64211,24 +66488,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *430 - - *431 - - &460 + - *449 + - *450 + - &479 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *458 + - *477 responses: '200': description: Response content: application/json: - schema: *459 + schema: *478 examples: - default: &463 + default: &482 value: id: 30433642 name: Build @@ -64469,9 +66746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 responses: '204': description: Response @@ -64494,9 +66771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 responses: '200': description: Response @@ -64624,15 +66901,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 responses: '201': description: Response content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -64659,12 +66936,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 - *17 - *19 - - *461 + - *480 responses: '200': description: Response @@ -64680,9 +66957,9 @@ paths: type: integer artifacts: type: array - items: *447 + items: *466 examples: - default: *462 + default: *481 headers: Link: *41 x-github: @@ -64706,25 +66983,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *430 - - *431 - - *460 - - &464 + - *449 + - *450 + - *479 + - &483 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *458 + - *477 responses: '200': description: Response content: application/json: - schema: *459 + schema: *478 examples: - default: *463 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64747,10 +67024,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *430 - - *431 - - *460 - - *464 + - *449 + - *450 + - *479 + - *483 - *17 - *19 responses: @@ -64768,9 +67045,9 @@ paths: type: integer jobs: type: array - items: *465 + items: *484 examples: - default: &466 + default: &485 value: total_count: 1 jobs: @@ -64883,10 +67160,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *430 - - *431 - - *460 - - *464 + - *449 + - *450 + - *479 + - *483 responses: '302': description: Response @@ -64914,19 +67191,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 responses: '202': description: Response content: application/json: - schema: *257 + schema: *280 examples: default: value: - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64949,9 +67226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 requestBody: required: true content: @@ -65018,19 +67295,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 responses: '202': description: Response content: application/json: - schema: *257 + schema: *280 examples: default: value: - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65053,9 +67330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -65085,9 +67362,9 @@ paths: type: integer jobs: type: array - items: *465 + items: *484 examples: - default: *466 + default: *485 headers: Link: *41 x-github: @@ -65112,9 +67389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 responses: '302': description: Response @@ -65141,9 +67418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 responses: '204': description: Response @@ -65170,9 +67447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 responses: '200': description: Response @@ -65241,7 +67518,7 @@ paths: items: type: object properties: - type: &583 + type: &602 type: string description: The type of reviewer. enum: @@ -65252,7 +67529,7 @@ paths: reviewer: anyOf: - *4 - - *273 + - *296 required: - environment - wait_timer @@ -65327,9 +67604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 requestBody: required: true content: @@ -65379,7 +67656,7 @@ paths: application/json: schema: type: array - items: &569 + items: &588 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -65491,7 +67768,7 @@ paths: - created_at - updated_at examples: - default: &570 + default: &589 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -65547,9 +67824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 requestBody: required: false content: @@ -65571,7 +67848,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -65594,9 +67871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 requestBody: required: false content: @@ -65618,7 +67895,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -65651,9 +67928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *430 - - *431 - - *460 + - *449 + - *450 + - *479 responses: '200': description: Response @@ -65790,8 +68067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -65809,9 +68086,9 @@ paths: type: integer secrets: type: array - items: *467 + items: *486 examples: - default: *468 + default: *487 headers: Link: *41 x-github: @@ -65836,16 +68113,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: *469 + schema: *488 examples: - default: *470 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65867,17 +68144,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *449 + - *450 + - *279 responses: '200': description: Response content: application/json: - schema: *467 + schema: *486 examples: - default: &596 + default: &615 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -65903,9 +68180,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *449 + - *450 + - *279 requestBody: required: true content: @@ -65936,7 +68213,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -65962,9 +68239,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *449 + - *450 + - *279 responses: '204': description: Response @@ -65989,9 +68266,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *430 - - *431 - - *454 + - *449 + - *450 + - *473 - *19 responses: '200': @@ -66008,9 +68285,9 @@ paths: type: integer variables: type: array - items: *471 + items: *490 examples: - default: *472 + default: *491 headers: Link: *41 x-github: @@ -66033,8 +68310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -66061,7 +68338,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -66086,17 +68363,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *430 - - *431 - - *259 + - *449 + - *450 + - *282 responses: '200': description: Response content: application/json: - schema: *471 + schema: *490 examples: - default: &597 + default: &616 value: name: USERNAME value: octocat @@ -66122,9 +68399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *430 - - *431 - - *259 + - *449 + - *450 + - *282 requestBody: required: true content: @@ -66166,9 +68443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *430 - - *431 - - *259 + - *449 + - *450 + - *282 responses: '204': description: Response @@ -66193,8 +68470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -66212,7 +68489,7 @@ paths: type: integer workflows: type: array - items: &473 + items: &492 title: Workflow description: A GitHub Actions workflow type: object @@ -66330,9 +68607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *430 - - *431 - - &474 + - *449 + - *450 + - &493 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -66347,7 +68624,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *492 examples: default: value: @@ -66380,9 +68657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *430 - - *431 - - *474 + - *449 + - *450 + - *493 responses: '204': description: Response @@ -66407,9 +68684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *430 - - *431 - - *474 + - *449 + - *450 + - *493 responses: '204': description: Response @@ -66460,9 +68737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *430 - - *431 - - *474 + - *449 + - *450 + - *493 responses: '204': description: Response @@ -66489,19 +68766,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *430 - - *431 - - *474 - - *475 - - *476 - - *477 - - *478 + - *449 + - *450 + - *493 + - *494 + - *495 + - *496 + - *497 - *17 - *19 - - *479 - - *458 - - *480 - - *481 + - *498 + - *477 + - *499 + - *500 responses: '200': description: Response @@ -66517,9 +68794,9 @@ paths: type: integer workflow_runs: type: array - items: *459 + items: *478 examples: - default: *482 + default: *501 headers: Link: *41 x-github: @@ -66552,9 +68829,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *430 - - *431 - - *474 + - *449 + - *450 + - *493 responses: '200': description: Response @@ -66615,12 +68892,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *430 - - *431 - - *99 + - *449 + - *450 + - *104 - *17 - - *97 - - *98 + - *102 + - *103 - name: ref description: |- The Git reference for the activities you want to list. @@ -66784,8 +69061,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -66797,7 +69074,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 headers: Link: *41 '404': *6 @@ -66822,8 +69099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *430 - - *431 + - *449 + - *450 - name: assignee in: path required: true @@ -66859,8 +69136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -66972,11 +69249,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *430 - - *431 + - *449 + - *450 - *17 - - *97 - - *98 + - *102 + - *103 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -67029,7 +69306,7 @@ paths: initiator: type: string examples: - default: *483 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67049,8 +69326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -67058,7 +69335,7 @@ paths: application/json: schema: type: array - items: &484 + items: &503 title: Autolink reference description: An autolink reference. type: object @@ -67117,8 +69394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -67157,9 +69434,9 @@ paths: description: response content: application/json: - schema: *484 + schema: *503 examples: - default: &485 + default: &504 value: id: 1 key_prefix: TICKET- @@ -67190,9 +69467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *430 - - *431 - - &486 + - *449 + - *450 + - &505 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67204,9 +69481,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *503 examples: - default: *485 + default: *504 '404': *6 x-github: githubCloudOnly: false @@ -67226,9 +69503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *430 - - *431 - - *486 + - *449 + - *450 + - *505 responses: '204': description: Response @@ -67252,8 +69529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response if Dependabot is enabled @@ -67303,8 +69580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response @@ -67325,8 +69602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response @@ -67346,8 +69623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *430 - - *431 + - *449 + - *450 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -67385,7 +69662,7 @@ paths: - url protected: type: boolean - protection: &488 + protection: &507 title: Branch Protection description: Branch Protection type: object @@ -67428,7 +69705,7 @@ paths: required: - contexts - checks - enforce_admins: &491 + enforce_admins: &510 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -67445,7 +69722,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &493 + required_pull_request_reviews: &512 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -67467,7 +69744,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *273 + items: *296 apps: description: The list of apps with review dismissal access. @@ -67499,7 +69776,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *273 + items: *296 apps: description: The list of apps allowed to bypass pull request requirements. @@ -67529,7 +69806,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &490 + restrictions: &509 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -67592,7 +69869,7 @@ paths: type: string teams: type: array - items: *273 + items: *296 apps: type: array items: @@ -67822,9 +70099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *430 - - *431 - - &489 + - *449 + - *450 + - &508 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -67838,14 +70115,14 @@ paths: description: Response content: application/json: - schema: &499 + schema: &518 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &545 + commit: &564 title: Commit description: Commit type: object @@ -67884,7 +70161,7 @@ paths: author: anyOf: - type: 'null' - - &487 + - &506 title: Git User description: Metaproperties for Git author/committer information. @@ -67905,7 +70182,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *506 message: type: string examples: @@ -67929,7 +70206,7 @@ paths: required: - sha - url - verification: &603 + verification: &622 title: Verification type: object properties: @@ -67965,14 +70242,14 @@ paths: author: oneOf: - *4 - - *257 + - *280 type: - 'null' - object committer: oneOf: - *4 - - *257 + - *280 type: - 'null' - object @@ -68009,7 +70286,7 @@ paths: type: integer files: type: array - items: &556 + items: &575 title: Diff Entry description: Diff Entry type: object @@ -68105,7 +70382,7 @@ paths: - self protected: type: boolean - protection: *488 + protection: *507 protection_url: type: string format: uri @@ -68214,7 +70491,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *444 + '301': *463 '404': *6 x-github: githubCloudOnly: false @@ -68236,15 +70513,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '200': description: Response content: application/json: - schema: *488 + schema: *507 examples: default: value: @@ -68438,9 +70715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: true content: @@ -68700,7 +70977,7 @@ paths: url: type: string format: uri - required_status_checks: &496 + required_status_checks: &515 title: Status Check Policy description: Status Check Policy type: object @@ -68781,7 +71058,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *296 apps: type: array items: *5 @@ -68799,7 +71076,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *296 apps: type: array items: *5 @@ -68859,7 +71136,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *490 + restrictions: *509 required_conversation_resolution: type: object properties: @@ -68971,9 +71248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '204': description: Response @@ -68998,17 +71275,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '200': description: Response content: application/json: - schema: *491 + schema: *510 examples: - default: &492 + default: &511 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69030,17 +71307,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '200': description: Response content: application/json: - schema: *491 + schema: *510 examples: - default: *492 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69059,9 +71336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '204': description: Response @@ -69086,17 +71363,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '200': description: Response content: application/json: - schema: *493 + schema: *512 examples: - default: &494 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69192,9 +71469,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: false content: @@ -69292,9 +71569,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *512 examples: - default: *494 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -69315,9 +71592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '204': description: Response @@ -69344,17 +71621,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '200': description: Response content: application/json: - schema: *491 + schema: *510 examples: - default: &495 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -69377,17 +71654,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '200': description: Response content: application/json: - schema: *491 + schema: *510 examples: - default: *495 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -69407,9 +71684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '204': description: Response @@ -69434,17 +71711,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '200': description: Response content: application/json: - schema: *496 + schema: *515 examples: - default: &497 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -69470,9 +71747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: false content: @@ -69524,9 +71801,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *515 examples: - default: *497 + default: *516 '404': *6 '422': *15 x-github: @@ -69548,9 +71825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '204': description: Response @@ -69574,9 +71851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '200': description: Response @@ -69610,9 +71887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: false content: @@ -69679,9 +71956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: false content: @@ -69745,9 +72022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: content: application/json: @@ -69813,15 +72090,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '200': description: Response content: application/json: - schema: *490 + schema: *509 examples: default: value: @@ -69912,9 +72189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '204': description: Response @@ -69937,9 +72214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '200': description: Response @@ -69949,7 +72226,7 @@ paths: type: array items: *5 examples: - default: &498 + default: &517 value: - id: 1 slug: octoapp @@ -70006,9 +72283,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: true content: @@ -70042,7 +72319,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *517 '422': *15 x-github: githubCloudOnly: false @@ -70063,9 +72340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: true content: @@ -70099,7 +72376,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *517 '422': *15 x-github: githubCloudOnly: false @@ -70120,9 +72397,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: true content: @@ -70156,7 +72433,7 @@ paths: type: array items: *5 examples: - default: *498 + default: *517 '422': *15 x-github: githubCloudOnly: false @@ -70178,9 +72455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '200': description: Response @@ -70188,9 +72465,9 @@ paths: application/json: schema: type: array - items: *273 + items: *296 examples: - default: *345 + default: *365 '404': *6 x-github: githubCloudOnly: false @@ -70210,9 +72487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: false content: @@ -70248,9 +72525,9 @@ paths: application/json: schema: type: array - items: *273 + items: *296 examples: - default: *345 + default: *365 '422': *15 x-github: githubCloudOnly: false @@ -70271,9 +72548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: false content: @@ -70309,9 +72586,9 @@ paths: application/json: schema: type: array - items: *273 + items: *296 examples: - default: *345 + default: *365 '422': *15 x-github: githubCloudOnly: false @@ -70332,9 +72609,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: content: application/json: @@ -70369,9 +72646,9 @@ paths: application/json: schema: type: array - items: *273 + items: *296 examples: - default: *345 + default: *365 '422': *15 x-github: githubCloudOnly: false @@ -70393,9 +72670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 responses: '200': description: Response @@ -70405,7 +72682,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 '404': *6 x-github: githubCloudOnly: false @@ -70429,9 +72706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: true content: @@ -70464,7 +72741,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 '422': *15 x-github: githubCloudOnly: false @@ -70489,9 +72766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: true content: @@ -70524,7 +72801,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 '422': *15 x-github: githubCloudOnly: false @@ -70549,9 +72826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: true content: @@ -70584,7 +72861,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 '422': *15 x-github: githubCloudOnly: false @@ -70611,9 +72888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 requestBody: required: true content: @@ -70635,7 +72912,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *518 examples: default: value: @@ -70749,12 +73026,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *430 - - *431 - - *92 - - *93 - - *94 - - *95 + - *449 + - *450 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -70764,9 +73041,9 @@ paths: application/json: schema: type: array - items: *268 + items: *291 examples: - default: *269 + default: *292 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -70786,8 +73063,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *430 - - *431 + - *449 + - *450 - name: bypass_request_number in: path required: true @@ -70801,7 +73078,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *291 examples: default: value: @@ -70860,12 +73137,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 - - *92 - - *93 - - *94 - - *95 + - *449 + - *450 + - *97 + - *98 + - *99 + - *100 - *17 - *19 responses: @@ -70875,9 +73152,9 @@ paths: application/json: schema: type: array - items: *271 + items: *294 examples: - default: *272 + default: *295 '404': *6 '403': *27 '500': *38 @@ -70901,8 +73178,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *449 + - *450 - name: bypass_request_number in: path required: true @@ -70914,7 +73191,7 @@ paths: description: A single bypass request. content: application/json: - schema: *271 + schema: *294 examples: default: value: @@ -70972,8 +73249,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *449 + - *450 - name: bypass_request_number in: path required: true @@ -71044,8 +73321,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *430 - - *431 + - *449 + - *450 - name: bypass_response_id in: path required: true @@ -71078,8 +73355,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -71358,7 +73635,7 @@ paths: description: Response content: application/json: - schema: &500 + schema: &519 title: CheckRun description: A check performed on the code of a given code change type: object @@ -71493,8 +73770,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *187 - deployment: &818 + items: *207 + deployment: &838 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -71781,9 +74058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *430 - - *431 - - &501 + - *449 + - *450 + - &520 name: check_run_id description: The unique identifier of the check run. in: path @@ -71795,9 +74072,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *519 examples: - default: &502 + default: &521 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -71897,9 +74174,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *430 - - *431 - - *501 + - *449 + - *450 + - *520 requestBody: required: true content: @@ -72139,9 +74416,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *519 examples: - default: *502 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72161,9 +74438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *430 - - *431 - - *501 + - *449 + - *450 + - *520 - *17 - *19 responses: @@ -72273,15 +74550,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *430 - - *431 - - *501 + - *449 + - *450 + - *520 responses: '201': description: Response content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -72319,8 +74596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -72342,7 +74619,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &504 + schema: &523 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72424,12 +74701,12 @@ paths: type: - array - 'null' - items: *187 + items: *207 app: anyOf: - type: 'null' - *5 - repository: *246 + repository: *269 created_at: type: - string @@ -72440,7 +74717,7 @@ paths: - string - 'null' format: date-time - head_commit: *503 + head_commit: *522 latest_check_runs_count: type: integer check_runs_url: @@ -72468,7 +74745,7 @@ paths: - check_runs_url - pull_requests examples: - default: &505 + default: &524 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -72759,9 +75036,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *504 + schema: *523 examples: - default: *505 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72780,8 +75057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -72842,7 +75119,7 @@ paths: required: - app_id - setting - repository: *246 + repository: *269 examples: default: value: @@ -73090,9 +75367,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *430 - - *431 - - &506 + - *449 + - *450 + - &525 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73104,9 +75381,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *523 examples: - default: *505 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73129,17 +75406,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *430 - - *431 - - *506 - - &551 + - *449 + - *450 + - *525 + - &570 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &552 + - &571 name: status description: Returns check runs with the specified `status`. in: query @@ -73178,9 +75455,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *519 examples: - default: &553 + default: &572 value: total_count: 1 check_runs: @@ -73282,15 +75559,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *430 - - *431 - - *506 + - *449 + - *450 + - *525 responses: '201': description: Response content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -73317,30 +75594,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *430 - - *431 - - *277 - - *278 + - *449 + - *450 + - *300 + - *301 - *19 - *17 - - &522 + - &541 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *507 - - &523 + schema: *526 + - &542 name: pr description: The number of the pull request for the results you want to list. in: query required: false schema: type: integer - - *99 - - *97 - - *98 + - *104 + - *102 + - *103 - name: sort description: The property by which to sort the results. in: query @@ -73356,13 +75633,13 @@ paths: be returned. in: query required: false - schema: *279 + schema: *302 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *508 + schema: *527 responses: '200': description: Response @@ -73373,24 +75650,24 @@ paths: items: type: object properties: - number: *109 - created_at: *116 - updated_at: *117 - url: *114 - html_url: *115 - instances_url: *509 - state: *102 - fixed_at: *119 + number: *119 + created_at: *126 + updated_at: *127 + url: *124 + html_url: *125 + instances_url: *528 + state: *107 + fixed_at: *129 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 - rule: *512 - tool: *513 - most_recent_instance: *514 + dismissed_at: *128 + dismissed_reason: *529 + dismissed_comment: *530 + rule: *531 + tool: *532 + most_recent_instance: *533 dismissal_approved_by: anyOf: - type: 'null' @@ -73513,14 +75790,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &515 + '403': &534 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73540,9 +75817,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *430 - - *431 - - &516 + - *449 + - *450 + - &535 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -73550,30 +75827,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *109 + schema: *119 responses: '200': description: Response content: application/json: - schema: &517 + schema: &536 type: object properties: - number: *109 - created_at: *116 - updated_at: *117 - url: *114 - html_url: *115 - instances_url: *509 - state: *102 - fixed_at: *119 + number: *119 + created_at: *126 + updated_at: *127 + url: *124 + html_url: *125 + instances_url: *528 + state: *107 + fixed_at: *129 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *118 - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_at: *128 + dismissed_reason: *529 + dismissed_comment: *530 rule: type: object properties: @@ -73635,8 +75912,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *513 - most_recent_instance: *514 + tool: *532 + most_recent_instance: *533 dismissal_approved_by: anyOf: - type: 'null' @@ -73732,9 +76009,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *515 + '403': *534 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73752,9 +76029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *430 - - *431 - - *516 + - *449 + - *450 + - *535 requestBody: required: true content: @@ -73769,8 +76046,8 @@ paths: enum: - open - dismissed - dismissed_reason: *510 - dismissed_comment: *511 + dismissed_reason: *529 + dismissed_comment: *530 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -73789,7 +76066,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *536 examples: default: value: @@ -73865,14 +76142,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &521 + '403': &540 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *163 + '503': *184 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -73892,15 +76169,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *430 - - *431 - - *516 + - *449 + - *450 + - *535 responses: '200': description: Response content: application/json: - schema: &518 + schema: &537 type: object properties: status: @@ -73927,13 +76204,13 @@ paths: - description - started_at examples: - default: &519 + default: &538 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &520 + '400': &539 description: Bad Request content: application/json: @@ -73944,9 +76221,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *515 + '403': *534 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73969,29 +76246,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *430 - - *431 - - *516 + - *449 + - *450 + - *535 responses: '200': description: OK content: application/json: - schema: *518 + schema: *537 examples: - default: *519 + default: *538 '202': description: Accepted content: application/json: - schema: *518 + schema: *537 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *520 + '400': *539 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74001,7 +76278,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74023,9 +76300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *430 - - *431 - - *516 + - *449 + - *450 + - *535 requestBody: required: false content: @@ -74071,12 +76348,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *520 - '403': *521 + '400': *539 + '403': *540 '404': *6 '422': description: Unprocessable Entity - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74096,13 +76373,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *430 - - *431 - - *516 + - *449 + - *450 + - *535 - *19 - *17 - - *522 - - *523 + - *541 + - *542 responses: '200': description: Response @@ -74110,7 +76387,7 @@ paths: application/json: schema: type: array - items: *514 + items: *533 examples: default: value: @@ -74149,9 +76426,9 @@ paths: end_column: 50 classifications: - source - '403': *515 + '403': *534 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74183,30 +76460,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *430 - - *431 - - *277 - - *278 + - *449 + - *450 + - *300 + - *301 - *19 - *17 - - *523 + - *542 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *507 + schema: *526 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &526 + schema: &545 type: string description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *99 + - *104 - name: sort description: The property by which to sort the results. in: query @@ -74223,23 +76500,23 @@ paths: application/json: schema: type: array - items: &527 + items: &546 type: object properties: - ref: *507 - commit_sha: &535 + ref: *526 + commit_sha: &554 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *524 + analysis_key: *543 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *525 + category: *544 error: type: string examples: @@ -74264,8 +76541,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *526 - tool: *513 + sarif_id: *545 + tool: *532 deletable: type: boolean warning: @@ -74327,9 +76604,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *515 + '403': *534 '404': *6 - '503': *163 + '503': *184 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74363,8 +76640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74377,7 +76654,7 @@ paths: description: Response content: application/json: - schema: *527 + schema: *546 examples: response: summary: application/json response @@ -74431,14 +76708,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *515 + '403': *534 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *163 + '503': *184 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74518,8 +76795,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *430 - - *431 + - *449 + - *450 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74575,9 +76852,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *521 + '403': *540 '404': *6 - '503': *163 + '503': *184 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -74597,8 +76874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -74606,7 +76883,7 @@ paths: application/json: schema: type: array - items: &528 + items: &547 title: CodeQL Database description: A CodeQL database. type: object @@ -74718,9 +76995,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *515 + '403': *534 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74747,8 +77024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 - name: language in: path description: The language of the CodeQL database. @@ -74760,7 +77037,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *547 examples: default: value: @@ -74792,11 +77069,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &558 + '302': &577 description: Found - '403': *515 + '403': *534 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74816,8 +77093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *430 - - *431 + - *449 + - *450 - name: language in: path description: The language of the CodeQL database. @@ -74827,9 +77104,9 @@ paths: responses: '204': description: Response - '403': *521 + '403': *540 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74855,8 +77132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -74865,7 +77142,7 @@ paths: type: object additionalProperties: false properties: - language: &529 + language: &548 type: string description: The language targeted by the CodeQL query enum: @@ -74944,7 +77221,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &533 + schema: &552 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -74952,9 +77229,9 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *108 + controller_repo: *113 actor: *4 - query_language: *529 + query_language: *548 query_pack_url: type: string description: The download url for the query pack. @@ -75002,7 +77279,7 @@ paths: items: type: object properties: - repository: &530 + repository: &549 title: Repository Identifier description: Repository Identifier type: object @@ -75044,7 +77321,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &534 + analysis_status: &553 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75076,7 +77353,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &531 + access_mismatch_repos: &550 type: object properties: repository_count: @@ -75091,7 +77368,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *530 + items: *549 required: - repository_count - repositories @@ -75114,8 +77391,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *531 - over_limit_repos: *531 + no_codeql_db_repos: *550 + over_limit_repos: *550 required: - access_mismatch_repos - not_found_repos @@ -75131,7 +77408,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &532 + value: &551 summary: Default response value: id: 1 @@ -75283,17 +77560,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *532 + value: *551 repository_lists: summary: Response for a successful variant analysis submission - value: *532 + value: *551 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75314,8 +77591,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *430 - - *431 + - *449 + - *450 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75327,11 +77604,11 @@ paths: description: Response content: application/json: - schema: *533 + schema: *552 examples: - default: *532 + default: *551 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75352,7 +77629,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *430 + - *449 - name: repo in: path description: The name of the controller repository. @@ -75386,8 +77663,8 @@ paths: schema: type: object properties: - repository: *108 - analysis_status: *534 + repository: *113 + analysis_status: *553 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -75491,7 +77768,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75512,8 +77789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -75606,9 +77883,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *515 + '403': *534 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75627,8 +77904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -75697,7 +77974,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -75722,7 +77999,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *521 + '403': *540 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -75736,7 +78013,7 @@ paths: content: application/json: schema: *3 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75793,8 +78070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -75802,7 +78079,7 @@ paths: schema: type: object properties: - commit_sha: *535 + commit_sha: *554 ref: type: string description: |- @@ -75862,7 +78139,7 @@ paths: schema: type: object properties: - id: *526 + id: *545 url: type: string description: The REST API URL for checking the status of the upload. @@ -75876,11 +78153,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *521 + '403': *540 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *163 + '503': *184 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75899,8 +78176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *430 - - *431 + - *449 + - *450 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -75948,10 +78225,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *515 + '403': *534 '404': description: Not Found if the sarif id does not match any upload - '503': *163 + '503': *184 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -75973,8 +78250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -75998,7 +78275,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *103 + configuration: *108 examples: default: value: @@ -76030,7 +78307,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *129 + '204': *144 '304': *35 '403': *27 '404': *6 @@ -76055,8 +78332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *430 - - *431 + - *449 + - *450 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -76184,8 +78461,8 @@ paths: parameters: - *17 - *19 - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -76201,7 +78478,7 @@ paths: type: integer codespaces: type: array - items: *336 + items: *356 examples: default: value: @@ -76499,8 +78776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -76564,22 +78841,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *356 examples: - default: *536 + default: *555 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *356 examples: - default: *536 + default: *555 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76603,8 +78880,8 @@ paths: parameters: - *17 - *19 - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -76668,8 +78945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -76706,9 +78983,9 @@ paths: type: integer machines: type: array - items: *537 + items: *556 examples: - default: &771 + default: &792 value: total_count: 2 machines: @@ -76748,8 +79025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *430 - - *431 + - *449 + - *450 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -76836,8 +79113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *430 - - *431 + - *449 + - *450 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -76885,7 +79162,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76906,8 +79183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -76925,7 +79202,7 @@ paths: type: integer secrets: type: array - items: &541 + items: &560 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -76946,7 +79223,7 @@ paths: - created_at - updated_at examples: - default: *538 + default: *557 headers: Link: *41 x-github: @@ -76969,16 +79246,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: *539 + schema: *558 examples: - default: *540 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -76998,17 +79275,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *449 + - *450 + - *279 responses: '200': description: Response content: application/json: - schema: *541 + schema: *560 examples: - default: *542 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77028,9 +79305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *449 + - *450 + - *279 requestBody: required: true content: @@ -77058,7 +79335,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -77082,9 +79359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *449 + - *450 + - *279 responses: '204': description: Response @@ -77112,8 +79389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *430 - - *431 + - *449 + - *450 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77151,7 +79428,7 @@ paths: application/json: schema: type: array - items: &543 + items: &562 title: Collaborator description: Collaborator type: object @@ -77344,9 +79621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *430 - - *431 - - *178 + - *449 + - *450 + - *132 responses: '204': description: Response if user is a collaborator @@ -77392,9 +79669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *430 - - *431 - - *178 + - *449 + - *450 + - *132 requestBody: required: false content: @@ -77420,7 +79697,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &616 + schema: &635 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77432,7 +79709,7 @@ paths: format: int64 examples: - 42 - repository: *246 + repository: *269 invitee: anyOf: - type: 'null' @@ -77608,7 +79885,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *223 + schema: *244 '403': *27 x-github: triggersNotification: true @@ -77648,9 +79925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *430 - - *431 - - *178 + - *449 + - *450 + - *132 responses: '204': description: No Content when collaborator was removed from the repository. @@ -77681,9 +79958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *430 - - *431 - - *178 + - *449 + - *450 + - *132 responses: '200': description: if user has admin permissions @@ -77703,7 +79980,7 @@ paths: user: anyOf: - type: 'null' - - *543 + - *562 required: - permission - role_name @@ -77757,8 +80034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -77768,7 +80045,7 @@ paths: application/json: schema: type: array - items: &544 + items: &563 title: Commit Comment description: Commit Comment type: object @@ -77809,8 +80086,8 @@ paths: updated_at: type: string format: date-time - author_association: *184 - reactions: *185 + author_association: *204 + reactions: *205 required: - url - html_url @@ -77826,7 +80103,7 @@ paths: - created_at - updated_at examples: - default: &547 + default: &566 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77885,17 +80162,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 responses: '200': description: Response content: application/json: - schema: *544 + schema: *563 examples: - default: &548 + default: &567 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -77952,9 +80229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 requestBody: required: true content: @@ -77976,7 +80253,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *563 examples: default: value: @@ -78027,9 +80304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 responses: '204': description: Response @@ -78050,9 +80327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -78078,9 +80355,9 @@ paths: application/json: schema: type: array - items: *419 + items: *438 examples: - default: *421 + default: *440 headers: Link: *41 '404': *6 @@ -78101,9 +80378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 requestBody: required: true content: @@ -78135,16 +80412,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 '201': description: Reaction created content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -78166,10 +80443,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *430 - - *431 - - *198 - - *422 + - *449 + - *450 + - *218 + - *441 responses: '204': description: Response @@ -78218,8 +80495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *430 - - *431 + - *449 + - *450 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78275,9 +80552,9 @@ paths: application/json: schema: type: array - items: *545 + items: *564 examples: - default: &662 + default: &683 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78351,7 +80628,7 @@ paths: '500': *38 '400': *14 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78371,9 +80648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *430 - - *431 - - &546 + - *449 + - *450 + - &565 name: commit_sha description: The SHA of the commit. in: path @@ -78420,7 +80697,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78445,9 +80722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *430 - - *431 - - *546 + - *449 + - *450 + - *565 - *17 - *19 responses: @@ -78457,9 +80734,9 @@ paths: application/json: schema: type: array - items: *544 + items: *563 examples: - default: *547 + default: *566 headers: Link: *41 x-github: @@ -78487,9 +80764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *430 - - *431 - - *546 + - *449 + - *450 + - *565 requestBody: required: true content: @@ -78524,9 +80801,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *563 examples: - default: *548 + default: *567 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78554,9 +80831,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *430 - - *431 - - *546 + - *449 + - *450 + - *565 - *17 - *19 responses: @@ -78566,9 +80843,9 @@ paths: application/json: schema: type: array - items: *549 + items: *568 examples: - default: &654 + default: &675 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79048,7 +81325,7 @@ paths: draft: false headers: Link: *41 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79105,11 +81382,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *430 - - *431 + - *449 + - *450 - *19 - *17 - - &550 + - &569 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -79124,9 +81401,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *564 examples: - default: &642 + default: &661 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79213,8 +81490,8 @@ paths: '422': *15 '404': *6 '500': *38 - '503': *163 - '409': *107 + '503': *184 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79239,11 +81516,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *430 - - *431 - - *550 - - *551 - - *552 + - *449 + - *450 + - *569 + - *570 + - *571 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79277,9 +81554,9 @@ paths: type: integer check_runs: type: array - items: *500 + items: *519 examples: - default: *553 + default: *572 headers: Link: *41 x-github: @@ -79304,9 +81581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *430 - - *431 - - *550 + - *449 + - *450 + - *569 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79314,7 +81591,7 @@ paths: schema: type: integer example: 1 - - *551 + - *570 - *17 - *19 responses: @@ -79332,7 +81609,7 @@ paths: type: integer check_suites: type: array - items: *504 + items: *523 examples: default: value: @@ -79532,9 +81809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *430 - - *431 - - *550 + - *449 + - *450 + - *569 - *17 - *19 responses: @@ -79605,7 +81882,7 @@ paths: type: string total_count: type: integer - repository: *246 + repository: *269 commit_url: type: string format: uri @@ -79736,9 +82013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *430 - - *431 - - *550 + - *449 + - *450 + - *569 - *17 - *19 responses: @@ -79748,7 +82025,7 @@ paths: application/json: schema: type: array - items: &716 + items: &737 title: Status description: The status of a commit. type: object @@ -79829,7 +82106,7 @@ paths: site_admin: false headers: Link: *41 - '301': *444 + '301': *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79857,8 +82134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -79891,11 +82168,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *554 + - *573 code_of_conduct_file: anyOf: - type: 'null' - - &555 + - &574 title: Community Health File type: object properties: @@ -79911,23 +82188,23 @@ paths: license: anyOf: - type: 'null' - - *186 + - *206 contributing: anyOf: - type: 'null' - - *555 + - *574 readme: anyOf: - type: 'null' - - *555 + - *574 issue_template: anyOf: - type: 'null' - - *555 + - *574 pull_request_template: anyOf: - type: 'null' - - *555 + - *574 required: - code_of_conduct - code_of_conduct_file @@ -80056,8 +82333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *430 - - *431 + - *449 + - *450 - *19 - *17 - name: basehead @@ -80105,8 +82382,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *545 - merge_base_commit: *545 + base_commit: *564 + merge_base_commit: *564 status: type: string enum: @@ -80130,10 +82407,10 @@ paths: - 6 commits: type: array - items: *545 + items: *564 files: type: array - items: *556 + items: *575 required: - url - html_url @@ -80377,7 +82654,7 @@ paths: module Test" '404': *6 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80419,8 +82696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *430 - - *431 + - *449 + - *450 - name: path description: path parameter in: path @@ -80573,7 +82850,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &557 + response-if-content-is-a-file: &576 summary: Response if content is a file value: type: file @@ -80710,7 +82987,7 @@ paths: - size - type - url - - &667 + - &688 title: Content File description: Content File type: object @@ -80928,7 +83205,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *557 + response-if-content-is-a-file: *576 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -80997,7 +83274,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *558 + '302': *577 '304': *35 x-github: githubCloudOnly: false @@ -81020,8 +83297,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *430 - - *431 + - *449 + - *450 - name: path description: path parameter in: path @@ -81116,7 +83393,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &578 title: File Commit description: File Commit type: object @@ -81272,7 +83549,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *578 examples: example-for-creating-a-file: value: @@ -81326,7 +83603,7 @@ paths: schema: oneOf: - *3 - - &598 + - &617 description: Repository rule violation was detected type: object properties: @@ -81347,7 +83624,7 @@ paths: items: type: object properties: - placeholder_id: &708 + placeholder_id: &729 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81379,8 +83656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *430 - - *431 + - *449 + - *450 - name: path description: path parameter in: path @@ -81441,7 +83718,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *578 examples: default: value: @@ -81475,8 +83752,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *107 - '503': *163 + '409': *112 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81496,8 +83773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *430 - - *431 + - *449 + - *450 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -81621,31 +83898,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *430 - - *431 - - *294 - - *295 - - *296 - - *297 + - *449 + - *450 + - *316 + - *317 + - *318 + - *319 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *298 - - *560 - - *299 - - *300 - - *99 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 + - *320 + - *579 + - *321 + - *322 + - *104 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -81654,10 +83923,8 @@ paths: schema: type: integer default: 30 - - *97 - - *98 - - *301 - - *302 + - *102 + - *103 responses: '200': description: Response @@ -81665,11 +83932,11 @@ paths: application/json: schema: type: array - items: &563 + items: &582 type: object description: A Dependabot alert. properties: - number: *109 + number: *119 state: type: string description: The state of the Dependabot alert. @@ -81684,7 +83951,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *110 + package: *120 manifest_path: type: string description: The full path to the dependency manifest file, @@ -81715,13 +83982,13 @@ paths: - direct - transitive - - security_advisory: *561 - security_vulnerability: *113 - url: *114 - html_url: *115 - created_at: *116 - updated_at: *117 - dismissed_at: *118 + security_advisory: *580 + security_vulnerability: *123 + url: *124 + html_url: *125 + created_at: *126 + updated_at: *127 + dismissed_at: *128 dismissed_by: anyOf: - type: 'null' @@ -81745,8 +84012,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *119 - auto_dismissed_at: *562 + fixed_at: *129 + auto_dismissed_at: *581 required: - number - state @@ -81976,9 +84243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *430 - - *431 - - &564 + - *449 + - *450 + - &583 name: alert_number in: path description: |- @@ -81987,13 +84254,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *109 + schema: *119 responses: '200': description: Response content: application/json: - schema: *563 + schema: *582 examples: default: value: @@ -82106,9 +84373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *430 - - *431 - - *564 + - *449 + - *450 + - *583 requestBody: required: true content: @@ -82153,7 +84420,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *582 examples: default: value: @@ -82259,7 +84526,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *107 + '409': *112 '422': *7 x-github: githubCloudOnly: false @@ -82282,8 +84549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -82301,7 +84568,7 @@ paths: type: integer secrets: type: array - items: &567 + items: &586 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82355,16 +84622,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: *565 + schema: *584 examples: - default: *566 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82384,15 +84651,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *449 + - *450 + - *279 responses: '200': description: Response content: application/json: - schema: *567 + schema: *586 examples: default: value: @@ -82418,9 +84685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *449 + - *450 + - *279 requestBody: required: true content: @@ -82448,7 +84715,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -82472,9 +84739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *430 - - *431 - - *256 + - *449 + - *450 + - *279 responses: '204': description: Response @@ -82496,8 +84763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *430 - - *431 + - *449 + - *450 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -82671,8 +84938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -82932,8 +85199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -83016,7 +85283,7 @@ paths: - version - url additionalProperties: false - metadata: &568 + metadata: &587 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83055,7 +85322,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *568 + metadata: *587 resolved: type: object description: A collection of resolved package dependencies. @@ -83069,7 +85336,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *568 + metadata: *587 relationship: type: string description: A notation of whether a dependency is requested @@ -83202,8 +85469,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *430 - - *431 + - *449 + - *450 - name: sha description: The SHA recorded at creation time. in: query @@ -83244,9 +85511,9 @@ paths: application/json: schema: type: array - items: *569 + items: *588 examples: - default: *570 + default: *589 headers: Link: *41 x-github: @@ -83312,8 +85579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -83395,7 +85662,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *588 examples: simple-example: summary: Simple example @@ -83468,9 +85735,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *430 - - *431 - - &571 + - *449 + - *450 + - &590 name: deployment_id description: deployment_id parameter in: path @@ -83482,7 +85749,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *588 examples: default: value: @@ -83547,9 +85814,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *430 - - *431 - - *571 + - *449 + - *450 + - *590 responses: '204': description: Response @@ -83571,9 +85838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *430 - - *431 - - *571 + - *449 + - *450 + - *590 - *17 - *19 responses: @@ -83583,7 +85850,7 @@ paths: application/json: schema: type: array - items: &572 + items: &591 title: Deployment Status description: The status of a deployment. type: object @@ -83747,9 +86014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *430 - - *431 - - *571 + - *449 + - *450 + - *590 requestBody: required: true content: @@ -83824,9 +86091,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *591 examples: - default: &573 + default: &592 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -83882,9 +86149,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *430 - - *431 - - *571 + - *449 + - *450 + - *590 - name: status_id in: path required: true @@ -83895,9 +86162,9 @@ paths: description: Response content: application/json: - schema: *572 + schema: *591 examples: - default: *573 + default: *592 '404': *6 x-github: githubCloudOnly: false @@ -83924,12 +86191,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 - - *574 - - *575 - - *576 - - *577 + - *449 + - *450 + - *593 + - *594 + - *595 + - *596 - *17 - *19 responses: @@ -83939,9 +86206,9 @@ paths: application/json: schema: type: array - items: *578 + items: *597 examples: - default: *579 + default: *598 '404': *6 '403': *27 '500': *38 @@ -83965,8 +86232,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *449 + - *450 - name: alert_number in: path required: true @@ -83978,7 +86245,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *578 + schema: *597 examples: default: value: @@ -84034,8 +86301,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *449 + - *450 - name: alert_number in: path required: true @@ -84094,12 +86361,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 - - *92 - - *93 - - *94 - - *580 + - *449 + - *450 + - *97 + - *98 + - *99 + - *599 - *17 - *19 responses: @@ -84109,9 +86376,9 @@ paths: application/json: schema: type: array - items: *581 + items: *600 examples: - default: *582 + default: *601 '404': *6 '403': *27 '500': *38 @@ -84136,8 +86403,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *449 + - *450 - name: alert_number in: path required: true @@ -84149,7 +86416,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *581 + schema: *600 examples: default: value: @@ -84207,8 +86474,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *430 - - *431 + - *449 + - *450 - name: alert_number in: path required: true @@ -84277,8 +86544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -84335,8 +86602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -84354,7 +86621,7 @@ paths: - 5 environments: type: array - items: &584 + items: &603 title: Environment description: Details of a deployment environment type: object @@ -84416,7 +86683,7 @@ paths: type: string examples: - wait_timer - wait_timer: &586 + wait_timer: &605 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -84458,11 +86725,11 @@ paths: items: type: object properties: - type: *583 + type: *602 reviewer: anyOf: - *4 - - *273 + - *296 required: - id - node_id @@ -84485,7 +86752,7 @@ paths: - id - node_id - type - deployment_branch_policy: &587 + deployment_branch_policy: &606 type: - object - 'null' @@ -84602,9 +86869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *430 - - *431 - - &585 + - *449 + - *450 + - &604 name: environment_name in: path required: true @@ -84617,9 +86884,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *603 examples: - default: &588 + default: &607 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -84703,9 +86970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *430 - - *431 - - *585 + - *449 + - *450 + - *604 requestBody: required: false content: @@ -84715,7 +86982,7 @@ paths: - object - 'null' properties: - wait_timer: *586 + wait_timer: *605 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -84734,14 +87001,14 @@ paths: items: type: object properties: - type: *583 + type: *602 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *587 + deployment_branch_policy: *606 additionalProperties: false examples: default: @@ -84761,9 +87028,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *603 examples: - default: *588 + default: *607 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -84787,9 +87054,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *430 - - *431 - - *585 + - *449 + - *450 + - *604 responses: '204': description: Default response @@ -84814,9 +87081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *430 - - *431 - - *585 + - *449 + - *450 + - *604 - *17 - *19 responses: @@ -84835,7 +87102,7 @@ paths: - 2 branch_policies: type: array - items: &589 + items: &608 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -84896,9 +87163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *430 - - *431 - - *585 + - *449 + - *450 + - *604 requestBody: required: true content: @@ -84946,9 +87213,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *608 examples: - example-wildcard: &590 + example-wildcard: &609 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -84990,10 +87257,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *430 - - *431 - - *585 - - &591 + - *449 + - *450 + - *604 + - &610 name: branch_policy_id in: path required: true @@ -85005,9 +87272,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *608 examples: - default: *590 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85026,10 +87293,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *430 - - *431 - - *585 - - *591 + - *449 + - *450 + - *604 + - *610 requestBody: required: true content: @@ -85058,9 +87325,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *608 examples: - default: *590 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85079,10 +87346,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *430 - - *431 - - *585 - - *591 + - *449 + - *450 + - *604 + - *610 responses: '204': description: Response @@ -85107,9 +87374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *585 - - *431 - - *430 + - *604 + - *450 + - *449 responses: '200': description: List of deployment protection rules @@ -85126,7 +87393,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &592 + items: &611 title: Deployment protection rule description: Deployment protection rule type: object @@ -85148,7 +87415,7 @@ paths: for the environment. examples: - true - app: &593 + app: &612 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85251,9 +87518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *585 - - *431 - - *430 + - *604 + - *450 + - *449 requestBody: content: application/json: @@ -85274,9 +87541,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *592 + schema: *611 examples: - default: &594 + default: &613 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85311,9 +87578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *585 - - *431 - - *430 + - *604 + - *450 + - *449 - *19 - *17 responses: @@ -85333,7 +87600,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *593 + items: *612 examples: default: value: @@ -85368,10 +87635,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *430 - - *431 - - *585 - - &595 + - *449 + - *450 + - *604 + - &614 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85383,9 +87650,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *611 examples: - default: *594 + default: *613 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85406,10 +87673,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *585 - - *431 - - *430 - - *595 + - *604 + - *450 + - *449 + - *614 responses: '204': description: Response @@ -85435,9 +87702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *430 - - *431 - - *585 + - *449 + - *450 + - *604 - *17 - *19 responses: @@ -85455,9 +87722,9 @@ paths: type: integer secrets: type: array - items: *467 + items: *486 examples: - default: *468 + default: *487 headers: Link: *41 x-github: @@ -85482,17 +87749,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *430 - - *431 - - *585 + - *449 + - *450 + - *604 responses: '200': description: Response content: application/json: - schema: *469 + schema: *488 examples: - default: *470 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85514,18 +87781,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *430 - - *431 - - *585 - - *256 + - *449 + - *450 + - *604 + - *279 responses: '200': description: Response content: application/json: - schema: *467 + schema: *486 examples: - default: *596 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85547,10 +87814,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *430 - - *431 - - *585 - - *256 + - *449 + - *450 + - *604 + - *279 requestBody: required: true content: @@ -85581,7 +87848,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -85607,10 +87874,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *430 - - *431 - - *585 - - *256 + - *449 + - *450 + - *604 + - *279 responses: '204': description: Default response @@ -85635,10 +87902,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *430 - - *431 - - *585 - - *454 + - *449 + - *450 + - *604 + - *473 - *19 responses: '200': @@ -85655,9 +87922,9 @@ paths: type: integer variables: type: array - items: *471 + items: *490 examples: - default: *472 + default: *491 headers: Link: *41 x-github: @@ -85680,9 +87947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *430 - - *431 - - *585 + - *449 + - *450 + - *604 requestBody: required: true content: @@ -85709,7 +87976,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -85734,18 +88001,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *430 - - *431 - - *585 - - *259 + - *449 + - *450 + - *604 + - *282 responses: '200': description: Response content: application/json: - schema: *471 + schema: *490 examples: - default: *597 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85766,10 +88033,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *430 - - *431 - - *259 - - *585 + - *449 + - *450 + - *282 + - *604 requestBody: required: true content: @@ -85811,10 +88078,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *430 - - *431 - - *259 - - *585 + - *449 + - *450 + - *282 + - *604 responses: '204': description: Response @@ -85836,8 +88103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -85847,7 +88114,7 @@ paths: application/json: schema: type: array - items: *208 + items: *228 examples: 200-response: value: @@ -85905,8 +88172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *430 - - *431 + - *449 + - *450 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -85928,7 +88195,7 @@ paths: application/json: schema: type: array - items: *246 + items: *269 examples: default: value: @@ -86065,8 +88332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: false content: @@ -86099,9 +88366,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *462 examples: - default: *445 + default: *464 '400': *14 '422': *15 '403': *27 @@ -86122,8 +88389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -86174,7 +88441,7 @@ paths: schema: type: string '404': *6 - '409': *107 + '409': *112 '403': *27 '422': description: Validation failed @@ -86182,8 +88449,8 @@ paths: application/json: schema: oneOf: - - *223 - - *598 + - *244 + - *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86208,8 +88475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *430 - - *431 + - *449 + - *450 - name: file_sha in: path required: true @@ -86261,7 +88528,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86309,8 +88576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -86419,7 +88686,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &618 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86596,7 +88863,7 @@ paths: type: string '422': *15 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86646,15 +88913,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *430 - - *431 - - *546 + - *449 + - *450 + - *565 responses: '200': description: Response content: application/json: - schema: *599 + schema: *618 examples: default: value: @@ -86685,7 +88952,7 @@ paths: payload: verified_at: '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86710,9 +88977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *430 - - *431 - - &600 + - *449 + - *450 + - &619 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -86729,7 +88996,7 @@ paths: application/json: schema: type: array - items: &601 + items: &620 title: Git Reference description: Git references within a repository type: object @@ -86784,7 +89051,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *41 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86805,17 +89072,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *430 - - *431 - - *600 + - *449 + - *450 + - *619 responses: '200': description: Response content: application/json: - schema: *601 + schema: *620 examples: - default: &602 + default: &621 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -86825,7 +89092,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86844,8 +89111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -86874,16 +89141,16 @@ paths: description: Response content: application/json: - schema: *601 + schema: *620 examples: - default: *602 + default: *621 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86902,9 +89169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *430 - - *431 - - *600 + - *449 + - *450 + - *619 requestBody: required: true content: @@ -86933,11 +89200,11 @@ paths: description: Response content: application/json: - schema: *601 + schema: *620 examples: - default: *602 + default: *621 '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86953,16 +89220,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *430 - - *431 - - *600 + - *449 + - *450 + - *619 responses: '204': description: Response '422': description: Validation failed, an attempt was made to delete the default branch, or the endpoint has been spammed. - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87010,8 +89277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -87078,7 +89345,7 @@ paths: description: Response content: application/json: - schema: &604 + schema: &623 title: Git Tag description: Metadata for a Git tag type: object @@ -87134,7 +89401,7 @@ paths: - sha - type - url - verification: *603 + verification: *622 required: - sha - url @@ -87144,7 +89411,7 @@ paths: - tag - message examples: - default: &605 + default: &624 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87171,7 +89438,7 @@ paths: schema: type: string '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87217,8 +89484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *430 - - *431 + - *449 + - *450 - name: tag_sha in: path required: true @@ -87229,11 +89496,11 @@ paths: description: Response content: application/json: - schema: *604 + schema: *623 examples: - default: *605 + default: *624 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87255,8 +89522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -87330,7 +89597,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &625 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87409,7 +89676,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87432,8 +89699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *430 - - *431 + - *449 + - *450 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87456,7 +89723,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *625 examples: default-response: summary: Default response @@ -87497,7 +89764,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87515,8 +89782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -87526,7 +89793,7 @@ paths: application/json: schema: type: array - items: &607 + items: &626 title: Webhook description: Webhooks for repositories. type: object @@ -87589,7 +89856,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &849 + last_response: &869 title: Hook Response type: object properties: @@ -87666,8 +89933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: false content: @@ -87720,9 +89987,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *626 examples: - default: &608 + default: &627 value: type: Repository id: 12345678 @@ -87770,17 +90037,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *449 + - *450 + - *328 responses: '200': description: Response content: application/json: - schema: *607 + schema: *626 examples: - default: *608 + default: *627 '404': *6 x-github: githubCloudOnly: false @@ -87800,9 +90067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *449 + - *450 + - *328 requestBody: required: true content: @@ -87847,9 +90114,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *626 examples: - default: *608 + default: *627 '422': *15 '404': *6 x-github: @@ -87870,9 +90137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *449 + - *450 + - *328 responses: '204': description: Response @@ -87896,9 +90163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *430 - - *431 - - *308 + - *449 + - *450 + - *328 responses: '200': description: Response @@ -87925,9 +90192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *430 - - *431 - - *308 + - *449 + - *450 + - *328 requestBody: required: false content: @@ -87971,11 +90238,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *449 + - *450 + - *328 - *17 - - *309 + - *329 responses: '200': description: Response @@ -87983,9 +90250,9 @@ paths: application/json: schema: type: array - items: *310 + items: *330 examples: - default: *311 + default: *331 '400': *14 '422': *15 x-github: @@ -88004,18 +90271,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *449 + - *450 + - *328 - *16 responses: '200': description: Response content: application/json: - schema: *312 + schema: *332 examples: - default: *313 + default: *333 '400': *14 '422': *15 x-github: @@ -88034,9 +90301,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *449 + - *450 + - *328 - *16 responses: '202': *37 @@ -88059,9 +90326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *430 - - *431 - - *308 + - *449 + - *450 + - *328 responses: '204': description: Response @@ -88086,9 +90353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *430 - - *431 - - *308 + - *449 + - *450 + - *328 responses: '204': description: Response @@ -88111,8 +90378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response if immutable releases are enabled @@ -88160,11 +90427,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *430 - - *431 + - *449 + - *450 responses: - '204': *129 - '409': *107 + '204': *144 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88181,11 +90448,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *430 - - *431 + - *449 + - *450 responses: - '204': *129 - '409': *107 + '204': *144 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88239,14 +90506,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: &609 + schema: &628 title: Import description: A repository import from an external source. type: object @@ -88353,7 +90620,7 @@ paths: - html_url - authors_url examples: - default: &612 + default: &631 value: vcs: subversion use_lfs: true @@ -88369,7 +90636,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &610 + '503': &629 description: Unavailable due to service under maintenance. content: application/json: @@ -88398,8 +90665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -88447,7 +90714,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *628 examples: default: value: @@ -88472,7 +90739,7 @@ paths: type: string '422': *15 '404': *6 - '503': *610 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88500,8 +90767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: false content: @@ -88553,7 +90820,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *628 examples: example-1: summary: Example 1 @@ -88601,7 +90868,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *610 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88624,12 +90891,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response - '503': *610 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88655,9 +90922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *430 - - *431 - - &793 + - *449 + - *450 + - &813 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88671,7 +90938,7 @@ paths: application/json: schema: type: array - items: &611 + items: &630 title: Porter Author description: Porter Author type: object @@ -88725,7 +90992,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *610 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88750,8 +91017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *430 - - *431 + - *449 + - *450 - name: author_id in: path required: true @@ -88781,7 +91048,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *630 examples: default: value: @@ -88794,7 +91061,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *610 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88818,8 +91085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -88860,7 +91127,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *610 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88888,8 +91155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -88916,11 +91183,11 @@ paths: description: Response content: application/json: - schema: *609 + schema: *628 examples: - default: *612 + default: *631 '422': *15 - '503': *610 + '503': *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88943,8 +91210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -88952,8 +91219,8 @@ paths: application/json: schema: *20 examples: - default: *613 - '301': *444 + default: *632 + '301': *463 '404': *6 x-github: githubCloudOnly: false @@ -88973,8 +91240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -88982,12 +91249,12 @@ paths: application/json: schema: anyOf: - - *326 + - *346 - type: object properties: {} additionalProperties: false examples: - default: &615 + default: &634 value: limit: collaborators_only origin: repository @@ -89012,13 +91279,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: application/json: - schema: *614 + schema: *633 examples: default: summary: Example request body @@ -89030,9 +91297,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *346 examples: - default: *615 + default: *634 '409': description: Response x-github: @@ -89054,8 +91321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response @@ -89078,8 +91345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -89089,9 +91356,9 @@ paths: application/json: schema: type: array - items: *616 + items: *635 examples: - default: &786 + default: &806 value: - id: 1 repository: @@ -89222,9 +91489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *430 - - *431 - - *330 + - *449 + - *450 + - *350 requestBody: required: false content: @@ -89253,7 +91520,7 @@ paths: description: Response content: application/json: - schema: *616 + schema: *635 examples: default: value: @@ -89384,9 +91651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *430 - - *431 - - *330 + - *449 + - *450 + - *350 responses: '204': description: Response @@ -89417,8 +91684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *430 - - *431 + - *449 + - *450 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -89466,7 +91733,7 @@ paths: required: false schema: type: string - - *334 + - *354 - name: sort description: What to sort results by. in: query @@ -89478,8 +91745,8 @@ paths: - updated - comments default: created - - *99 - - *189 + - *104 + - *209 - *17 - *19 responses: @@ -89489,9 +91756,9 @@ paths: application/json: schema: type: array - items: *183 + items: *203 examples: - default: &623 + default: &642 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89639,7 +91906,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *444 + '301': *463 '422': *15 '404': *6 x-github: @@ -89668,8 +91935,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -89759,9 +92026,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *203 examples: - default: &620 + default: &639 value: id: 1 node_id: MDU6SXNzdWUx @@ -89915,9 +92182,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *163 + '503': *184 '404': *6 - '410': *441 + '410': *460 x-github: triggersNotification: true githubCloudOnly: false @@ -89945,9 +92212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *430 - - *431 - - *206 + - *449 + - *450 + - *226 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -89957,7 +92224,7 @@ paths: enum: - asc - desc - - *189 + - *209 - *17 - *19 responses: @@ -89967,9 +92234,9 @@ paths: application/json: schema: type: array - items: *617 + items: *636 examples: - default: &622 + default: &641 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90027,17 +92294,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 responses: '200': description: Response content: application/json: - schema: *617 + schema: *636 examples: - default: &618 + default: &637 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90091,9 +92358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 requestBody: required: true content: @@ -90115,9 +92382,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *636 examples: - default: *618 + default: *637 '422': *15 x-github: githubCloudOnly: false @@ -90135,9 +92402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 responses: '204': description: Response @@ -90157,9 +92424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -90185,9 +92452,9 @@ paths: application/json: schema: type: array - items: *419 + items: *438 examples: - default: *421 + default: *440 headers: Link: *41 '404': *6 @@ -90208,9 +92475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 requestBody: required: true content: @@ -90242,16 +92509,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 '201': description: Reaction created content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -90273,10 +92540,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *430 - - *431 - - *198 - - *422 + - *449 + - *450 + - *218 + - *441 responses: '204': description: Response @@ -90296,8 +92563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -90307,7 +92574,7 @@ paths: application/json: schema: type: array - items: &619 + items: &638 title: Issue Event description: Issue Event type: object @@ -90354,7 +92621,7 @@ paths: issue: anyOf: - type: 'null' - - *183 + - *203 label: title: Issue Event Label description: Issue Event Label @@ -90387,7 +92654,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *273 + requested_team: *296 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90454,7 +92721,7 @@ paths: required: - from - to - author_association: *184 + author_association: *204 lock_reason: type: - string @@ -90646,8 +92913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *430 - - *431 + - *449 + - *450 - name: event_id in: path required: true @@ -90658,7 +92925,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *638 examples: default: value: @@ -90851,7 +93118,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *441 + '410': *460 '403': *27 x-github: githubCloudOnly: false @@ -90885,9 +93152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *430 - - *431 - - &621 + - *449 + - *450 + - &640 name: issue_number description: The number that identifies the issue. in: path @@ -90899,12 +93166,12 @@ paths: description: Response content: application/json: - schema: *183 + schema: *203 examples: - default: *620 - '301': *444 + default: *639 + '301': *463 '404': *6 - '410': *441 + '410': *460 '304': *35 x-github: githubCloudOnly: false @@ -90929,9 +93196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 requestBody: required: false content: @@ -91050,15 +93317,15 @@ paths: description: Response content: application/json: - schema: *183 + schema: *203 examples: - default: *620 + default: *639 '422': *15 - '503': *163 + '503': *184 '403': *27 - '301': *444 + '301': *463 '404': *6 - '410': *441 + '410': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91076,9 +93343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 requestBody: required: false content: @@ -91104,9 +93371,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *203 examples: - default: *620 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91122,9 +93389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 requestBody: content: application/json: @@ -91149,9 +93416,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *203 examples: - default: *620 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91173,9 +93440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 - name: assignee in: path required: true @@ -91215,10 +93482,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *430 - - *431 - - *621 - - *189 + - *449 + - *450 + - *640 + - *209 - *17 - *19 responses: @@ -91228,13 +93495,13 @@ paths: application/json: schema: type: array - items: *617 + items: *636 examples: - default: *622 + default: *641 headers: Link: *41 '404': *6 - '410': *441 + '410': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91263,9 +93530,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 requestBody: required: true content: @@ -91287,16 +93554,16 @@ paths: description: Response content: application/json: - schema: *617 + schema: *636 examples: - default: *618 + default: *637 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *441 + '410': *460 '422': *15 '404': *6 x-github: @@ -91324,9 +93591,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 - *17 - *19 responses: @@ -91336,14 +93603,14 @@ paths: application/json: schema: type: array - items: *183 + items: *203 examples: - default: *623 + default: *642 headers: Link: *41 - '301': *444 + '301': *463 '404': *6 - '410': *441 + '410': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91371,9 +93638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 requestBody: required: true content: @@ -91395,17 +93662,17 @@ paths: description: Response content: application/json: - schema: *183 + schema: *203 examples: - default: *620 + default: *639 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *444 + '301': *463 '403': *27 - '410': *441 + '410': *460 '422': *15 '404': *6 x-github: @@ -91436,9 +93703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91450,15 +93717,15 @@ paths: description: Response content: application/json: - schema: *183 + schema: *203 examples: - default: *620 - '301': *444 + default: *639 + '301': *463 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *460 x-github: triggersNotification: true githubCloudOnly: false @@ -91484,9 +93751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 - *17 - *19 responses: @@ -91496,14 +93763,14 @@ paths: application/json: schema: type: array - items: *183 + items: *203 examples: - default: *623 + default: *642 headers: Link: *41 - '301': *444 + '301': *463 '404': *6 - '410': *441 + '410': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91520,9 +93787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 - *17 - *19 responses: @@ -91536,7 +93803,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &625 + - &644 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91585,7 +93852,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &626 + - &645 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -91713,7 +93980,7 @@ paths: - performed_via_github_app - assignee - assigner - - &627 + - &646 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -91759,7 +94026,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &628 + - &647 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -91805,7 +94072,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &629 + - &648 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -91854,7 +94121,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &630 + - &649 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -91883,7 +94150,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *296 requested_reviewer: *4 required: - review_requester @@ -91896,7 +94163,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &631 + - &650 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -91925,7 +94192,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *296 requested_reviewer: *4 required: - review_requester @@ -91938,7 +94205,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &632 + - &651 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -91994,7 +94261,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &633 + - &652 title: Locked Issue Event description: Locked Issue Event type: object @@ -92039,7 +94306,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &634 + - &653 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92100,7 +94367,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &635 + - &654 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92161,7 +94428,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &636 + - &655 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92222,7 +94489,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &637 + - &656 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92315,7 +94582,7 @@ paths: color: red headers: Link: *41 - '410': *441 + '410': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92332,9 +94599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 - *17 - *19 responses: @@ -92344,9 +94611,9 @@ paths: application/json: schema: type: array - items: *182 + items: *202 examples: - default: &624 + default: &643 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92364,9 +94631,9 @@ paths: default: false headers: Link: *41 - '301': *444 + '301': *463 '404': *6 - '410': *441 + '410': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92383,9 +94650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 requestBody: required: false content: @@ -92444,12 +94711,12 @@ paths: application/json: schema: type: array - items: *182 + items: *202 examples: - default: *624 - '301': *444 + default: *643 + '301': *463 '404': *6 - '410': *441 + '410': *460 '422': *15 x-github: githubCloudOnly: false @@ -92466,9 +94733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 requestBody: required: false content: @@ -92528,12 +94795,12 @@ paths: application/json: schema: type: array - items: *182 + items: *202 examples: - default: *624 - '301': *444 + default: *643 + '301': *463 '404': *6 - '410': *441 + '410': *460 '422': *15 x-github: githubCloudOnly: false @@ -92550,15 +94817,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 responses: '204': description: Response - '301': *444 + '301': *463 '404': *6 - '410': *441 + '410': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92577,9 +94844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 - name: name in: path required: true @@ -92592,7 +94859,7 @@ paths: application/json: schema: type: array - items: *182 + items: *202 examples: default: value: @@ -92603,9 +94870,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *444 + '301': *463 '404': *6 - '410': *441 + '410': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92625,9 +94892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 requestBody: required: false content: @@ -92656,7 +94923,7 @@ paths: '204': description: Response '403': *27 - '410': *441 + '410': *460 '404': *6 '422': *15 x-github: @@ -92674,9 +94941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 responses: '204': description: Response @@ -92706,20 +94973,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 responses: '200': description: Response content: application/json: - schema: *183 + schema: *203 examples: - default: *620 - '301': *444 + default: *639 + '301': *463 '404': *6 - '410': *441 + '410': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92736,9 +95003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -92764,13 +95031,13 @@ paths: application/json: schema: type: array - items: *419 + items: *438 examples: - default: *421 + default: *440 headers: Link: *41 '404': *6 - '410': *441 + '410': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92788,9 +95055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 requestBody: required: true content: @@ -92822,16 +95089,16 @@ paths: description: Response content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 '201': description: Response content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -92853,10 +95120,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *430 - - *431 - - *621 - - *422 + - *449 + - *450 + - *640 + - *441 responses: '204': description: Response @@ -92885,9 +95152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 requestBody: required: true content: @@ -92909,9 +95176,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *203 examples: - default: *620 + default: *639 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -92944,9 +95211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 - *17 - *19 responses: @@ -92956,13 +95223,13 @@ paths: application/json: schema: type: array - items: *183 + items: *203 examples: - default: *623 + default: *642 headers: Link: *41 '404': *6 - '410': *441 + '410': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92990,9 +95257,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 requestBody: required: true content: @@ -93019,16 +95286,16 @@ paths: description: Response content: application/json: - schema: *183 + schema: *203 examples: - default: *620 + default: *639 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *441 + '410': *460 '422': *15 '404': *6 x-github: @@ -93048,9 +95315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 requestBody: required: true content: @@ -93081,13 +95348,13 @@ paths: description: Response content: application/json: - schema: *183 + schema: *203 examples: - default: *620 + default: *639 '403': *27 '404': *6 '422': *7 - '503': *163 + '503': *184 x-github: triggersNotification: true githubCloudOnly: false @@ -93105,9 +95372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *430 - - *431 - - *621 + - *449 + - *450 + - *640 - *17 - *19 responses: @@ -93122,19 +95389,19 @@ paths: description: Timeline Event type: object anyOf: - - *625 - - *626 - - *627 - - *628 - - *629 - - *630 - - *631 - - *632 - - *633 - - *634 - - *635 - - *636 - - *637 + - *644 + - *645 + - *646 + - *647 + - *648 + - *649 + - *650 + - *651 + - *652 + - *653 + - *654 + - *655 + - *656 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93182,12 +95449,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *204 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *205 required: - event - actor @@ -93218,7 +95485,7 @@ paths: properties: type: type: string - issue: *183 + issue: *203 required: - event - created_at @@ -93440,7 +95707,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *204 required: - event - id @@ -93463,7 +95730,7 @@ paths: type: string comments: type: array - items: &656 + items: &677 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -93568,7 +95835,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *204 _links: type: object properties: @@ -93663,7 +95930,7 @@ paths: enum: - line - file - reactions: *185 + reactions: *205 body_html: type: string examples: @@ -93701,7 +95968,7 @@ paths: type: string comments: type: array - items: *544 + items: *563 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -93976,7 +96243,7 @@ paths: headers: Link: *41 '404': *6 - '410': *441 + '410': *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93993,8 +96260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -94004,7 +96271,7 @@ paths: application/json: schema: type: array - items: &638 + items: &657 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -94072,8 +96339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -94109,9 +96376,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *657 examples: - default: &639 + default: &658 value: id: 1 key: ssh-rsa AAA... @@ -94145,9 +96412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *430 - - *431 - - &640 + - *449 + - *450 + - &659 name: key_id description: The unique identifier of the key. in: path @@ -94159,9 +96426,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *657 examples: - default: *639 + default: *658 '404': *6 x-github: githubCloudOnly: false @@ -94179,9 +96446,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *430 - - *431 - - *640 + - *449 + - *450 + - *659 responses: '204': description: Response @@ -94201,8 +96468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -94212,9 +96479,9 @@ paths: application/json: schema: type: array - items: *182 + items: *202 examples: - default: *624 + default: *643 headers: Link: *41 '404': *6 @@ -94235,8 +96502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -94272,9 +96539,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *202 examples: - default: &641 + default: &660 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94306,8 +96573,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *430 - - *431 + - *449 + - *450 - name: name in: path required: true @@ -94318,9 +96585,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *202 examples: - default: *641 + default: *660 '404': *6 x-github: githubCloudOnly: false @@ -94337,8 +96604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *430 - - *431 + - *449 + - *450 - name: name in: path required: true @@ -94377,7 +96644,7 @@ paths: description: Response content: application/json: - schema: *182 + schema: *202 examples: default: value: @@ -94403,8 +96670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *430 - - *431 + - *449 + - *450 - name: name in: path required: true @@ -94430,8 +96697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -94467,8 +96734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '202': *37 '403': @@ -94496,8 +96763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response @@ -94523,9 +96790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *430 - - *431 - - *522 + - *449 + - *450 + - *541 responses: '200': description: Response @@ -94591,7 +96858,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *206 required: - _links - git_url @@ -94672,8 +96939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -94738,8 +97005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -94773,9 +97040,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *545 + schema: *564 examples: - default: *642 + default: *661 '204': description: Response when already merged '404': @@ -94800,8 +97067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *430 - - *431 + - *449 + - *450 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -94842,7 +97109,7 @@ paths: application/json: schema: type: array - items: *368 + items: *388 examples: default: value: @@ -94898,8 +97165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -94939,9 +97206,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *388 examples: - default: &643 + default: &662 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -95000,9 +97267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *430 - - *431 - - &644 + - *449 + - *450 + - &663 name: milestone_number description: The number that identifies the milestone. in: path @@ -95014,9 +97281,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *388 examples: - default: *643 + default: *662 '404': *6 x-github: githubCloudOnly: false @@ -95033,9 +97300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *430 - - *431 - - *644 + - *449 + - *450 + - *663 requestBody: required: false content: @@ -95073,9 +97340,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *388 examples: - default: *643 + default: *662 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95091,9 +97358,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *430 - - *431 - - *644 + - *449 + - *450 + - *663 responses: '204': description: Response @@ -95114,9 +97381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *430 - - *431 - - *644 + - *449 + - *450 + - *663 - *17 - *19 responses: @@ -95126,9 +97393,9 @@ paths: application/json: schema: type: array - items: *182 + items: *202 examples: - default: *624 + default: *643 headers: Link: *41 x-github: @@ -95147,12 +97414,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *430 - - *431 - - *645 - - *646 - - *189 - - *647 + - *449 + - *450 + - *664 + - *665 + - *209 + - *666 - *17 - *19 responses: @@ -95162,9 +97429,9 @@ paths: application/json: schema: type: array - items: *209 + items: *229 examples: - default: *648 + default: *667 headers: Link: *41 x-github: @@ -95188,8 +97455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: false content: @@ -95247,14 +97514,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: &649 + schema: &668 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95398,7 +97665,7 @@ paths: - custom_404 - public examples: - default: &650 + default: &669 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95439,8 +97706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -95495,11 +97762,11 @@ paths: description: Response content: application/json: - schema: *649 + schema: *668 examples: - default: *650 + default: *669 '422': *15 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95520,8 +97787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -95608,7 +97875,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95629,14 +97896,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response '422': *15 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95656,8 +97923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -95667,7 +97934,7 @@ paths: application/json: schema: type: array - items: &651 + items: &670 title: Page Build description: Page Build type: object @@ -95759,8 +98026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *430 - - *431 + - *449 + - *450 responses: '201': description: Response @@ -95807,16 +98074,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: *651 + schema: *670 examples: - default: &652 + default: &671 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -95864,8 +98131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *430 - - *431 + - *449 + - *450 - name: build_id in: path required: true @@ -95876,9 +98143,9 @@ paths: description: Response content: application/json: - schema: *651 + schema: *670 examples: - default: *652 + default: *671 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95898,8 +98165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -96007,9 +98274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *430 - - *431 - - &653 + - *449 + - *450 + - &672 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -96067,11 +98334,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *430 - - *431 - - *653 + - *449 + - *450 + - *672 responses: - '204': *129 + '204': *144 '404': *6 x-github: githubCloudOnly: false @@ -96096,8 +98363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -96365,7 +98632,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -96392,8 +98659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Private vulnerability reporting status @@ -96430,10 +98697,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: - '204': *129 + '204': *144 '422': *14 x-github: githubCloudOnly: false @@ -96452,10 +98719,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: - '204': *129 + '204': *144 '422': *14 x-github: githubCloudOnly: false @@ -96476,8 +98743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *430 - - *431 + - *449 + - *450 - name: state description: Indicates the state of the projects to return. in: query @@ -96498,7 +98765,7 @@ paths: application/json: schema: type: array - items: *362 + items: *382 examples: default: value: @@ -96538,7 +98805,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *460 '422': *7 x-github: githubCloudOnly: false @@ -96561,8 +98828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -96588,13 +98855,13 @@ paths: description: Response content: application/json: - schema: *362 + schema: *382 examples: - default: *440 + default: *459 '401': *23 '403': *27 '404': *6 - '410': *441 + '410': *460 '422': *7 x-github: githubCloudOnly: false @@ -96617,8 +98884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -96626,16 +98893,9 @@ paths: application/json: schema: type: array - items: *376 + items: *145 examples: - default: - value: - - property_name: environment - value: production - - property_name: service - value: web - - property_name: team - value: octocat + default: *673 '403': *27 '404': *6 x-github: @@ -96657,8 +98917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -96670,19 +98930,11 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *376 + items: *145 required: - properties examples: - default: - value: - properties: - - property_name: environment - value: production - - property_name: service - value: web - - property_name: team - value: octocat + default: *674 responses: '204': description: No Content when custom property values are successfully created @@ -96720,8 +98972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *430 - - *431 + - *449 + - *450 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96781,9 +99033,9 @@ paths: application/json: schema: type: array - items: *549 + items: *568 examples: - default: *654 + default: *675 headers: Link: *41 '304': *35 @@ -96815,8 +99067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -96883,7 +99135,7 @@ paths: description: Response content: application/json: - schema: &658 + schema: &679 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97012,7 +99264,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *388 active_lock_reason: type: - string @@ -97067,7 +99319,7 @@ paths: type: - array - 'null' - items: *344 + items: *364 head: type: object properties: @@ -97075,7 +99327,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *72 sha: type: string user: *4 @@ -97092,7 +99344,7 @@ paths: type: string ref: type: string - repo: *67 + repo: *72 sha: type: string user: *4 @@ -97105,14 +99357,14 @@ paths: _links: type: object properties: - comments: *369 - commits: *369 - statuses: *369 - html: *369 - issue: *369 - review_comments: *369 - review_comment: *369 - self: *369 + comments: *389 + commits: *389 + statuses: *389 + html: *389 + issue: *389 + review_comments: *389 + review_comment: *389 + self: *389 required: - comments - commits @@ -97122,8 +99374,8 @@ paths: - review_comments - review_comment - self - author_association: *184 - auto_merge: *655 + author_association: *204 + auto_merge: *676 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -97225,7 +99477,7 @@ paths: - merged_by - review_comments examples: - default: &659 + default: &680 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97752,8 +100004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *430 - - *431 + - *449 + - *450 - name: sort in: query required: false @@ -97772,7 +100024,7 @@ paths: enum: - asc - desc - - *189 + - *209 - *17 - *19 responses: @@ -97782,9 +100034,9 @@ paths: application/json: schema: type: array - items: *656 + items: *677 examples: - default: &661 + default: &682 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97861,17 +100113,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 responses: '200': description: Response content: application/json: - schema: *656 + schema: *677 examples: - default: &657 + default: &678 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97946,9 +100198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 requestBody: required: true content: @@ -97970,9 +100222,9 @@ paths: description: Response content: application/json: - schema: *656 + schema: *677 examples: - default: *657 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97988,9 +100240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 responses: '204': description: Response @@ -98011,9 +100263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -98039,9 +100291,9 @@ paths: application/json: schema: type: array - items: *419 + items: *438 examples: - default: *421 + default: *440 headers: Link: *41 '404': *6 @@ -98062,9 +100314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *430 - - *431 - - *198 + - *449 + - *450 + - *218 requestBody: required: true content: @@ -98096,16 +100348,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 '201': description: Reaction created content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -98127,10 +100379,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *430 - - *431 - - *198 - - *422 + - *449 + - *450 + - *218 + - *441 responses: '204': description: Response @@ -98173,9 +100425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *430 - - *431 - - &660 + - *449 + - *450 + - &681 name: pull_number description: The number that identifies the pull request. in: path @@ -98188,9 +100440,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *658 + schema: *679 examples: - default: *659 + default: *680 '304': *35 '404': *6 '406': @@ -98199,7 +100451,7 @@ paths: application/json: schema: *3 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98225,9 +100477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *430 - - *431 - - *660 + - *449 + - *450 + - *681 requestBody: required: false content: @@ -98269,9 +100521,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *679 examples: - default: *659 + default: *680 '422': *15 '403': *27 x-github: @@ -98293,9 +100545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *430 - - *431 - - *660 + - *449 + - *450 + - *681 requestBody: required: true content: @@ -98356,21 +100608,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *356 examples: - default: *536 + default: *555 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *356 examples: - default: *536 + default: *555 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98396,10 +100648,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *430 - - *431 - - *660 - - *206 + - *449 + - *450 + - *681 + - *226 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -98409,7 +100661,7 @@ paths: enum: - asc - desc - - *189 + - *209 - *17 - *19 responses: @@ -98419,9 +100671,9 @@ paths: application/json: schema: type: array - items: *656 + items: *677 examples: - default: *661 + default: *682 headers: Link: *41 x-github: @@ -98454,9 +100706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *430 - - *431 - - *660 + - *449 + - *450 + - *681 requestBody: required: true content: @@ -98562,7 +100814,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *677 examples: example-for-a-multi-line-comment: value: @@ -98650,10 +100902,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *430 - - *431 - - *660 - - *198 + - *449 + - *450 + - *681 + - *218 requestBody: required: true content: @@ -98675,7 +100927,7 @@ paths: description: Response content: application/json: - schema: *656 + schema: *677 examples: default: value: @@ -98761,9 +101013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *430 - - *431 - - *660 + - *449 + - *450 + - *681 - *17 - *19 responses: @@ -98773,9 +101025,9 @@ paths: application/json: schema: type: array - items: *545 + items: *564 examples: - default: *662 + default: *683 headers: Link: *41 x-github: @@ -98805,9 +101057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *430 - - *431 - - *660 + - *449 + - *450 + - *681 - *17 - *19 responses: @@ -98817,7 +101069,7 @@ paths: application/json: schema: type: array - items: *556 + items: *575 examples: default: value: @@ -98836,7 +101088,7 @@ paths: Link: *41 '422': *15 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98855,9 +101107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *430 - - *431 - - *660 + - *449 + - *450 + - *681 responses: '204': description: Response if pull request has been merged @@ -98880,9 +101132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *430 - - *431 - - *660 + - *449 + - *450 + - *681 requestBody: required: false content: @@ -98994,9 +101246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *430 - - *431 - - *660 + - *449 + - *450 + - *681 responses: '200': description: Response @@ -99012,7 +101264,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *296 required: - users - teams @@ -99071,9 +101323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *430 - - *431 - - *660 + - *449 + - *450 + - *681 requestBody: required: false content: @@ -99110,7 +101362,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *568 examples: default: value: @@ -99646,9 +101898,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *430 - - *431 - - *660 + - *449 + - *450 + - *681 requestBody: required: true content: @@ -99682,7 +101934,7 @@ paths: description: Response content: application/json: - schema: *549 + schema: *568 examples: default: value: @@ -100187,9 +102439,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *430 - - *431 - - *660 + - *449 + - *450 + - *681 - *17 - *19 responses: @@ -100199,7 +102451,7 @@ paths: application/json: schema: type: array - items: &663 + items: &684 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100273,7 +102525,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *204 required: - id - node_id @@ -100355,9 +102607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *430 - - *431 - - *660 + - *449 + - *450 + - *681 requestBody: required: false content: @@ -100447,9 +102699,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *684 examples: - default: &665 + default: &686 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100512,10 +102764,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *430 - - *431 - - *660 - - &664 + - *449 + - *450 + - *681 + - &685 name: review_id description: The unique identifier of the review. in: path @@ -100527,9 +102779,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *684 examples: - default: &666 + default: &687 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100588,10 +102840,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *430 - - *431 - - *660 - - *664 + - *449 + - *450 + - *681 + - *685 requestBody: required: true content: @@ -100614,7 +102866,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *684 examples: default: value: @@ -100676,18 +102928,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *430 - - *431 - - *660 - - *664 + - *449 + - *450 + - *681 + - *685 responses: '200': description: Response content: application/json: - schema: *663 + schema: *684 examples: - default: *665 + default: *686 '422': *7 '404': *6 x-github: @@ -100714,10 +102966,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *430 - - *431 - - *660 - - *664 + - *449 + - *450 + - *681 + - *685 - *17 - *19 responses: @@ -100811,13 +103063,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *204 _links: type: object properties: - self: *369 - html: *369 - pull_request: *369 + self: *389 + html: *389 + pull_request: *389 required: - self - html @@ -100826,7 +103078,7 @@ paths: type: string body_html: type: string - reactions: *185 + reactions: *205 side: description: The side of the first line of the range for a multi-line comment. @@ -100975,10 +103227,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *430 - - *431 - - *660 - - *664 + - *449 + - *450 + - *681 + - *685 requestBody: required: true content: @@ -101007,7 +103259,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *684 examples: default: value: @@ -101070,10 +103322,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *430 - - *431 - - *660 - - *664 + - *449 + - *450 + - *681 + - *685 requestBody: required: true content: @@ -101108,9 +103360,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *684 examples: - default: *666 + default: *687 '404': *6 '422': *7 '403': *27 @@ -101132,9 +103384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *430 - - *431 - - *660 + - *449 + - *450 + - *681 requestBody: required: false content: @@ -101198,8 +103450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *430 - - *431 + - *449 + - *450 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -101212,9 +103464,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *688 examples: - default: &668 + default: &689 value: type: file encoding: base64 @@ -101256,8 +103508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *430 - - *431 + - *449 + - *450 - name: dir description: The alternate path to look for a README file in: path @@ -101277,9 +103529,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *688 examples: - default: *668 + default: *689 '404': *6 '422': *15 x-github: @@ -101301,8 +103553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -101312,7 +103564,7 @@ paths: application/json: schema: type: array - items: *669 + items: *690 examples: default: value: @@ -101406,8 +103658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -101483,9 +103735,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *690 examples: - default: &673 + default: &694 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101590,9 +103842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *430 - - *431 - - &671 + - *449 + - *450 + - &692 name: asset_id description: The unique identifier of the asset. in: path @@ -101604,9 +103856,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *691 examples: - default: &672 + default: &693 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -101641,7 +103893,7 @@ paths: type: User site_admin: false '404': *6 - '302': *558 + '302': *577 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101657,9 +103909,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *430 - - *431 - - *671 + - *449 + - *450 + - *692 requestBody: required: false content: @@ -101688,9 +103940,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *691 examples: - default: *672 + default: *693 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101706,9 +103958,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *430 - - *431 - - *671 + - *449 + - *450 + - *692 responses: '204': description: Response @@ -101732,8 +103984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -101819,16 +104071,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response content: application/json: - schema: *669 + schema: *690 examples: - default: *673 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101845,8 +104097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *430 - - *431 + - *449 + - *450 - name: tag description: tag parameter in: path @@ -101859,9 +104111,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *690 examples: - default: *673 + default: *694 '404': *6 x-github: githubCloudOnly: false @@ -101883,9 +104135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *430 - - *431 - - &674 + - *449 + - *450 + - &695 name: release_id description: The unique identifier of the release. in: path @@ -101899,9 +104151,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *669 + schema: *690 examples: - default: *673 + default: *694 '401': description: Unauthorized x-github: @@ -101919,9 +104171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *430 - - *431 - - *674 + - *449 + - *450 + - *695 requestBody: required: false content: @@ -101985,9 +104237,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *690 examples: - default: *673 + default: *694 '404': description: Not Found if the discussion category name is invalid content: @@ -102008,9 +104260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *430 - - *431 - - *674 + - *449 + - *450 + - *695 responses: '204': description: Response @@ -102030,9 +104282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *430 - - *431 - - *674 + - *449 + - *450 + - *695 - *17 - *19 responses: @@ -102042,7 +104294,7 @@ paths: application/json: schema: type: array - items: *670 + items: *691 examples: default: value: @@ -102124,9 +104376,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *430 - - *431 - - *674 + - *449 + - *450 + - *695 - name: name in: query required: true @@ -102152,7 +104404,7 @@ paths: description: Response for successful upload content: application/json: - schema: *670 + schema: *691 examples: response-for-successful-upload: value: @@ -102207,9 +104459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *430 - - *431 - - *674 + - *449 + - *450 + - *695 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -102233,9 +104485,9 @@ paths: application/json: schema: type: array - items: *419 + items: *438 examples: - default: *421 + default: *440 headers: Link: *41 '404': *6 @@ -102256,9 +104508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *430 - - *431 - - *674 + - *449 + - *450 + - *695 requestBody: required: true content: @@ -102288,16 +104540,16 @@ paths: description: Reaction exists content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 '201': description: Reaction created content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 '422': *15 x-github: githubCloudOnly: false @@ -102319,10 +104571,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *430 - - *431 - - *674 - - *422 + - *449 + - *450 + - *695 + - *441 responses: '204': description: Response @@ -102346,9 +104598,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *430 - - *431 - - *489 + - *449 + - *450 + - *508 - *17 - *19 responses: @@ -102364,8 +104616,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *138 - - &675 + - *159 + - &696 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102385,68 +104637,68 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *139 - - *675 + - *160 + - *696 - allOf: - - *140 - - *675 + - *161 + - *696 - allOf: - - *141 - - *675 + - *162 + - *696 - allOf: - - *676 - - *675 + - *697 + - *696 - allOf: - - *142 - - *675 + - *163 + - *696 - allOf: - - *143 - - *675 + - *164 + - *696 - allOf: - - *144 - - *675 + - *165 + - *696 - allOf: - - *145 - - *675 + - *166 + - *696 - allOf: - - *146 - - *675 + - *167 + - *696 - allOf: - - *147 - - *675 + - *168 + - *696 - allOf: - - *148 - - *675 + - *169 + - *696 - allOf: - - *149 - - *675 + - *170 + - *696 - allOf: - - *150 - - *675 + - *171 + - *696 - allOf: - - *151 - - *675 + - *172 + - *696 - allOf: - - *152 - - *675 + - *173 + - *696 - allOf: - - *153 - - *675 + - *174 + - *696 - allOf: - - *154 - - *675 + - *175 + - *696 - allOf: - - *155 - - *675 + - *176 + - *696 - allOf: - - *156 - - *675 + - *177 + - *696 - allOf: - - *157 - - *675 + - *178 + - *696 - allOf: - - *677 - - *675 + - *698 + - *696 examples: default: value: @@ -102485,8 +104737,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 - name: includes_parents @@ -102497,7 +104749,7 @@ paths: schema: type: boolean default: true - - *678 + - *699 responses: '200': description: Response @@ -102505,7 +104757,7 @@ paths: application/json: schema: type: array - items: *158 + items: *179 examples: default: value: @@ -102552,8 +104804,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *449 + - *450 requestBody: description: Request body required: true @@ -102573,16 +104825,16 @@ paths: - tag - push default: branch - enforcement: *136 + enforcement: *157 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *132 + items: *158 + conditions: *151 rules: type: array description: An array of rules within the ruleset. - items: *679 + items: *700 required: - name - enforcement @@ -102613,9 +104865,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *179 examples: - default: &688 + default: &709 value: id: 42 name: super cool ruleset @@ -102662,12 +104914,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *430 - - *431 - - *680 - - *94 - - *681 - - *682 + - *449 + - *450 + - *701 + - *99 + - *702 + - *703 - *17 - *19 responses: @@ -102675,9 +104927,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *704 examples: - default: *684 + default: *705 '404': *6 '500': *38 x-github: @@ -102698,17 +104950,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *430 - - *431 - - *685 + - *449 + - *450 + - *706 responses: '200': description: Response content: application/json: - schema: *686 + schema: *707 examples: - default: *687 + default: *708 '404': *6 '500': *38 x-github: @@ -102736,8 +104988,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *449 + - *450 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102757,9 +105009,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *179 examples: - default: *688 + default: *709 '404': *6 '500': *38 put: @@ -102777,8 +105029,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *449 + - *450 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102803,16 +105055,16 @@ paths: - branch - tag - push - enforcement: *136 + enforcement: *157 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *137 - conditions: *132 + items: *158 + conditions: *151 rules: description: An array of rules within the ruleset. type: array - items: *679 + items: *700 examples: default: value: @@ -102840,9 +105092,9 @@ paths: description: Response content: application/json: - schema: *158 + schema: *179 examples: - default: *688 + default: *709 '404': *6 '500': *38 delete: @@ -102860,8 +105112,8 @@ paths: category: repos subcategory: rules parameters: - - *430 - - *431 + - *449 + - *450 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102884,8 +105136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 - name: ruleset_id @@ -102901,9 +105153,9 @@ paths: application/json: schema: type: array - items: *162 + items: *183 examples: - default: *383 + default: *402 '404': *6 '500': *38 x-github: @@ -102922,8 +105174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *430 - - *431 + - *449 + - *450 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102941,7 +105193,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *403 examples: default: value: @@ -102996,21 +105248,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *430 - - *431 - - *385 - - *386 - - *387 - - *388 - - *99 + - *449 + - *450 + - *404 + - *405 + - *406 + - *407 + - *104 - *19 - *17 - - *689 - - *690 - - *389 - - *390 - - *391 - - *392 + - *710 + - *711 + - *408 + - *409 + - *410 + - *411 responses: '200': description: Response @@ -103018,24 +105270,24 @@ paths: application/json: schema: type: array - items: &694 + items: &715 type: object properties: - number: *109 - created_at: *116 + number: *119 + created_at: *126 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *127 + url: *124 + html_url: *125 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *691 - resolution: *692 + state: *712 + resolution: *713 resolved_at: type: - string @@ -103129,7 +105381,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *693 + - *714 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -103252,7 +105504,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103274,16 +105526,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *430 - - *431 - - *516 - - *392 + - *449 + - *450 + - *535 + - *411 responses: '200': description: Response content: application/json: - schema: *694 + schema: *715 examples: default: value: @@ -103314,7 +105566,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103335,9 +105587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *430 - - *431 - - *516 + - *449 + - *450 + - *535 requestBody: required: true content: @@ -103345,8 +105597,8 @@ paths: schema: type: object properties: - state: *691 - resolution: *692 + state: *712 + resolution: *713 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103365,7 +105617,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *715 examples: default: value: @@ -103418,7 +105670,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *163 + '503': *184 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103440,9 +105692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *430 - - *431 - - *516 + - *449 + - *450 + - *535 - *19 - *17 responses: @@ -103453,7 +105705,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &869 + items: &889 type: object properties: type: @@ -103480,19 +105732,19 @@ paths: - commit details: oneOf: - - *695 - - *696 - - *697 - - *698 - - *699 - - *700 - - *701 - - *702 - - *703 - - *704 - - *705 - - *706 - - *707 + - *716 + - *717 + - *718 + - *719 + - *720 + - *721 + - *722 + - *723 + - *724 + - *725 + - *726 + - *727 + - *728 examples: default: value: @@ -103556,7 +105808,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103578,8 +105830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -103587,14 +105839,14 @@ paths: schema: type: object properties: - reason: &709 + reason: &730 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *708 + placeholder_id: *729 required: - reason - placeholder_id @@ -103611,7 +105863,7 @@ paths: schema: type: object properties: - reason: *709 + reason: *730 expire_at: type: - string @@ -103635,7 +105887,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *163 + '503': *184 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -103647,6 +105899,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -103655,13 +105910,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *163 + '503': *184 '200': description: Response content: @@ -103671,7 +105926,7 @@ paths: properties: incremental_scans: type: array - items: &710 + items: &731 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103699,15 +105954,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *710 + items: *731 backfill_scans: type: array - items: *710 + items: *731 custom_pattern_backfill_scans: type: array items: allOf: - - *710 + - *731 - type: object properties: pattern_name: @@ -103777,9 +106032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *430 - - *431 - - *99 + - *449 + - *450 + - *104 - name: sort description: The property to sort the results by. in: query @@ -103791,8 +106046,8 @@ paths: - updated - published default: created - - *97 - - *98 + - *102 + - *103 - name: per_page description: The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -103822,9 +106077,9 @@ paths: application/json: schema: type: array - items: *711 + items: *732 examples: - default: *712 + default: *733 '400': *14 '404': *6 x-github: @@ -103847,8 +106102,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -103928,7 +106183,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *416 required: - login - type @@ -104018,9 +106273,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *732 examples: - default: &714 + default: &735 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104253,8 +106508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -104367,7 +106622,7 @@ paths: description: Response content: application/json: - schema: *711 + schema: *732 examples: default: value: @@ -104514,17 +106769,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *430 - - *431 - - *713 + - *449 + - *450 + - *734 responses: '200': description: Response content: application/json: - schema: *711 + schema: *732 examples: - default: *714 + default: *735 '403': *27 '404': *6 x-github: @@ -104548,9 +106803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *430 - - *431 - - *713 + - *449 + - *450 + - *734 requestBody: required: true content: @@ -104630,7 +106885,7 @@ paths: login: type: string description: The username of the user credited. - type: *397 + type: *416 required: - login - type @@ -104721,17 +106976,17 @@ paths: description: Response content: application/json: - schema: *711 + schema: *732 examples: - default: *714 - add_credit: *714 + default: *735 + add_credit: *735 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *223 + schema: *244 examples: invalid_state_transition: value: @@ -104762,9 +107017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *430 - - *431 - - *713 + - *449 + - *450 + - *734 responses: '202': *37 '400': *14 @@ -104791,17 +107046,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *430 - - *431 - - *713 + - *449 + - *450 + - *734 responses: '202': description: Response content: application/json: - schema: *443 + schema: *462 examples: - default: *445 + default: *464 '400': *14 '422': *15 '403': *27 @@ -104827,8 +107082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -104924,8 +107179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -104934,7 +107189,7 @@ paths: application/json: schema: type: array - items: &715 + items: &736 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -104947,7 +107202,7 @@ paths: - 1124 - -435 '202': *37 - '204': *129 + '204': *144 '422': description: Repository contains more than 10,000 commits x-github: @@ -104967,8 +107222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -105019,7 +107274,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *129 + '204': *144 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105046,8 +107301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -105119,7 +107374,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *129 + '204': *144 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105141,8 +107396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -105296,8 +107551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -105307,7 +107562,7 @@ paths: application/json: schema: type: array - items: *715 + items: *736 examples: default: value: @@ -105320,7 +107575,7 @@ paths: - - 0 - 2 - 21 - '204': *129 + '204': *144 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105340,8 +107595,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *430 - - *431 + - *449 + - *450 - name: sha in: path required: true @@ -105397,7 +107652,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *737 examples: default: value: @@ -105451,8 +107706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -105464,7 +107719,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 headers: Link: *41 x-github: @@ -105484,14 +107739,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &717 + schema: &738 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105564,8 +107819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: false content: @@ -105591,7 +107846,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *738 examples: default: value: @@ -105618,8 +107873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response @@ -105639,8 +107894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -105722,8 +107977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -105731,7 +107986,7 @@ paths: application/json: schema: type: array - items: &718 + items: &739 title: Tag protection description: Tag protection type: object @@ -105788,8 +108043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -105812,7 +108067,7 @@ paths: description: Response content: application/json: - schema: *718 + schema: *739 examples: default: value: @@ -105843,8 +108098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -105881,8 +108136,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *430 - - *431 + - *449 + - *450 - name: ref in: path required: true @@ -105918,8 +108173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *430 - - *431 + - *449 + - *450 - *17 - *19 responses: @@ -105929,9 +108184,9 @@ paths: application/json: schema: type: array - items: *273 + items: *296 examples: - default: *345 + default: *365 headers: Link: *41 '404': *6 @@ -105951,8 +108206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *430 - - *431 + - *449 + - *450 - *19 - *17 responses: @@ -105960,7 +108215,7 @@ paths: description: Response content: application/json: - schema: &719 + schema: &740 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -105972,7 +108227,7 @@ paths: required: - names examples: - default: &720 + default: &741 value: names: - octocat @@ -105995,8 +108250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -106027,9 +108282,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *740 examples: - default: *720 + default: *741 '404': *6 '422': *7 x-github: @@ -106050,9 +108305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *430 - - *431 - - &721 + - *449 + - *450 + - &742 name: per description: The time frame to display results for. in: query @@ -106083,7 +108338,7 @@ paths: - 128 clones: type: array - items: &722 + items: &743 title: Traffic type: object properties: @@ -106170,8 +108425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -106265,8 +108520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *430 - - *431 + - *449 + - *450 responses: '200': description: Response @@ -106329,9 +108584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *430 - - *431 - - *721 + - *449 + - *450 + - *742 responses: '200': description: Response @@ -106352,7 +108607,7 @@ paths: - 3782 views: type: array - items: *722 + items: *743 required: - uniques - count @@ -106429,8 +108684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *430 - - *431 + - *449 + - *450 requestBody: required: true content: @@ -106466,7 +108721,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *269 examples: default: value: @@ -106704,8 +108959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106728,8 +108983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response @@ -106751,8 +109006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response @@ -106778,8 +109033,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *430 - - *431 + - *449 + - *450 - name: ref in: path required: true @@ -106871,9 +109126,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *462 examples: - default: *445 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106914,7 +109169,7 @@ paths: application/json: schema: type: array - items: *246 + items: *269 examples: default: value: @@ -107024,7 +109279,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &730 + - &751 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -107034,7 +109289,7 @@ paths: type: string examples: - members - - &735 + - &756 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -107046,7 +109301,7 @@ paths: format: int32 examples: - 1 - - &736 + - &757 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -107090,7 +109345,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &725 + items: &746 allOf: - type: object required: @@ -107172,7 +109427,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &737 + meta: &758 type: object description: The metadata associated with the creation/updates to the user. @@ -107237,30 +109492,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &726 + '400': &747 description: Bad request content: application/json: - schema: *723 + schema: *744 application/scim+json: - schema: *723 - '401': *724 - '403': &727 + schema: *744 + '401': *745 + '403': &748 description: Permission denied - '429': &728 + '429': &749 description: Too many requests content: application/json: - schema: *723 + schema: *744 application/scim+json: - schema: *723 - '500': &729 + schema: *744 + '500': &750 description: Internal server error content: application/json: - schema: *723 + schema: *744 application/scim+json: - schema: *723 + schema: *744 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107284,7 +109539,7 @@ paths: required: true content: application/json: - schema: &733 + schema: &754 type: object required: - schemas @@ -107348,9 +109603,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *725 + schema: *746 examples: - group: &731 + group: &752 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -107369,13 +109624,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *726 - '401': *724 - '403': *727 - '409': &734 + '400': *747 + '401': *745 + '403': *748 + '409': &755 description: Duplicate record detected - '429': *728 - '500': *729 + '429': *749 + '500': *750 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107392,7 +109647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &732 + - &753 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -107401,22 +109656,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *730 + - *751 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *725 + schema: *746 examples: - default: *731 - '400': *726 - '401': *724 - '403': *727 + default: *752 + '400': *747 + '401': *745 + '403': *748 '404': *6 - '429': *728 - '500': *729 + '429': *749 + '500': *750 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107435,13 +109690,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *732 + - *753 - *39 requestBody: required: true content: application/json: - schema: *733 + schema: *754 examples: group: summary: Group @@ -107467,17 +109722,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *725 + schema: *746 examples: - group: *731 - groupWithMembers: *731 - '400': *726 - '401': *724 - '403': *727 + group: *752 + groupWithMembers: *752 + '400': *747 + '401': *745 + '403': *748 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *755 + '429': *749 + '500': *750 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107501,13 +109756,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *732 + - *753 - *39 requestBody: required: true content: application/json: - schema: &744 + schema: &765 type: object required: - Operations @@ -107567,17 +109822,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *725 + schema: *746 examples: - updateGroup: *731 - addMembers: *731 - '400': *726 - '401': *724 - '403': *727 + updateGroup: *752 + addMembers: *752 + '400': *747 + '401': *745 + '403': *748 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *755 + '429': *749 + '500': *750 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107593,17 +109848,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *732 + - *753 - *39 responses: '204': description: Group was deleted, no content - '400': *726 - '401': *724 - '403': *727 + '400': *747 + '401': *745 + '403': *748 '404': *6 - '429': *728 - '500': *729 + '429': *749 + '500': *750 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107637,8 +109892,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *735 - - *736 + - *756 + - *757 - *39 responses: '200': @@ -107672,7 +109927,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &739 + items: &760 allOf: - type: object required: @@ -107764,7 +110019,7 @@ paths: address. examples: - true - roles: &738 + roles: &759 type: array description: The roles assigned to the user. items: @@ -107823,7 +110078,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *737 + meta: *758 startIndex: type: integer description: A starting index for the returned page @@ -107862,11 +110117,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *726 - '401': *724 - '403': *727 - '429': *728 - '500': *729 + '400': *747 + '401': *745 + '403': *748 + '429': *749 + '500': *750 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107890,7 +110145,7 @@ paths: required: true content: application/json: - schema: &742 + schema: &763 type: object required: - schemas @@ -107983,9 +110238,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *738 + roles: *759 examples: - user: &743 + user: &764 summary: User value: schemas: @@ -108032,9 +110287,9 @@ paths: description: User has been created content: application/scim+json: - schema: *739 + schema: *760 examples: - user: &740 + user: &761 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108060,13 +110315,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *740 - '400': *726 - '401': *724 - '403': *727 - '409': *734 - '429': *728 - '500': *729 + enterpriseOwner: *761 + '400': *747 + '401': *745 + '403': *748 + '409': *755 + '429': *749 + '500': *750 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108083,7 +110338,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &741 + - &762 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -108096,15 +110351,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *739 + schema: *760 examples: - default: *740 - '400': *726 - '401': *724 - '403': *727 + default: *761 + '400': *747 + '401': *745 + '403': *748 '404': *6 - '429': *728 - '500': *729 + '429': *749 + '500': *750 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108126,30 +110381,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *741 + - *762 - *39 requestBody: required: true content: application/json: - schema: *742 + schema: *763 examples: - user: *743 + user: *764 responses: '200': description: User was updated content: application/scim+json: - schema: *739 + schema: *760 examples: - user: *740 - '400': *726 - '401': *724 - '403': *727 + user: *761 + '400': *747 + '401': *745 + '403': *748 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *755 + '429': *749 + '500': *750 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108184,13 +110439,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *741 + - *762 - *39 requestBody: required: true content: application/json: - schema: *744 + schema: *765 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -108230,18 +110485,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *739 + schema: *760 examples: - userMultiValuedProperties: *740 - userSingleValuedProperties: *740 - disableUser: *740 - '400': *726 - '401': *724 - '403': *727 + userMultiValuedProperties: *761 + userSingleValuedProperties: *761 + disableUser: *761 + '400': *747 + '401': *745 + '403': *748 '404': *6 - '409': *734 - '429': *728 - '500': *729 + '409': *755 + '429': *749 + '500': *750 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108261,17 +110516,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *741 + - *762 - *39 responses: '204': description: User was deleted, no content - '400': *726 - '401': *724 - '403': *727 + '400': *747 + '401': *745 + '403': *748 '404': *6 - '429': *728 - '500': *729 + '429': *749 + '500': *750 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108304,7 +110559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *76 + - *81 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -108362,7 +110617,7 @@ paths: - 1 Resources: type: array - items: &745 + items: &766 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108609,22 +110864,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &746 + '404': &767 description: Resource not found content: application/json: - schema: *723 + schema: *744 application/scim+json: - schema: *723 - '403': &747 + schema: *744 + '403': &768 description: Forbidden content: application/json: - schema: *723 + schema: *744 application/scim+json: - schema: *723 - '400': *726 - '429': *728 + schema: *744 + '400': *747 + '429': *749 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108644,15 +110899,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *76 + - *81 responses: '201': description: Response content: application/scim+json: - schema: *745 + schema: *766 examples: - default: &748 + default: &769 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108675,17 +110930,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *746 - '403': *747 - '500': *729 + '404': *767 + '403': *768 + '500': *750 '409': description: Conflict content: application/json: - schema: *723 + schema: *744 application/scim+json: - schema: *723 - '400': *726 + schema: *744 + '400': *747 requestBody: required: true content: @@ -108784,18 +111039,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *76 - - *741 + - *81 + - *762 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *766 examples: - default: *748 - '404': *746 - '403': *747 + default: *769 + '404': *767 + '403': *768 '304': *35 x-github: githubCloudOnly: true @@ -108818,19 +111073,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *76 - - *741 + - *81 + - *762 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *766 examples: - default: *748 + default: *769 '304': *35 - '404': *746 - '403': *747 + '404': *767 + '403': *768 requestBody: required: true content: @@ -108944,20 +111199,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *76 - - *741 + - *81 + - *762 responses: '200': description: Response content: application/scim+json: - schema: *745 + schema: *766 examples: - default: *748 + default: *769 '304': *35 - '404': *746 - '403': *747 - '400': *726 + '404': *767 + '403': *768 + '400': *747 '429': description: Response content: @@ -109052,13 +111307,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *76 - - *741 + - *81 + - *762 responses: '204': description: Response - '404': *746 - '403': *747 + '404': *767 + '403': *768 '304': *35 x-github: githubCloudOnly: true @@ -109173,7 +111428,7 @@ paths: html_url: type: string format: uri - repository: *246 + repository: *269 score: type: number file_size: @@ -109192,7 +111447,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &749 + text_matches: &770 title: Search Result Text Matches type: array items: @@ -109307,7 +111562,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *163 + '503': *184 '422': *15 '403': *27 x-github: @@ -109356,7 +111611,7 @@ paths: enum: - author-date - committer-date - - &750 + - &771 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -109425,7 +111680,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *506 comment_count: type: integer message: @@ -109444,7 +111699,7 @@ paths: url: type: string format: uri - verification: *603 + verification: *622 required: - author - committer @@ -109459,7 +111714,7 @@ paths: committer: anyOf: - type: 'null' - - *487 + - *506 parents: type: array items: @@ -109471,12 +111726,12 @@ paths: type: string sha: type: string - repository: *246 + repository: *269 score: type: number node_id: type: string - text_matches: *749 + text_matches: *770 required: - sha - node_id @@ -109669,7 +111924,7 @@ paths: - interactions - created - updated - - *750 + - *771 - *17 - *19 - name: advanced_search @@ -109766,11 +112021,11 @@ paths: type: - string - 'null' - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: type: string state_reason: @@ -109784,7 +112039,7 @@ paths: milestone: anyOf: - type: 'null' - - *368 + - *388 comments: type: integer created_at: @@ -109798,7 +112053,7 @@ paths: - string - 'null' format: date-time - text_matches: *749 + text_matches: *770 pull_request: type: object properties: @@ -109836,10 +112091,10 @@ paths: type: string score: type: number - author_association: *184 + author_association: *204 draft: type: boolean - repository: *67 + repository: *72 body_html: type: string body_text: @@ -109847,12 +112102,12 @@ paths: timeline_url: type: string format: uri - type: *331 + type: *351 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *205 required: - assignee - closed_at @@ -109968,7 +112223,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *163 + '503': *184 '422': *15 '304': *35 '403': *27 @@ -110021,7 +112276,7 @@ paths: enum: - created - updated - - *750 + - *771 - *17 - *19 responses: @@ -110066,7 +112321,7 @@ paths: - 'null' score: type: number - text_matches: *749 + text_matches: *770 required: - id - node_id @@ -110152,7 +112407,7 @@ paths: - forks - help-wanted-issues - updated - - *750 + - *771 - *17 - *19 responses: @@ -110371,7 +112626,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *206 permissions: type: object properties: @@ -110389,7 +112644,7 @@ paths: - admin - pull - push - text_matches: *749 + text_matches: *770 temp_clone_token: type: string allow_merge_commit: @@ -110592,7 +112847,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *163 + '503': *184 '422': *15 '304': *35 x-github: @@ -110698,7 +112953,7 @@ paths: - string - 'null' format: uri - text_matches: *749 + text_matches: *770 related: type: - array @@ -110893,7 +113148,7 @@ paths: - followers - repositories - joined - - *750 + - *771 - *17 - *19 responses: @@ -111003,7 +113258,7 @@ paths: type: - boolean - 'null' - text_matches: *749 + text_matches: *770 blog: type: - string @@ -111065,7 +113320,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *163 + '503': *184 '422': *15 x-github: githubCloudOnly: false @@ -111085,7 +113340,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &754 + - &775 name: team_id description: The unique identifier of the team. in: path @@ -111097,9 +113352,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *430 examples: - default: *412 + default: *431 '404': *6 x-github: githubCloudOnly: false @@ -111126,7 +113381,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *754 + - *775 requestBody: required: true content: @@ -111190,16 +113445,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *411 + schema: *430 examples: - default: *412 + default: *431 '201': description: Response content: application/json: - schema: *411 + schema: *430 examples: - default: *412 + default: *431 '404': *6 '422': *15 '403': *27 @@ -111227,7 +113482,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *754 + - *775 responses: '204': description: Response @@ -111258,8 +113513,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *754 - - *99 + - *775 + - *104 - *17 - *19 responses: @@ -111269,9 +113524,9 @@ paths: application/json: schema: type: array - items: *413 + items: *432 examples: - default: *755 + default: *776 headers: Link: *41 x-github: @@ -111300,7 +113555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *754 + - *775 requestBody: required: true content: @@ -111334,9 +113589,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *432 examples: - default: *414 + default: *433 x-github: triggersNotification: true githubCloudOnly: false @@ -111363,16 +113618,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *754 - - *415 + - *775 + - *434 responses: '200': description: Response content: application/json: - schema: *413 + schema: *432 examples: - default: *414 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111397,8 +113652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *754 - - *415 + - *775 + - *434 requestBody: required: false content: @@ -111421,9 +113676,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *432 examples: - default: *756 + default: *777 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111448,8 +113703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *754 - - *415 + - *775 + - *434 responses: '204': description: Response @@ -111478,9 +113733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *754 - - *415 - - *99 + - *775 + - *434 + - *104 - *17 - *19 responses: @@ -111490,9 +113745,9 @@ paths: application/json: schema: type: array - items: *416 + items: *435 examples: - default: *757 + default: *778 headers: Link: *41 x-github: @@ -111521,8 +113776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *754 - - *415 + - *775 + - *434 requestBody: required: true content: @@ -111544,9 +113799,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *435 examples: - default: *417 + default: *436 x-github: triggersNotification: true githubCloudOnly: false @@ -111573,17 +113828,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *754 - - *415 - - *418 + - *775 + - *434 + - *437 responses: '200': description: Response content: application/json: - schema: *416 + schema: *435 examples: - default: *417 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111608,9 +113863,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *754 - - *415 - - *418 + - *775 + - *434 + - *437 requestBody: required: true content: @@ -111632,9 +113887,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *435 examples: - default: *758 + default: *779 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111659,9 +113914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *754 - - *415 - - *418 + - *775 + - *434 + - *437 responses: '204': description: Response @@ -111690,9 +113945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *754 - - *415 - - *418 + - *775 + - *434 + - *437 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -111718,9 +113973,9 @@ paths: application/json: schema: type: array - items: *419 + items: *438 examples: - default: *421 + default: *440 headers: Link: *41 x-github: @@ -111749,9 +114004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *754 - - *415 - - *418 + - *775 + - *434 + - *437 requestBody: required: true content: @@ -111783,9 +114038,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111811,8 +114066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *754 - - *415 + - *775 + - *434 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -111838,9 +114093,9 @@ paths: application/json: schema: type: array - items: *419 + items: *438 examples: - default: *421 + default: *440 headers: Link: *41 x-github: @@ -111869,8 +114124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *754 - - *415 + - *775 + - *434 requestBody: required: true content: @@ -111902,9 +114157,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *438 examples: - default: *420 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111928,7 +114183,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *754 + - *775 - *17 - *19 responses: @@ -111938,9 +114193,9 @@ paths: application/json: schema: type: array - items: *328 + items: *348 examples: - default: *329 + default: *349 headers: Link: *41 x-github: @@ -111966,7 +114221,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *754 + - *775 - name: role description: Filters members returned by their role in the team. in: query @@ -111989,7 +114244,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 headers: Link: *41 '404': *6 @@ -112017,8 +114272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *754 - - *178 + - *775 + - *132 responses: '204': description: if user is a member @@ -112054,8 +114309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *754 - - *178 + - *775 + - *132 responses: '204': description: Response @@ -112094,8 +114349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *754 - - *178 + - *775 + - *132 responses: '204': description: Response @@ -112131,16 +114386,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *754 - - *178 + - *775 + - *132 responses: '200': description: Response content: application/json: - schema: *427 + schema: *446 examples: - response-if-user-is-a-team-maintainer: *759 + response-if-user-is-a-team-maintainer: *780 '404': *6 x-github: githubCloudOnly: false @@ -112173,8 +114428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *754 - - *178 + - *775 + - *132 requestBody: required: false content: @@ -112199,9 +114454,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *446 examples: - response-if-users-membership-with-team-is-now-pending: *760 + response-if-users-membership-with-team-is-now-pending: *781 '403': description: Forbidden if team synchronization is set up '422': @@ -112235,8 +114490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *754 - - *178 + - *775 + - *132 responses: '204': description: Response @@ -112264,7 +114519,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *754 + - *775 - *17 - *19 responses: @@ -112274,9 +114529,9 @@ paths: application/json: schema: type: array - items: *428 + items: *447 examples: - default: *761 + default: *782 headers: Link: *41 '404': *6 @@ -112302,16 +114557,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *754 - - *429 + - *775 + - *448 responses: '200': description: Response content: application/json: - schema: *428 + schema: *447 examples: - default: *762 + default: *783 '404': description: Not Found if project is not managed by this team x-github: @@ -112335,8 +114590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *754 - - *429 + - *775 + - *448 requestBody: required: false content: @@ -112403,8 +114658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *754 - - *429 + - *775 + - *448 responses: '204': description: Response @@ -112431,7 +114686,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *754 + - *775 - *17 - *19 responses: @@ -112441,9 +114696,9 @@ paths: application/json: schema: type: array - items: *246 + items: *269 examples: - default: *352 + default: *372 headers: Link: *41 '404': *6 @@ -112473,15 +114728,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *754 - - *430 - - *431 + - *775 + - *449 + - *450 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *763 + schema: *784 examples: alternative-response-with-extra-repository-information: value: @@ -112632,9 +114887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *754 - - *430 - - *431 + - *775 + - *449 + - *450 requestBody: required: false content: @@ -112684,9 +114939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *754 - - *430 - - *431 + - *775 + - *449 + - *450 responses: '204': description: Response @@ -112715,15 +114970,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *754 + - *775 responses: '200': description: Response content: application/json: - schema: *432 + schema: *451 examples: - default: *433 + default: *452 '403': *27 '404': *6 x-github: @@ -112750,7 +115005,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *754 + - *775 requestBody: required: true content: @@ -112811,7 +115066,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *451 examples: default: value: @@ -112842,7 +115097,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *754 + - *775 - *17 - *19 responses: @@ -112852,9 +115107,9 @@ paths: application/json: schema: type: array - items: *273 + items: *296 examples: - response-if-child-teams-exist: *764 + response-if-child-teams-exist: *785 headers: Link: *41 '404': *6 @@ -112887,7 +115142,7 @@ paths: application/json: schema: oneOf: - - &766 + - &787 title: Private User description: Private User type: object @@ -113137,7 +115392,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *765 + - *786 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -113297,7 +115552,7 @@ paths: description: Response content: application/json: - schema: *766 + schema: *787 examples: default: value: @@ -113376,7 +115631,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 '304': *35 '404': *6 '403': *27 @@ -113399,7 +115654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *178 + - *132 responses: '204': description: If the user is blocked @@ -113427,7 +115682,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *178 + - *132 responses: '204': description: Response @@ -113451,7 +115706,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *178 + - *132 responses: '204': description: Response @@ -113500,9 +115755,9 @@ paths: type: integer codespaces: type: array - items: *336 + items: *356 examples: - default: *337 + default: *357 '304': *35 '500': *38 '401': *23 @@ -113641,21 +115896,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *336 + schema: *356 examples: - default: *536 + default: *555 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *336 + schema: *356 examples: - default: *536 + default: *555 '401': *23 '403': *27 '404': *6 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113695,7 +115950,7 @@ paths: type: integer secrets: type: array - items: &767 + items: &788 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113737,7 +115992,7 @@ paths: - visibility - selected_repositories_url examples: - default: *538 + default: *557 headers: Link: *41 x-github: @@ -113809,13 +116064,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *256 + - *279 responses: '200': description: Response content: application/json: - schema: *767 + schema: *788 examples: default: value: @@ -113845,7 +116100,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *256 + - *279 requestBody: required: true content: @@ -113890,7 +116145,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -113918,7 +116173,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *256 + - *279 responses: '204': description: Response @@ -113943,7 +116198,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *256 + - *279 responses: '200': description: Response @@ -113959,9 +116214,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *269 examples: - default: *768 + default: *789 '401': *23 '403': *27 '404': *6 @@ -113986,7 +116241,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *256 + - *279 requestBody: required: true content: @@ -114040,7 +116295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *256 + - *279 - name: repository_id in: path required: true @@ -114073,7 +116328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *256 + - *279 - name: repository_id in: path required: true @@ -114105,15 +116360,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *338 + - *358 responses: '200': description: Response content: application/json: - schema: *336 + schema: *356 examples: - default: *536 + default: *555 '304': *35 '500': *38 '401': *23 @@ -114139,7 +116394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *338 + - *358 requestBody: required: false content: @@ -114169,9 +116424,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *356 examples: - default: *536 + default: *555 '401': *23 '403': *27 '404': *6 @@ -114193,7 +116448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *338 + - *358 responses: '202': *37 '304': *35 @@ -114222,13 +116477,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *338 + - *358 responses: '202': description: Response content: application/json: - schema: &769 + schema: &790 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114281,7 +116536,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &770 + default: &791 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114313,7 +116568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *338 + - *358 - name: export_id in: path required: true @@ -114326,9 +116581,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *790 examples: - default: *770 + default: *791 '404': *6 x-github: githubCloudOnly: false @@ -114349,7 +116604,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *338 + - *358 responses: '200': description: Response @@ -114365,9 +116620,9 @@ paths: type: integer machines: type: array - items: *537 + items: *556 examples: - default: *771 + default: *792 '304': *35 '500': *38 '401': *23 @@ -114396,7 +116651,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *338 + - *358 requestBody: required: true content: @@ -114452,11 +116707,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *443 + repository: *462 machine: anyOf: - type: 'null' - - *537 + - *556 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -115253,15 +117508,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *338 + - *358 responses: '200': description: Response content: application/json: - schema: *336 + schema: *356 examples: - default: *536 + default: *555 '304': *35 '500': *38 '400': *14 @@ -115273,7 +117528,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *107 + '409': *112 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115293,15 +117548,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *338 + - *358 responses: '200': description: Response content: application/json: - schema: *336 + schema: *356 examples: - default: *536 + default: *555 '500': *38 '401': *23 '403': *27 @@ -115331,9 +117586,9 @@ paths: application/json: schema: type: array - items: *346 + items: *366 examples: - default: &783 + default: &803 value: - id: 197 name: hello_docker @@ -115434,7 +117689,7 @@ paths: application/json: schema: type: array - items: &772 + items: &793 title: Email description: Email type: object @@ -115504,9 +117759,9 @@ paths: application/json: schema: type: array - items: *772 + items: *793 examples: - default: &785 + default: &805 value: - email: octocat@github.com verified: true @@ -115583,7 +117838,7 @@ paths: application/json: schema: type: array - items: *772 + items: *793 examples: default: value: @@ -115695,7 +117950,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 headers: Link: *41 '304': *35 @@ -115728,7 +117983,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 headers: Link: *41 '304': *35 @@ -115750,7 +118005,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *178 + - *132 responses: '204': description: if the person is followed by the authenticated user @@ -115780,7 +118035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *178 + - *132 responses: '204': description: Response @@ -115805,7 +118060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *178 + - *132 responses: '204': description: Response @@ -115841,7 +118096,7 @@ paths: application/json: schema: type: array - items: &773 + items: &794 title: GPG Key description: A unique encryption key type: object @@ -115986,7 +118241,7 @@ paths: - subkeys - revoked examples: - default: &799 + default: &819 value: - id: 3 name: Octocat's GPG Key @@ -116071,9 +118326,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *794 examples: - default: &774 + default: &795 value: id: 3 name: Octocat's GPG Key @@ -116130,7 +118385,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &775 + - &796 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -116142,9 +118397,9 @@ paths: description: Response content: application/json: - schema: *773 + schema: *794 examples: - default: *774 + default: *795 '404': *6 '304': *35 '403': *27 @@ -116167,7 +118422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *775 + - *796 responses: '204': description: Response @@ -116356,9 +118611,9 @@ paths: type: string repositories: type: array - items: *67 + items: *72 examples: - default: *241 + default: *264 headers: Link: *41 '404': *6 @@ -116383,7 +118638,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *240 + - *263 responses: '204': description: Response @@ -116409,7 +118664,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *240 + - *263 responses: '204': description: Response @@ -116443,12 +118698,12 @@ paths: application/json: schema: anyOf: - - *326 + - *346 - type: object properties: {} additionalProperties: false examples: - default: *327 + default: *347 '204': description: Response when there are no restrictions x-github: @@ -116472,7 +118727,7 @@ paths: required: true content: application/json: - schema: *614 + schema: *633 examples: default: value: @@ -116483,7 +118738,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *346 examples: default: value: @@ -116564,7 +118819,7 @@ paths: - closed - all default: open - - *334 + - *354 - name: sort description: What to sort results by. in: query @@ -116576,8 +118831,8 @@ paths: - updated - comments default: created - - *99 - - *189 + - *104 + - *209 - *17 - *19 responses: @@ -116587,9 +118842,9 @@ paths: application/json: schema: type: array - items: *183 + items: *203 examples: - default: *335 + default: *355 headers: Link: *41 '404': *6 @@ -116622,7 +118877,7 @@ paths: application/json: schema: type: array - items: &776 + items: &797 title: Key description: Key type: object @@ -116725,9 +118980,9 @@ paths: description: Response content: application/json: - schema: *776 + schema: *797 examples: - default: &777 + default: &798 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116760,15 +119015,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *640 + - *659 responses: '200': description: Response content: application/json: - schema: *776 + schema: *797 examples: - default: *777 + default: *798 '404': *6 '304': *35 '403': *27 @@ -116791,7 +119046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *640 + - *659 responses: '204': description: Response @@ -116824,7 +119079,7 @@ paths: application/json: schema: type: array - items: &778 + items: &799 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116892,7 +119147,7 @@ paths: - id - type - login - plan: *200 + plan: *220 required: - billing_cycle - next_billing_date @@ -116903,7 +119158,7 @@ paths: - account - plan examples: - default: &779 + default: &800 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116965,9 +119220,9 @@ paths: application/json: schema: type: array - items: *778 + items: *799 examples: - default: *779 + default: *800 headers: Link: *41 '304': *35 @@ -117007,7 +119262,7 @@ paths: application/json: schema: type: array - items: *339 + items: *359 examples: default: value: @@ -117109,13 +119364,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *76 + - *81 responses: '200': description: Response content: application/json: - schema: *339 + schema: *359 examples: default: value: @@ -117173,7 +119428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *76 + - *81 requestBody: required: true content: @@ -117198,7 +119453,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *359 examples: default: value: @@ -117266,7 +119521,7 @@ paths: application/json: schema: type: array - items: *341 + items: *361 examples: default: value: @@ -117528,7 +119783,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *361 examples: default: value: @@ -117708,7 +119963,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *342 + - *362 - name: exclude in: query required: false @@ -117721,7 +119976,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *361 examples: default: value: @@ -117915,7 +120170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *342 + - *362 responses: '302': description: Response @@ -117941,7 +120196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *342 + - *362 responses: '204': description: Response @@ -117970,8 +120225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *342 - - *780 + - *362 + - *801 responses: '204': description: Response @@ -117995,7 +120250,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *342 + - *362 - *17 - *19 responses: @@ -118005,9 +120260,9 @@ paths: application/json: schema: type: array - items: *246 + items: *269 examples: - default: *352 + default: *372 headers: Link: *41 '404': *6 @@ -118042,9 +120297,9 @@ paths: application/json: schema: type: array - items: *62 + items: *67 examples: - default: *781 + default: *233 headers: Link: *41 '304': *35 @@ -118086,7 +120341,7 @@ paths: - docker - nuget - container - - *782 + - *802 - *19 - *17 responses: @@ -118096,10 +120351,10 @@ paths: application/json: schema: type: array - items: *346 + items: *366 examples: - default: *783 - '400': *784 + default: *803 + '400': *804 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118119,16 +120374,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *348 - - *349 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *346 + schema: *366 examples: - default: &800 + default: &820 value: id: 40201 name: octo-name @@ -118241,8 +120496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *348 - - *349 + - *368 + - *369 responses: '204': description: Response @@ -118272,8 +120527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *348 - - *349 + - *368 + - *369 - name: token description: package token schema: @@ -118305,8 +120560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *348 - - *349 + - *368 + - *369 - *19 - *17 - name: state @@ -118326,7 +120581,7 @@ paths: application/json: schema: type: array - items: *350 + items: *370 examples: default: value: @@ -118375,15 +120630,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *348 - - *349 - - *351 + - *368 + - *369 + - *371 responses: '200': description: Response content: application/json: - schema: *350 + schema: *370 examples: default: value: @@ -118419,9 +120674,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *348 - - *349 - - *351 + - *368 + - *369 + - *371 responses: '204': description: Response @@ -118451,9 +120706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *348 - - *349 - - *351 + - *368 + - *369 + - *371 responses: '204': description: Response @@ -118511,7 +120766,7 @@ paths: description: Response content: application/json: - schema: *362 + schema: *382 examples: default: value: @@ -118583,9 +120838,9 @@ paths: application/json: schema: type: array - items: *772 + items: *793 examples: - default: *785 + default: *805 headers: Link: *41 '304': *35 @@ -118696,9 +120951,9 @@ paths: application/json: schema: type: array - items: *67 + items: *72 examples: - default: &792 + default: &812 summary: Default response value: - id: 1296269 @@ -119016,9 +121271,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *462 examples: - default: *445 + default: *464 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -119056,9 +121311,9 @@ paths: application/json: schema: type: array - items: *616 + items: *635 examples: - default: *786 + default: *806 headers: Link: *41 '304': *35 @@ -119081,12 +121336,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *330 + - *350 responses: '204': description: Response '403': *27 - '409': *107 + '409': *112 '404': *6 '304': *35 x-github: @@ -119104,11 +121359,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *330 + - *350 responses: '204': description: Response - '409': *107 + '409': *112 '304': *35 '404': *6 '403': *27 @@ -119137,7 +121392,7 @@ paths: application/json: schema: type: array - items: &787 + items: &807 title: Social account description: Social media account type: object @@ -119154,7 +121409,7 @@ paths: - provider - url examples: - default: &788 + default: &808 value: - provider: twitter url: https://twitter.com/github @@ -119217,9 +121472,9 @@ paths: application/json: schema: type: array - items: *787 + items: *807 examples: - default: *788 + default: *808 '422': *15 '304': *35 '404': *6 @@ -119307,7 +121562,7 @@ paths: application/json: schema: type: array - items: &789 + items: &809 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119327,7 +121582,7 @@ paths: - title - created_at examples: - default: &803 + default: &823 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119394,9 +121649,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *809 examples: - default: &790 + default: &810 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119427,7 +121682,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &791 + - &811 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119439,9 +121694,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *809 examples: - default: *790 + default: *810 '404': *6 '304': *35 '403': *27 @@ -119464,7 +121719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *791 + - *811 responses: '204': description: Response @@ -119493,7 +121748,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &804 + - &824 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -119506,7 +121761,7 @@ paths: - created - updated default: created - - *99 + - *104 - *17 - *19 responses: @@ -119516,13 +121771,13 @@ paths: application/json: schema: type: array - items: *67 + items: *72 examples: - default-response: *792 + default-response: *812 application/vnd.github.v3.star+json: schema: type: array - items: &805 + items: &825 title: Starred Repository description: Starred Repository type: object @@ -119530,7 +121785,7 @@ paths: starred_at: type: string format: date-time - repo: *67 + repo: *72 required: - starred_at - repo @@ -119678,8 +121933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response if this repository is starred by you @@ -119707,8 +121962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response @@ -119732,8 +121987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *430 - - *431 + - *449 + - *450 responses: '204': description: Response @@ -119766,9 +122021,9 @@ paths: application/json: schema: type: array - items: *246 + items: *269 examples: - default: *352 + default: *372 headers: Link: *41 '304': *35 @@ -119805,7 +122060,7 @@ paths: application/json: schema: type: array - items: *411 + items: *430 examples: default: value: @@ -119883,7 +122138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *202 + - *222 responses: '200': description: Response @@ -119891,10 +122146,10 @@ paths: application/json: schema: oneOf: - - *766 - - *765 + - *787 + - *786 examples: - default-response: &794 + default-response: &814 summary: Default response value: login: octocat @@ -119929,7 +122184,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &795 + response-with-git-hub-plan-information: &815 summary: Response with GitHub plan information value: login: octocat @@ -119989,7 +122244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *793 + - *813 - *17 responses: '200': @@ -120000,7 +122255,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 headers: Link: example: ; rel="next" @@ -120030,7 +122285,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *178 + - *132 responses: '200': description: Response @@ -120038,11 +122293,11 @@ paths: application/json: schema: oneOf: - - *766 - - *765 + - *787 + - *786 examples: - default-response: *794 - response-with-git-hub-plan-information: *795 + default-response: *814 + response-with-git-hub-plan-information: *815 '404': *6 x-github: githubCloudOnly: false @@ -120066,9 +122321,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - - *97 - - *98 - - *178 + - *102 + - *103 + - *132 requestBody: required: true content: @@ -120091,8 +122346,8 @@ paths: required: - subject_digests examples: - default: *796 - withPredicateType: *797 + default: *816 + withPredicateType: *817 responses: '200': description: Response @@ -120146,7 +122401,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *798 + default: *818 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120164,7 +122419,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *178 + - *132 requestBody: required: true content: @@ -120229,7 +122484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *178 + - *132 - name: subject_digest description: Subject Digest in: path @@ -120260,7 +122515,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *178 + - *132 - name: attestation_id description: Attestation ID in: path @@ -120296,9 +122551,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#list-attestations parameters: - *17 - - *97 - - *98 - - *178 + - *102 + - *103 + - *132 - name: subject_digest description: Subject Digest in: path @@ -120350,12 +122605,12 @@ paths: initiator: type: string examples: - default: *483 + default: *502 '201': description: Response content: application/json: - schema: *257 + schema: *280 examples: default: value: @@ -120381,7 +122636,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *178 + - *132 responses: '200': description: Response @@ -120389,9 +122644,9 @@ paths: application/json: schema: type: array - items: *346 + items: *366 examples: - default: *783 + default: *803 '403': *27 '401': *23 x-github: @@ -120414,7 +122669,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *178 + - *132 - *17 - *19 responses: @@ -120424,7 +122679,7 @@ paths: application/json: schema: type: array - items: *208 + items: *228 examples: default: value: @@ -120486,8 +122741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *178 - - *76 + - *132 + - *81 - *17 - *19 responses: @@ -120497,7 +122752,7 @@ paths: application/json: schema: type: array - items: *208 + items: *228 examples: default: value: @@ -120574,7 +122829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *178 + - *132 - *17 - *19 responses: @@ -120584,7 +122839,7 @@ paths: application/json: schema: type: array - items: *208 + items: *228 examples: default: value: @@ -120642,7 +122897,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *178 + - *132 - *17 - *19 responses: @@ -120654,7 +122909,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 headers: Link: *41 x-github: @@ -120673,7 +122928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *178 + - *132 - *17 - *19 responses: @@ -120685,7 +122940,7 @@ paths: type: array items: *4 examples: - default: *177 + default: *197 headers: Link: *41 x-github: @@ -120704,7 +122959,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *178 + - *132 - name: target_user in: path required: true @@ -120731,8 +122986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *178 - - *189 + - *132 + - *209 - *17 - *19 responses: @@ -120742,9 +122997,9 @@ paths: application/json: schema: type: array - items: *190 + items: *210 examples: - default: *191 + default: *211 headers: Link: *41 '422': *15 @@ -120765,7 +123020,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *178 + - *132 - *17 - *19 responses: @@ -120775,9 +123030,9 @@ paths: application/json: schema: type: array - items: *773 + items: *794 examples: - default: *799 + default: *819 headers: Link: *41 x-github: @@ -120801,7 +123056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *178 + - *132 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -120873,7 +123128,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *178 + - *132 responses: '200': description: Response @@ -120881,7 +123136,7 @@ paths: application/json: schema: *20 examples: - default: *613 + default: *632 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120899,7 +123154,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *178 + - *132 - *17 - *19 responses: @@ -120955,7 +123210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *178 + - *132 - *17 - *19 responses: @@ -120965,9 +123220,9 @@ paths: application/json: schema: type: array - items: *62 + items: *67 examples: - default: *781 + default: *233 headers: Link: *41 x-github: @@ -121006,8 +123261,8 @@ paths: - docker - nuget - container - - *782 - - *178 + - *802 + - *132 - *19 - *17 responses: @@ -121017,12 +123272,12 @@ paths: application/json: schema: type: array - items: *346 + items: *366 examples: - default: *783 + default: *803 '403': *27 '401': *23 - '400': *784 + '400': *804 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121042,17 +123297,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *348 - - *349 - - *178 + - *368 + - *369 + - *132 responses: '200': description: Response content: application/json: - schema: *346 + schema: *366 examples: - default: *800 + default: *820 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121073,9 +123328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *348 - - *349 - - *178 + - *368 + - *369 + - *132 responses: '204': description: Response @@ -121107,9 +123362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *348 - - *349 - - *178 + - *368 + - *369 + - *132 - name: token description: package token schema: @@ -121141,9 +123396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *348 - - *349 - - *178 + - *368 + - *369 + - *132 responses: '200': description: Response @@ -121151,7 +123406,7 @@ paths: application/json: schema: type: array - items: *350 + items: *370 examples: default: value: @@ -121209,16 +123464,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *348 - - *349 - - *351 - - *178 + - *368 + - *369 + - *371 + - *132 responses: '200': description: Response content: application/json: - schema: *350 + schema: *370 examples: default: value: @@ -121253,10 +123508,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *348 - - *349 - - *178 - - *351 + - *368 + - *369 + - *132 + - *371 responses: '204': description: Response @@ -121288,10 +123543,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *348 - - *349 - - *178 - - *351 + - *368 + - *369 + - *132 + - *371 responses: '204': description: Response @@ -121317,7 +123572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *178 + - *132 - name: state description: Indicates the state of the projects to return. in: query @@ -121338,7 +123593,7 @@ paths: application/json: schema: type: array - items: *362 + items: *382 examples: default: value: @@ -121396,15 +123651,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *178 + - *132 - name: q description: Limit results to projects of the specified type. in: query required: false schema: type: string - - *97 - - *98 + - *102 + - *103 - *17 responses: '200': @@ -121413,9 +123668,9 @@ paths: application/json: schema: type: array - items: *363 + items: *383 examples: - default: *364 + default: *384 headers: Link: *41 '304': *35 @@ -121437,16 +123692,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *365 - - *178 + - *385 + - *132 responses: '200': description: Response content: application/json: - schema: *363 + schema: *383 examples: - default: *364 + default: *384 headers: Link: *41 '304': *35 @@ -121468,11 +123723,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *365 - - *178 + - *385 + - *132 - *17 - - *97 - - *98 + - *102 + - *103 responses: '200': description: Response @@ -121480,9 +123735,9 @@ paths: application/json: schema: type: array - items: *366 + items: *386 examples: - default: *367 + default: *387 headers: Link: *41 '304': *35 @@ -121504,17 +123759,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *365 - - *801 - - *178 + - *385 + - *821 + - *132 responses: '200': description: Response content: application/json: - schema: *366 + schema: *386 examples: - default: *367 + default: *387 headers: Link: *41 '304': *35 @@ -121537,10 +123792,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *365 - - *178 - - *97 - - *98 + - *385 + - *132 + - *102 + - *103 - *17 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -121550,17 +123805,19 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` or `fields=123,456,789` in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response @@ -121568,9 +123825,9 @@ paths: application/json: schema: type: array - items: *372 + items: *392 examples: - default: *373 + default: *393 headers: Link: *41 '304': *35 @@ -121591,8 +123848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *178 - - *365 + - *132 + - *385 requestBody: required: true description: Details of the item to add to the project. @@ -121629,10 +123886,10 @@ paths: description: Response content: application/json: - schema: *802 + schema: *822 examples: - issue: *371 - pull_request: *371 + issue: *391 + pull_request: *391 '304': *35 '403': *27 '401': *23 @@ -121652,29 +123909,31 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *365 - - *178 - - *374 + - *385 + - *132 + - *394 - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789 in: query required: false schema: - type: array - maxItems: 50 - items: - type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 + oneOf: + - type: string + - type: array + maxItems: 50 + items: + type: string responses: '200': description: Response content: application/json: - schema: *372 + schema: *392 examples: - default: *373 + default: *393 headers: Link: *41 '304': *35 @@ -121695,9 +123954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *365 - - *178 - - *374 + - *385 + - *132 + - *394 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121770,13 +124029,13 @@ paths: description: Response content: application/json: - schema: *372 + schema: *392 examples: - text_field: *373 - number_field: *373 - date_field: *373 - single_select_field: *373 - iteration_field: *373 + text_field: *393 + number_field: *393 + date_field: *393 + single_select_field: *393 + iteration_field: *393 '401': *23 '403': *27 '404': *6 @@ -121796,9 +124055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *365 - - *178 - - *374 + - *385 + - *132 + - *394 responses: '204': description: Response @@ -121825,7 +124084,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *178 + - *132 - *17 - *19 responses: @@ -121835,7 +124094,7 @@ paths: application/json: schema: type: array - items: *208 + items: *228 examples: default: value: @@ -121900,7 +124159,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *178 + - *132 - *17 - *19 responses: @@ -121910,7 +124169,7 @@ paths: application/json: schema: type: array - items: *208 + items: *228 examples: default: value: @@ -121973,7 +124232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *178 + - *132 - name: type description: Limit results to repositories of the specified type. in: query @@ -122016,9 +124275,9 @@ paths: application/json: schema: type: array - items: *246 + items: *269 examples: - default: *352 + default: *372 headers: Link: *41 x-github: @@ -122042,15 +124301,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *178 + - *132 responses: '200': description: Response content: application/json: - schema: *398 + schema: *417 examples: - default: *399 + default: *418 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122072,15 +124331,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *178 + - *132 responses: '200': description: Response content: application/json: - schema: *403 + schema: *422 examples: - default: *404 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122089,7 +124348,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -122097,12 +124359,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *178 - - *169 - - *213 - - *170 - - *215 - - *216 + - *132 + - *190 + - *234 + - *191 + - *236 + - *237 responses: '200': description: Response when getting a billing premium request usage report @@ -122155,19 +124417,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -122210,7 +124472,7 @@ paths: '403': *27 '404': *6 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122232,15 +124494,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *178 + - *132 responses: '200': description: Response content: application/json: - schema: *405 + schema: *424 examples: - default: *406 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -122260,11 +124522,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *178 - - *169 - - *217 - - *170 - - *218 + - *132 + - *190 + - *238 + - *191 + - *239 responses: '200': description: Response when getting a billing usage report @@ -122335,7 +124597,7 @@ paths: '400': *14 '403': *27 '500': *38 - '503': *163 + '503': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122353,7 +124615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *178 + - *132 - *17 - *19 responses: @@ -122363,9 +124625,9 @@ paths: application/json: schema: type: array - items: *787 + items: *807 examples: - default: *788 + default: *808 headers: Link: *41 x-github: @@ -122385,7 +124647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *178 + - *132 - *17 - *19 responses: @@ -122395,9 +124657,9 @@ paths: application/json: schema: type: array - items: *789 + items: *809 examples: - default: *803 + default: *823 headers: Link: *41 x-github: @@ -122421,9 +124683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *178 - - *804 - - *99 + - *132 + - *824 + - *104 - *17 - *19 responses: @@ -122434,11 +124696,11 @@ paths: schema: anyOf: - type: array - items: *805 + items: *825 - type: array - items: *67 + items: *72 examples: - default-response: *792 + default-response: *812 headers: Link: *41 x-github: @@ -122457,7 +124719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *178 + - *132 - *17 - *19 responses: @@ -122467,9 +124729,9 @@ paths: application/json: schema: type: array - items: *246 + items: *269 examples: - default: *352 + default: *372 headers: Link: *41 x-github: @@ -122598,7 +124860,7 @@ webhooks: type: string enum: - disabled - enterprise: &806 + enterprise: &826 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122667,7 +124929,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &807 + installation: &827 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122688,7 +124950,7 @@ webhooks: required: - id - node_id - organization: &808 + organization: &828 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122761,7 +125023,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &809 + repository: &829 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -122790,7 +125052,7 @@ webhooks: license: anyOf: - type: 'null' - - *186 + - *206 organization: anyOf: - type: 'null' @@ -123674,10 +125936,10 @@ webhooks: type: string enum: - enabled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -123753,11 +126015,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: &810 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + rule: &830 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -123980,11 +126242,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + rule: *830 sender: *4 required: - action @@ -124172,11 +126434,11 @@ webhooks: - everyone required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + rule: *830 sender: *4 required: - action @@ -124247,7 +126509,7 @@ webhooks: required: true content: application/json: - schema: &813 + schema: &833 title: Exemption request cancellation event type: object properties: @@ -124255,11 +126517,11 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: &811 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: &831 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -124497,7 +126759,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &812 + items: &832 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124607,7 +126869,7 @@ webhooks: required: true content: application/json: - schema: &814 + schema: &834 title: Exemption request completed event type: object properties: @@ -124615,11 +126877,11 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: *831 sender: *4 required: - action @@ -124689,7 +126951,7 @@ webhooks: required: true content: application/json: - schema: &815 + schema: &835 title: Exemption request created event type: object properties: @@ -124697,11 +126959,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: *831 sender: *4 required: - action @@ -124771,7 +127033,7 @@ webhooks: required: true content: application/json: - schema: &816 + schema: &836 title: Exemption response dismissed event type: object properties: @@ -124779,12 +127041,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: *831 + exemption_response: *832 sender: *4 required: - action @@ -124856,7 +127118,7 @@ webhooks: required: true content: application/json: - schema: &817 + schema: &837 title: Exemption response submitted event type: object properties: @@ -124864,12 +127126,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + exemption_request: *831 + exemption_response: *832 sender: *4 required: - action @@ -124942,7 +127204,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *833 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125009,7 +127271,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *834 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125076,7 +127338,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *835 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125143,7 +127405,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125211,7 +127473,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125289,7 +127551,7 @@ webhooks: type: string enum: - completed - check_run: &819 + check_run: &839 title: CheckRun description: A check performed on the code of a given code change type: object @@ -125354,8 +127616,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *187 - repository: *246 + items: *207 + repository: *269 status: type: string enum: @@ -125399,7 +127661,7 @@ webhooks: - examples: - neutral - deployment: *818 + deployment: *838 details_url: type: string examples: @@ -125459,7 +127721,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *187 + items: *207 started_at: type: string format: date-time @@ -125497,10 +127759,10 @@ webhooks: - output - app - pull_requests - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + installation: *827 + enterprise: *826 + organization: *828 + repository: *829 sender: *4 required: - check_run @@ -125893,11 +128155,11 @@ webhooks: type: string enum: - created - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *839 + installation: *827 + enterprise: *826 + organization: *828 + repository: *829 sender: *4 required: - check_run @@ -126293,11 +128555,11 @@ webhooks: type: string enum: - requested_action - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *839 + installation: *827 + enterprise: *826 + organization: *828 + repository: *829 requested_action: description: The action requested by the user. type: object @@ -126702,11 +128964,11 @@ webhooks: type: string enum: - rerequested - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *839 + installation: *827 + enterprise: *826 + organization: *828 + repository: *829 sender: *4 required: - check_run @@ -127698,10 +129960,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -128386,10 +130648,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -129068,10 +131330,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -129240,7 +131502,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *530 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129392,20 +131654,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &820 + commit_oid: &840 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *806 - installation: *807 - organization: *808 - ref: &821 + enterprise: *826 + installation: *827 + organization: *828 + ref: &841 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *809 + repository: *829 sender: *4 required: - action @@ -129572,7 +131834,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *530 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -129813,12 +132075,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *840 + enterprise: *826 + installation: *827 + organization: *828 + ref: *841 + repository: *829 sender: *4 required: - action @@ -129916,7 +132178,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *530 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130101,12 +132363,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *840 + enterprise: *826 + installation: *827 + organization: *828 + ref: *841 + repository: *829 sender: *4 required: - action @@ -130275,7 +132537,7 @@ webhooks: required: - login - id - dismissed_comment: *511 + dismissed_comment: *530 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -130452,12 +132714,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *840 + enterprise: *826 + installation: *827 + organization: *828 + ref: *841 + repository: *829 sender: *4 required: - action @@ -130560,7 +132822,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *511 + dismissed_comment: *530 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130740,9 +133002,9 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -130750,7 +133012,7 @@ webhooks: type: - string - 'null' - repository: *809 + repository: *829 sender: *4 required: - action @@ -130849,7 +133111,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *511 + dismissed_comment: *530 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130996,12 +133258,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *840 + enterprise: *826 + installation: *827 + organization: *828 + ref: *841 + repository: *829 sender: *4 required: - action @@ -131263,10 +133525,10 @@ webhooks: - updated_at - author_association - body - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -131347,18 +133609,18 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *808 - pusher_type: &822 + organization: *828 + pusher_type: &842 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &823 + ref: &843 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -131368,7 +133630,7 @@ webhooks: enum: - tag - branch - repository: *809 + repository: *829 sender: *4 required: - ref @@ -131450,10 +133712,10 @@ webhooks: type: string enum: - created - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *146 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -131538,9 +133800,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -131617,10 +133879,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *146 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -131697,10 +133959,10 @@ webhooks: type: string enum: - updated - definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + definition: *146 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -131777,19 +134039,19 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - repository: *809 - organization: *808 + enterprise: *826 + installation: *827 + repository: *829 + organization: *828 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *376 + items: *145 old_property_values: type: array description: The old custom property values for the repository. - items: *376 + items: *145 required: - action - repository @@ -131865,18 +134127,18 @@ webhooks: title: delete event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - pusher_type: *822 - ref: *823 + enterprise: *826 + installation: *827 + organization: *828 + pusher_type: *842 + ref: *843 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *809 + repository: *829 sender: *4 required: - ref @@ -131960,11 +134222,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *582 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -132048,11 +134310,11 @@ webhooks: type: string enum: - auto_reopened - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *582 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -132136,11 +134398,11 @@ webhooks: type: string enum: - created - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *582 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -132222,11 +134484,11 @@ webhooks: type: string enum: - dismissed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *582 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -132308,11 +134570,11 @@ webhooks: type: string enum: - fixed - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *582 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -132395,11 +134657,11 @@ webhooks: type: string enum: - reintroduced - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *582 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -132481,11 +134743,11 @@ webhooks: type: string enum: - reopened - alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + alert: *582 + installation: *827 + organization: *828 + enterprise: *826 + repository: *829 sender: *4 required: - action @@ -132562,9 +134824,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - key: &824 + enterprise: *826 + installation: *827 + key: &844 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -132602,8 +134864,8 @@ webhooks: - verified - created_at - read_only - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -132680,11 +134942,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - key: *824 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + key: *844 + organization: *828 + repository: *829 sender: *4 required: - action @@ -133256,12 +135518,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: &828 + workflow: &848 title: Workflow type: - object @@ -133999,13 +136261,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *569 + deployment: *588 pull_requests: type: array - items: *658 - repository: *809 - organization: *808 - installation: *807 + items: *679 + repository: *829 + organization: *828 + installation: *827 sender: *4 responses: '200': @@ -134076,7 +136338,7 @@ webhooks: type: string enum: - approved - approver: &825 + approver: &845 type: object properties: avatar_url: @@ -134119,11 +136381,11 @@ webhooks: type: string comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: &826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + reviewers: &846 type: array items: type: object @@ -134204,7 +136466,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &827 + workflow_job_run: &847 type: object properties: conclusion: @@ -134950,18 +137212,18 @@ webhooks: type: string enum: - rejected - approver: *825 + approver: *845 comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: *826 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + reviewers: *846 sender: *4 since: type: string - workflow_job_run: *827 + workflow_job_run: *847 workflow_job_runs: type: array items: @@ -135678,13 +137940,13 @@ webhooks: type: string enum: - requested - enterprise: *806 + enterprise: *826 environment: type: string - installation: *807 - organization: *808 - repository: *809 - requestor: &833 + installation: *827 + organization: *828 + repository: *829 + requestor: &853 title: User type: - object @@ -137627,12 +139889,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: *828 + workflow: *848 workflow_run: title: Deployment Workflow Run type: @@ -138323,7 +140585,7 @@ webhooks: type: string enum: - answered - answer: &831 + answer: &851 type: object properties: author_association: @@ -138483,11 +140745,11 @@ webhooks: - created_at - updated_at - body - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -138614,11 +140876,11 @@ webhooks: - from required: - category - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -138701,11 +140963,11 @@ webhooks: type: string enum: - closed - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -138787,7 +141049,7 @@ webhooks: type: string enum: - created - comment: &830 + comment: &850 type: object properties: author_association: @@ -138947,11 +141209,11 @@ webhooks: - updated_at - body - reactions - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139034,12 +141296,12 @@ webhooks: type: string enum: - deleted - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *850 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139134,12 +141396,12 @@ webhooks: - from required: - body - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *850 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139223,11 +141485,11 @@ webhooks: type: string enum: - created - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139309,11 +141571,11 @@ webhooks: type: string enum: - deleted - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139413,11 +141675,11 @@ webhooks: type: string required: - from - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139499,10 +141761,10 @@ webhooks: type: string enum: - labeled - discussion: *829 - enterprise: *806 - installation: *807 - label: &832 + discussion: *849 + enterprise: *826 + installation: *827 + label: &852 title: Label type: object properties: @@ -139535,8 +141797,8 @@ webhooks: - color - default - description - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139619,11 +141881,11 @@ webhooks: type: string enum: - locked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139705,11 +141967,11 @@ webhooks: type: string enum: - pinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139791,11 +142053,11 @@ webhooks: type: string enum: - reopened - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139880,16 +142142,16 @@ webhooks: changes: type: object properties: - new_discussion: *829 - new_repository: *809 + new_discussion: *849 + new_repository: *829 required: - new_discussion - new_repository - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -139972,10 +142234,10 @@ webhooks: type: string enum: - unanswered - discussion: *829 - old_answer: *831 - organization: *808 - repository: *809 + discussion: *849 + old_answer: *851 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140057,12 +142319,12 @@ webhooks: type: string enum: - unlabeled - discussion: *829 - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + label: *852 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140145,11 +142407,11 @@ webhooks: type: string enum: - unlocked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140231,11 +142493,11 @@ webhooks: type: string enum: - unpinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *849 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -140304,7 +142566,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *835 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140367,7 +142629,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140433,7 +142695,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *833 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140499,7 +142761,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *834 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140565,7 +142827,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *835 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140631,7 +142893,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *836 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140697,7 +142959,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *837 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140764,7 +143026,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *806 + enterprise: *826 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -141442,9 +143704,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - forkee @@ -141590,9 +143852,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 pages: description: The pages that were updated. type: array @@ -141630,7 +143892,7 @@ webhooks: - action - sha - html_url - repository: *809 + repository: *829 sender: *4 required: - pages @@ -141706,10 +143968,10 @@ webhooks: type: string enum: - created - enterprise: *806 + enterprise: *826 installation: *20 - organization: *808 - repositories: &834 + organization: *828 + repositories: &854 description: An array of repository objects that the installation can access. type: array @@ -141735,8 +143997,8 @@ webhooks: - name - full_name - private - repository: *809 - requester: *833 + repository: *829 + requester: *853 sender: *4 required: - action @@ -141811,11 +144073,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *826 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *828 + repositories: *854 + repository: *829 requester: type: - 'null' @@ -141892,11 +144154,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *806 + enterprise: *826 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *828 + repositories: *854 + repository: *829 requester: type: - 'null' @@ -141973,10 +144235,10 @@ webhooks: type: string enum: - added - enterprise: *806 + enterprise: *826 installation: *20 - organization: *808 - repositories_added: &835 + organization: *828 + repositories_added: &855 description: An array of repository objects, which were added to the installation. type: array @@ -142022,15 +144284,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *809 - repository_selection: &836 + repository: *829 + repository_selection: &856 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *833 + requester: *853 sender: *4 required: - action @@ -142109,10 +144371,10 @@ webhooks: type: string enum: - removed - enterprise: *806 + enterprise: *826 installation: *20 - organization: *808 - repositories_added: *835 + organization: *828 + repositories_added: *855 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -142139,9 +144401,9 @@ webhooks: - name - full_name - private - repository: *809 - repository_selection: *836 - requester: *833 + repository: *829 + repository_selection: *856 + requester: *853 sender: *4 required: - action @@ -142220,11 +144482,11 @@ webhooks: type: string enum: - suspend - enterprise: *806 + enterprise: *826 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *828 + repositories: *854 + repository: *829 requester: type: - 'null' @@ -142407,10 +144669,10 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 target_type: type: string @@ -142489,11 +144751,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *806 + enterprise: *826 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *828 + repositories: *854 + repository: *829 requester: type: - 'null' @@ -142741,8 +145003,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143559,8 +145821,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143577,7 +145839,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *351 updated_at: type: string format: date-time @@ -143921,8 +146183,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -144002,7 +146264,7 @@ webhooks: type: string enum: - deleted - comment: &837 + comment: &857 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -144169,8 +146431,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144983,8 +147245,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145001,7 +147263,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *351 updated_at: type: string format: date-time @@ -145347,8 +147609,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -145428,7 +147690,7 @@ webhooks: type: string enum: - edited - changes: &861 + changes: &881 description: The changes to the comment. type: object properties: @@ -145440,9 +147702,9 @@ webhooks: type: string required: - from - comment: *837 - enterprise: *806 - installation: *807 + comment: *857 + enterprise: *826 + installation: *827 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146258,8 +148520,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146276,7 +148538,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *351 updated_at: type: string format: date-time @@ -146620,8 +148882,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -146705,15 +148967,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *203 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *203 + blocking_issue_repo: *72 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -146801,15 +149063,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *203 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *203 + blocking_issue_repo: *72 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -146896,15 +149158,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 - blocked_issue_repo: *67 + blocked_issue: *203 + blocked_issue_repo: *72 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *203 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -146992,15 +149254,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 - blocked_issue_repo: *67 + blocked_issue: *203 + blocked_issue_repo: *72 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *203 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -147085,10 +149347,10 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - issue: &840 + assignee: *853 + enterprise: *826 + installation: *827 + issue: &860 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147900,11 +150162,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147921,7 +150183,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *351 updated_at: type: string format: date-time @@ -148024,8 +150286,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -148105,8 +150367,8 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148923,11 +151185,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148944,7 +151206,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *351 updated_at: type: string format: date-time @@ -149190,8 +151452,8 @@ webhooks: required: - state - closed_at - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -149270,8 +151532,8 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150079,11 +152341,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150100,7 +152362,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *351 updated_at: type: string format: date-time @@ -150202,8 +152464,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -150282,8 +152544,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151114,11 +153376,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151135,7 +153397,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *351 updated_at: type: string format: date-time @@ -151216,7 +153478,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &838 + milestone: &858 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151359,8 +153621,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -151459,8 +153721,8 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152272,11 +154534,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152290,7 +154552,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *351 title: description: Title of the issue type: string @@ -152396,9 +154658,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *852 + organization: *828 + repository: *829 sender: *4 required: - action @@ -152478,8 +154740,8 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153290,11 +155552,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153308,7 +155570,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *351 title: description: Title of the issue type: string @@ -153414,9 +155676,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *852 + organization: *828 + repository: *829 sender: *4 required: - action @@ -153496,8 +155758,8 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154333,11 +156595,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154351,7 +156613,7 @@ webhooks: timeline_url: type: string format: uri - type: *331 + type: *351 title: description: Title of the issue type: string @@ -154434,8 +156696,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -154514,8 +156776,8 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155345,11 +157607,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155366,7 +157628,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *351 updated_at: type: string format: date-time @@ -155446,9 +157708,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *838 - organization: *808 - repository: *809 + milestone: *858 + organization: *828 + repository: *829 sender: *4 required: - action @@ -156340,11 +158602,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156440,7 +158702,7 @@ webhooks: required: - login - id - type: *331 + type: *351 required: - id - number @@ -156921,8 +159183,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157734,11 +159996,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157755,7 +160017,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *351 updated_at: type: string format: date-time @@ -157857,8 +160119,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -157938,9 +160200,9 @@ webhooks: type: string enum: - pinned - enterprise: *806 - installation: *807 - issue: &839 + enterprise: *826 + installation: *827 + issue: &859 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -158746,11 +161008,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158767,7 +161029,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *351 updated_at: type: string format: date-time @@ -158869,8 +161131,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -158949,8 +161211,8 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159784,11 +162046,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159885,9 +162147,9 @@ webhooks: format: uri user_view_type: type: string - type: *331 - organization: *808 - repository: *809 + type: *351 + organization: *828 + repository: *829 sender: *4 required: - action @@ -160776,11 +163038,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160797,7 +163059,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *351 updated_at: type: string format: date-time @@ -161379,11 +163641,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + issue: *859 + organization: *828 + repository: *829 sender: *4 required: - action @@ -161463,12 +163725,12 @@ webhooks: type: string enum: - typed - enterprise: *806 - installation: *807 - issue: *840 - type: *331 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + issue: *860 + type: *351 + organization: *828 + repository: *829 sender: *4 required: - action @@ -161549,7 +163811,7 @@ webhooks: type: string enum: - unassigned - assignee: &864 + assignee: &884 title: User type: - object @@ -161621,11 +163883,11 @@ webhooks: required: - login - id - enterprise: *806 - installation: *807 - issue: *840 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + issue: *860 + organization: *828 + repository: *829 sender: *4 required: - action @@ -161704,12 +163966,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - issue: *840 - label: *832 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + issue: *860 + label: *852 + organization: *828 + repository: *829 sender: *4 required: - action @@ -161789,8 +164051,8 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -162624,11 +164886,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *751 - issue_dependencies_summary: *752 + sub_issues_summary: *772 + issue_dependencies_summary: *773 issue_field_values: type: array - items: *753 + items: *774 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162645,7 +164907,7 @@ webhooks: title: description: Title of the issue type: string - type: *331 + type: *351 updated_at: type: string format: date-time @@ -162725,8 +164987,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -162806,11 +165068,11 @@ webhooks: type: string enum: - unpinned - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + issue: *859 + organization: *828 + repository: *829 sender: *4 required: - action @@ -162889,12 +165151,12 @@ webhooks: type: string enum: - untyped - enterprise: *806 - installation: *807 - issue: *840 - type: *331 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + issue: *860 + type: *351 + organization: *828 + repository: *829 sender: *4 required: - action @@ -162974,11 +165236,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + label: *852 + organization: *828 + repository: *829 sender: *4 required: - action @@ -163056,11 +165318,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + label: *852 + organization: *828 + repository: *829 sender: *4 required: - action @@ -163170,11 +165432,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + label: *852 + organization: *828 + repository: *829 sender: *4 required: - action @@ -163256,9 +165518,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: &841 + enterprise: *826 + installation: *827 + marketplace_purchase: &861 title: Marketplace Purchase type: object required: @@ -163346,8 +165608,8 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: &842 + organization: *828 + previous_marketplace_purchase: &862 title: Marketplace Purchase type: object properties: @@ -163431,7 +165693,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *829 sender: *4 required: - action @@ -163511,10 +165773,10 @@ webhooks: - changed effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *826 + installation: *827 + marketplace_purchase: *861 + organization: *828 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163602,7 +165864,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *829 sender: *4 required: - action @@ -163684,10 +165946,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *826 + installation: *827 + marketplace_purchase: *861 + organization: *828 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163773,7 +166035,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *829 sender: *4 required: - action @@ -163854,8 +166116,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 marketplace_purchase: title: Marketplace Purchase type: object @@ -163941,9 +166203,9 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + organization: *828 + previous_marketplace_purchase: *862 + repository: *829 sender: *4 required: - action @@ -164023,12 +166285,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + enterprise: *826 + installation: *827 + marketplace_purchase: *861 + organization: *828 + previous_marketplace_purchase: *862 + repository: *829 sender: *4 required: - action @@ -164130,11 +166392,11 @@ webhooks: type: string required: - to - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164236,11 +166498,11 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164319,11 +166581,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164401,11 +166663,11 @@ webhooks: type: string enum: - added - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164483,7 +166745,7 @@ webhooks: required: - login - id - team: &843 + team: &863 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164713,11 +166975,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + member: *853 + organization: *828 + repository: *829 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164796,7 +167058,7 @@ webhooks: required: - login - id - team: *843 + team: *863 required: - action - scope @@ -164878,8 +167140,8 @@ webhooks: type: string enum: - checks_requested - installation: *807 - merge_group: &844 + installation: *827 + merge_group: &864 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164898,15 +167160,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *503 + head_commit: *522 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -164992,10 +167254,10 @@ webhooks: - merged - invalidated - dequeued - installation: *807 - merge_group: *844 - organization: *808 - repository: *809 + installation: *827 + merge_group: *864 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165068,7 +167330,7 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *826 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -165177,12 +167439,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *807 - organization: *808 + installation: *827 + organization: *828 repository: anyOf: - type: 'null' - - *809 + - *829 sender: *4 required: - action @@ -165262,11 +167524,11 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + milestone: *858 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165345,9 +167607,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - milestone: &845 + enterprise: *826 + installation: *827 + milestone: &865 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165489,8 +167751,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165569,11 +167831,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + milestone: *858 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165683,11 +167945,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + milestone: *858 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165767,11 +168029,11 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - milestone: *845 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + milestone: *865 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165850,11 +168112,11 @@ webhooks: type: string enum: - blocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *853 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165933,11 +168195,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *853 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -165956,6 +168218,320 @@ webhooks: - organization - business - app + organization-custom-property-created: + post: + summary: This event occurs when there is activity relating to an organization + custom property. + description: A new organization custom property was created. + operationId: organization-custom-property/created + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization_custom_property + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: organization custom property created event + type: object + properties: + action: + type: string + enum: + - created + definition: *140 + enterprise: *826 + sender: *4 + required: + - action + - definition + - enterprise + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: organization_custom_property + supported-webhook-types: + - business + organization-custom-property-deleted: + post: + summary: This event occurs when there is activity relating to an organization + custom property. + description: An organization custom property was deleted. + operationId: organization-custom-property/deleted + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization_custom_property + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: organization custom property deleted event + type: object + properties: + action: + type: string + enum: + - deleted + definition: + type: object + properties: + property_name: + type: string + description: The name of the property that was deleted. + required: + - property_name + enterprise: *826 + installation: *827 + sender: *4 + required: + - action + - definition + - enterprise + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: organization_custom_property + supported-webhook-types: + - business + organization-custom-property-updated: + post: + summary: This event occurs when there is activity relating to an organization + custom property. + description: An organization custom property was updated. + operationId: organization-custom-property/updated + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization_custom_property + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: organization custom property updated event + type: object + properties: + action: + type: string + enum: + - updated + definition: *140 + enterprise: *826 + installation: *827 + sender: *4 + required: + - action + - definition + - enterprise + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: organization_custom_property + supported-webhook-types: + - business + organization-custom-property-values-updated: + post: + summary: This event occurs when there is activity relating to custom property + values for an organization. + description: The custom property values of an organization were updated. + operationId: organization-custom-property-values/updated + externalDocs: + url: https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization-custom-property-values + parameters: + - name: User-Agent + in: header + example: GitHub-Hookshot/123abc + schema: + type: string + - name: X-Github-Hook-Id + in: header + example: 12312312 + schema: + type: string + - name: X-Github-Event + in: header + example: issues + schema: + type: string + - name: X-Github-Hook-Installation-Target-Id + in: header + example: 123123 + schema: + type: string + - name: X-Github-Hook-Installation-Target-Type + in: header + example: repository + schema: + type: string + - name: X-GitHub-Delivery + in: header + example: 0b989ba4-242f-11e5-81e1-c7b6966d2516 + schema: + type: string + - name: X-Hub-Signature-256 + in: header + example: sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e + schema: + type: string + requestBody: + required: true + content: + application/json: + schema: + title: Custom property values updated event + type: object + properties: + action: + type: string + enum: + - updated + enterprise: *826 + installation: *827 + organization: *828 + sender: *4 + new_property_values: + type: array + description: The new custom property values. + items: *145 + old_property_values: + type: array + description: The old custom property values. + items: *145 + required: + - action + - organization + - enterprise + - new_property_values + - old_property_values + responses: + '200': + description: Return a 200 status to indicate that the data was received + successfully + x-github: + githubCloudOnly: true + category: webhooks + subcategory: organization-custom-property-values + supported-webhook-types: + - business + - organization + - app organization-deleted: post: summary: |- @@ -166016,9 +168592,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - membership: &846 + enterprise: *826 + installation: *827 + membership: &866 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -166128,8 +168704,8 @@ webhooks: - role - organization_url - user - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 required: - action @@ -166207,11 +168783,11 @@ webhooks: type: string enum: - member_added - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + membership: *866 + organization: *828 + repository: *829 sender: *4 required: - action @@ -166290,8 +168866,8 @@ webhooks: type: string enum: - member_invited - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -166413,10 +168989,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 - user: *833 + user: *853 required: - action - invitation @@ -166494,11 +169070,11 @@ webhooks: type: string enum: - member_removed - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + membership: *866 + organization: *828 + repository: *829 sender: *4 required: - action @@ -166585,11 +169161,11 @@ webhooks: properties: from: type: string - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + membership: *866 + organization: *828 + repository: *829 sender: *4 required: - action @@ -166665,9 +169241,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 package: description: Information about the package. type: object @@ -167190,7 +169766,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &847 + items: &867 title: Ruby Gems metadata type: object properties: @@ -167287,7 +169863,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *829 sender: *4 required: - action @@ -167363,9 +169939,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 package: description: Information about the package. type: object @@ -167727,7 +170303,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *867 source_url: type: string format: uri @@ -167798,7 +170374,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *829 sender: *4 required: - action @@ -167979,12 +170555,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *806 + enterprise: *826 id: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - id @@ -168061,7 +170637,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &848 + personal_access_token_request: &868 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -168211,10 +170787,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *806 - organization: *808 + enterprise: *826 + organization: *828 sender: *4 - installation: *807 + installation: *827 required: - action - personal_access_token_request @@ -168291,11 +170867,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *868 + enterprise: *826 + organization: *828 sender: *4 - installation: *807 + installation: *827 required: - action - personal_access_token_request @@ -168371,11 +170947,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *868 + enterprise: *826 + organization: *828 sender: *4 - installation: *807 + installation: *827 required: - action - personal_access_token_request @@ -168450,11 +171026,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *848 - organization: *808 - enterprise: *806 + personal_access_token_request: *868 + organization: *828 + enterprise: *826 sender: *4 - installation: *807 + installation: *827 required: - action - personal_access_token_request @@ -168559,7 +171135,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *849 + last_response: *869 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168591,8 +171167,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 zen: description: Random string of GitHub zen. @@ -168837,10 +171413,10 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: &850 + enterprise: *826 + installation: *827 + organization: *828 + project_card: &870 title: Project Card type: object properties: @@ -168963,7 +171539,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *829 sender: *4 required: - action @@ -169044,11 +171620,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + project_card: *870 + repository: *829 sender: *4 required: - action @@ -169128,9 +171704,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 project_card: title: Project Card type: object @@ -169260,7 +171836,7 @@ webhooks: repository: anyOf: - type: 'null' - - *809 + - *829 sender: *4 required: - action @@ -169354,11 +171930,11 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + project_card: *870 + repository: *829 sender: *4 required: - action @@ -169452,9 +172028,9 @@ webhooks: - from required: - column_id - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 project_card: allOf: - title: Project Card @@ -169651,7 +172227,7 @@ webhooks: type: string required: - after_id - repository: *809 + repository: *829 sender: *4 required: - action @@ -169731,10 +172307,10 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - organization: *808 - project: &852 + enterprise: *826 + installation: *827 + organization: *828 + project: &872 title: Project type: object properties: @@ -169861,7 +172437,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *829 sender: *4 required: - action @@ -169941,10 +172517,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_column: &851 + enterprise: *826 + installation: *827 + organization: *828 + project_column: &871 title: Project Column type: object properties: @@ -169984,7 +172560,7 @@ webhooks: - name - created_at - updated_at - repository: *809 + repository: *829 sender: *4 required: - action @@ -170063,14 +172639,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 + enterprise: *826 + installation: *827 + organization: *828 + project_column: *871 repository: anyOf: - type: 'null' - - *809 + - *829 sender: *4 required: - action @@ -170159,11 +172735,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + project_column: *871 + repository: *829 sender: *4 required: - action @@ -170243,11 +172819,11 @@ webhooks: type: string enum: - moved - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + project_column: *871 + repository: *829 sender: *4 required: - action @@ -170327,11 +172903,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + project: *872 + repository: *829 sender: *4 required: - action @@ -170411,14 +172987,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project: *852 + enterprise: *826 + installation: *827 + organization: *828 + project: *872 repository: anyOf: - type: 'null' - - *809 + - *829 sender: *4 required: - action @@ -170519,11 +173095,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + project: *872 + repository: *829 sender: *4 required: - action @@ -170602,11 +173178,11 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + project: *872 + repository: *829 sender: *4 required: - action @@ -170687,9 +173263,9 @@ webhooks: type: string enum: - closed - installation: *807 - organization: *808 - projects_v2: *363 + installation: *827 + organization: *828 + projects_v2: *383 sender: *4 required: - action @@ -170770,9 +173346,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2: *363 + installation: *827 + organization: *828 + projects_v2: *383 sender: *4 required: - action @@ -170853,9 +173429,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2: *363 + installation: *827 + organization: *828 + projects_v2: *383 sender: *4 required: - action @@ -170976,9 +173552,9 @@ webhooks: type: string to: type: string - installation: *807 - organization: *808 - projects_v2: *363 + installation: *827 + organization: *828 + projects_v2: *383 sender: *4 required: - action @@ -171061,7 +173637,7 @@ webhooks: type: string enum: - archived - changes: &856 + changes: &876 type: object properties: archived_at: @@ -171077,9 +173653,9 @@ webhooks: - string - 'null' format: date-time - installation: *807 - organization: *808 - projects_v2_item: &853 + installation: *827 + organization: *828 + projects_v2_item: &873 title: Projects v2 Item description: An item belonging to a project type: object @@ -171097,7 +173673,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *370 + content_type: *390 creator: *4 created_at: type: string @@ -171219,9 +173795,9 @@ webhooks: - 'null' to: type: string - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -171303,9 +173879,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -171386,9 +173962,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -171493,7 +174069,7 @@ webhooks: oneOf: - type: string - type: integer - - &854 + - &874 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171517,7 +174093,7 @@ webhooks: required: - id - name - - &855 + - &875 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171557,8 +174133,8 @@ webhooks: oneOf: - type: string - type: integer - - *854 - - *855 + - *874 + - *875 type: - 'null' - string @@ -171581,9 +174157,9 @@ webhooks: - 'null' required: - body - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -171680,9 +174256,9 @@ webhooks: type: - string - 'null' - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -171765,10 +174341,10 @@ webhooks: type: string enum: - restored - changes: *856 - installation: *807 - organization: *808 - projects_v2_item: *853 + changes: *876 + installation: *827 + organization: *828 + projects_v2_item: *873 sender: *4 required: - action @@ -171850,9 +174426,9 @@ webhooks: type: string enum: - reopened - installation: *807 - organization: *808 - projects_v2: *363 + installation: *827 + organization: *828 + projects_v2: *383 sender: *4 required: - action @@ -171933,9 +174509,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *827 + organization: *828 + projects_v2_status_update: *877 sender: *4 required: - action @@ -172016,9 +174592,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *827 + organization: *828 + projects_v2_status_update: *877 sender: *4 required: - action @@ -172164,9 +174740,9 @@ webhooks: - string - 'null' format: date - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *827 + organization: *828 + projects_v2_status_update: *877 sender: *4 required: - action @@ -172237,10 +174813,10 @@ webhooks: title: public event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - repository @@ -172317,13 +174893,13 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - number: &858 + assignee: *853 + enterprise: *826 + installation: *827 + number: &878 description: The pull request number. type: integer - organization: *808 + organization: *828 pull_request: title: Pull Request type: object @@ -174672,7 +177248,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *829 sender: *4 required: - action @@ -174754,11 +177330,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 number: type: integer - organization: *808 + organization: *828 pull_request: title: Pull Request type: object @@ -177100,7 +179676,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *829 sender: *4 required: - action @@ -177182,11 +179758,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 number: type: integer - organization: *808 + organization: *828 pull_request: title: Pull Request type: object @@ -179528,7 +182104,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *829 sender: *4 required: - action @@ -179610,13 +182186,13 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: &859 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: &879 allOf: - - *658 + - *679 - type: object properties: allow_auto_merge: @@ -179678,7 +182254,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *809 + repository: *829 sender: *4 required: - action @@ -179759,12 +182335,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -179844,11 +182420,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - milestone: *368 - number: *858 - organization: *808 - pull_request: &860 + enterprise: *826 + milestone: *388 + number: *878 + organization: *828 + pull_request: &880 title: Pull Request type: object properties: @@ -182175,7 +184751,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *829 sender: *4 required: - action @@ -182254,11 +184830,11 @@ webhooks: type: string enum: - dequeued - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 number: type: integer - organization: *808 + organization: *828 pull_request: title: Pull Request type: object @@ -184604,7 +187180,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *809 + repository: *829 sender: *4 required: - action @@ -184728,12 +187304,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -184813,11 +187389,11 @@ webhooks: type: string enum: - enqueued - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 number: type: integer - organization: *808 + organization: *828 pull_request: title: Pull Request type: object @@ -187148,7 +189724,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *829 sender: *4 required: - action @@ -187228,11 +189804,11 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *826 + installation: *827 + label: *852 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -189580,7 +192156,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *829 sender: *4 required: - action @@ -189661,10 +192237,10 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -192010,7 +194586,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *829 sender: *4 required: - action @@ -192090,12 +194666,12 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - milestone: *368 - number: *858 - organization: *808 - pull_request: *860 - repository: *809 + enterprise: *826 + milestone: *388 + number: *878 + organization: *828 + pull_request: *880 + repository: *829 sender: *4 required: - action @@ -192174,12 +194750,12 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -192260,12 +194836,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -192345,12 +194921,12 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 + pull_request: *879 + repository: *829 sender: *4 required: - action @@ -192725,9 +195301,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 pull_request: type: object properties: @@ -194957,7 +197533,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *829 sender: *4 required: - action @@ -195037,7 +197613,7 @@ webhooks: type: string enum: - deleted - comment: &862 + comment: &882 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -195330,9 +197906,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 pull_request: type: object properties: @@ -197550,7 +200126,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *829 sender: *4 required: - action @@ -197630,11 +200206,11 @@ webhooks: type: string enum: - edited - changes: *861 - comment: *862 - enterprise: *806 - installation: *807 - organization: *808 + changes: *881 + comment: *882 + enterprise: *826 + installation: *827 + organization: *828 pull_request: type: object properties: @@ -199855,7 +202431,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *829 sender: *4 required: - action @@ -199936,9 +202512,9 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -202171,7 +204747,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *829 review: description: The review that was affected. type: object @@ -202422,9 +204998,9 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -204538,8 +207114,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: &863 + repository: *829 + review: &883 description: The review that was affected. type: object properties: @@ -204777,12 +207353,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 number: description: The pull request number. type: integer - organization: *808 + organization: *828 pull_request: title: Pull Request type: object @@ -207129,7 +209705,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *829 requested_reviewer: title: User type: @@ -207215,12 +209791,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 number: description: The pull request number. type: integer - organization: *808 + organization: *828 pull_request: title: Pull Request type: object @@ -209574,7 +212150,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *829 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209769,12 +212345,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 number: description: The pull request number. type: integer - organization: *808 + organization: *828 pull_request: title: Pull Request type: object @@ -212123,7 +214699,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *829 requested_reviewer: title: User type: @@ -212210,12 +214786,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *826 + installation: *827 number: description: The pull request number. type: integer - organization: *808 + organization: *828 pull_request: title: Pull Request type: object @@ -214555,7 +217131,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *829 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214739,9 +217315,9 @@ webhooks: type: string enum: - submitted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -216977,8 +219553,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: *863 + repository: *829 + review: *883 sender: *4 required: - action @@ -217058,9 +219634,9 @@ webhooks: type: string enum: - resolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -219191,7 +221767,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *829 sender: *4 thread: type: object @@ -219588,9 +222164,9 @@ webhooks: type: string enum: - unresolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 pull_request: title: Simple Pull Request type: object @@ -221704,7 +224280,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *829 sender: *4 thread: type: object @@ -222103,10 +224679,10 @@ webhooks: type: string before: type: string - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -224441,7 +227017,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *829 sender: *4 required: - action @@ -224523,11 +227099,11 @@ webhooks: type: string enum: - unassigned - assignee: *864 - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + assignee: *884 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -226877,7 +229453,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *829 sender: *4 required: - action @@ -226956,11 +229532,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *826 + installation: *827 + label: *852 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -229299,7 +231875,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *829 sender: *4 required: - action @@ -229380,10 +231956,10 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *826 + installation: *827 + number: *878 + organization: *828 pull_request: title: Pull Request type: object @@ -231712,7 +234288,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *829 sender: *4 required: - action @@ -231915,7 +234491,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *806 + enterprise: *826 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -232010,8 +234586,8 @@ webhooks: - url - author - committer - installation: *807 - organization: *808 + installation: *827 + organization: *828 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -232599,9 +235175,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 registry_package: type: object properties: @@ -233078,7 +235654,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *847 + items: *867 summary: type: string tag_name: @@ -233134,7 +235710,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *829 sender: *4 required: - action @@ -233212,9 +235788,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 registry_package: type: object properties: @@ -233526,7 +236102,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *867 summary: type: string tag_name: @@ -233576,7 +236152,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *829 sender: *4 required: - action @@ -233653,10 +236229,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - release: &865 + enterprise: *826 + installation: *827 + organization: *828 + release: &885 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -233987,7 +236563,7 @@ webhooks: - updated_at - zipball_url - body - repository: *809 + repository: *829 sender: *4 required: - action @@ -234064,11 +236640,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + release: *885 + repository: *829 sender: *4 required: - action @@ -234185,11 +236761,11 @@ webhooks: type: boolean required: - to - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + release: *885 + repository: *829 sender: *4 required: - action @@ -234267,9 +236843,9 @@ webhooks: type: string enum: - prereleased - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -234605,7 +237181,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *829 sender: *4 required: - action @@ -234681,10 +237257,10 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - release: &866 + enterprise: *826 + installation: *827 + organization: *828 + release: &886 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235017,7 +237593,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *829 sender: *4 required: - action @@ -235093,11 +237669,11 @@ webhooks: type: string enum: - released - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + release: *885 + repository: *829 sender: *4 required: - action @@ -235173,11 +237749,11 @@ webhooks: type: string enum: - unpublished - enterprise: *806 - installation: *807 - organization: *808 - release: *866 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + release: *886 + repository: *829 sender: *4 required: - action @@ -235253,11 +237829,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_advisory: *711 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + repository_advisory: *732 sender: *4 required: - action @@ -235333,11 +237909,11 @@ webhooks: type: string enum: - reported - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_advisory: *711 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + repository_advisory: *732 sender: *4 required: - action @@ -235413,10 +237989,10 @@ webhooks: type: string enum: - archived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -235493,10 +238069,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -235574,10 +238150,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -235662,10 +238238,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -235780,10 +238356,10 @@ webhooks: - 'null' items: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -235855,10 +238431,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 status: type: string @@ -235939,10 +238515,10 @@ webhooks: type: string enum: - privatized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -236019,10 +238595,10 @@ webhooks: type: string enum: - publicized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -236116,10 +238692,10 @@ webhooks: - name required: - repository - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -236199,11 +238775,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + repository_ruleset: *179 sender: *4 required: - action @@ -236281,11 +238857,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + repository_ruleset: *179 sender: *4 required: - action @@ -236363,11 +238939,11 @@ webhooks: type: string enum: - edited - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - repository_ruleset: *158 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + repository_ruleset: *179 changes: type: object properties: @@ -236386,16 +238962,16 @@ webhooks: properties: added: type: array - items: *132 + items: *151 deleted: type: array - items: *132 + items: *151 updated: type: array items: type: object properties: - condition: *132 + condition: *151 changes: type: object properties: @@ -236428,16 +239004,16 @@ webhooks: properties: added: type: array - items: *679 + items: *700 deleted: type: array - items: *679 + items: *700 updated: type: array items: type: object properties: - rule: *679 + rule: *700 changes: type: object properties: @@ -236674,10 +239250,10 @@ webhooks: - from required: - owner - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -236755,10 +239331,10 @@ webhooks: type: string enum: - unarchived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -236836,7 +239412,7 @@ webhooks: type: string enum: - create - alert: &867 + alert: &887 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -236960,10 +239536,10 @@ webhooks: type: string enum: - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237173,10 +239749,10 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237254,11 +239830,11 @@ webhooks: type: string enum: - reopen - alert: *867 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *887 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237460,10 +240036,10 @@ webhooks: enum: - fixed - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237541,17 +240117,17 @@ webhooks: type: string enum: - created - alert: &868 + alert: &888 type: object properties: - number: *109 - created_at: *116 + number: *119 + created_at: *126 updated_at: anyOf: - type: 'null' - - *117 - url: *114 - html_url: *115 + - *127 + url: *124 + html_url: *125 locations_url: type: string format: uri @@ -237655,10 +240231,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -237739,11 +240315,11 @@ webhooks: type: string enum: - created - alert: *868 - installation: *807 - location: *869 - organization: *808 - repository: *809 + alert: *888 + installation: *827 + location: *889 + organization: *828 + repository: *829 sender: *4 required: - location @@ -237981,11 +240557,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -238063,11 +240639,11 @@ webhooks: type: string enum: - reopened - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -238145,11 +240721,11 @@ webhooks: type: string enum: - resolved - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -238227,11 +240803,11 @@ webhooks: type: string enum: - validated - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *888 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -238361,10 +240937,10 @@ webhooks: - organization - enterprise - - repository: *809 - enterprise: *806 - installation: *807 - organization: *808 + repository: *829 + enterprise: *826 + installation: *827 + organization: *828 sender: *4 required: - action @@ -238442,11 +241018,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: &870 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + security_advisory: &890 description: The details of the security advisory, including summary, description, and severity. type: object @@ -238463,7 +241039,7 @@ webhooks: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *121 cwes: type: array items: @@ -238632,11 +241208,11 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: *870 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 + security_advisory: *890 sender: *4 required: - action @@ -238709,10 +241285,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -238730,7 +241306,7 @@ webhooks: required: - vector_string - score - cvss_severities: *111 + cvss_severities: *121 cwes: type: array items: @@ -238898,11 +241474,11 @@ webhooks: from: type: object properties: - security_and_analysis: *377 - enterprise: *806 - installation: *807 - organization: *808 - repository: *443 + security_and_analysis: *396 + enterprise: *826 + installation: *827 + organization: *828 + repository: *462 sender: *4 required: - changes @@ -238980,12 +241556,12 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: &871 + sponsorship: &891 type: object properties: created_at: @@ -239290,12 +241866,12 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *871 + sponsorship: *891 required: - action - sponsorship @@ -239383,12 +241959,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *871 + sponsorship: *891 required: - action - changes @@ -239465,17 +242041,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &872 + effective_date: &892 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *871 + sponsorship: *891 required: - action - sponsorship @@ -239549,7 +242125,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &873 + changes: &893 type: object properties: tier: @@ -239593,13 +242169,13 @@ webhooks: - from required: - tier - effective_date: *872 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + effective_date: *892 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *871 + sponsorship: *891 required: - action - changes @@ -239676,13 +242252,13 @@ webhooks: type: string enum: - tier_changed - changes: *873 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + changes: *893 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - sponsorship: *871 + sponsorship: *891 required: - action - changes @@ -239756,10 +242332,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239843,10 +242419,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240280,15 +242856,15 @@ webhooks: type: - string - 'null' - enterprise: *806 + enterprise: *826 id: description: The unique identifier of the status. type: integer - installation: *807 + installation: *827 name: type: string - organization: *808 - repository: *809 + organization: *828 + repository: *829 sender: *4 sha: description: The Commit SHA. @@ -240398,15 +242974,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - parent_issue_repo: *67 + parent_issue: *203 + parent_issue_repo: *72 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *203 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -240490,15 +243066,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - parent_issue_repo: *67 + parent_issue: *203 + parent_issue_repo: *72 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *203 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -240582,15 +243158,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - sub_issue_repo: *67 + sub_issue: *203 + sub_issue_repo: *72 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *203 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -240674,15 +243250,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - sub_issue_repo: *67 + sub_issue: *203 + sub_issue_repo: *72 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *203 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -240759,12 +243335,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - team: &874 + team: &894 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -240994,9 +243570,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -241466,7 +244042,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *894 required: - action - team @@ -241542,9 +244118,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -242014,7 +244590,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *894 required: - action - team @@ -242091,9 +244667,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -242563,7 +245139,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *894 required: - action - team @@ -242707,9 +245283,9 @@ webhooks: - from required: - permissions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -243179,7 +245755,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *894 required: - action - changes @@ -243257,9 +245833,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *826 + installation: *827 + organization: *828 repository: title: Repository description: A git repository @@ -243729,7 +246305,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *894 required: - action - team @@ -243805,10 +246381,10 @@ webhooks: type: string enum: - started - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 required: - action @@ -243881,17 +246457,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *806 + enterprise: *826 inputs: type: - object - 'null' additionalProperties: true - installation: *807 - organization: *808 + installation: *827 + organization: *828 ref: type: string - repository: *809 + repository: *829 sender: *4 workflow: type: string @@ -243973,10 +246549,10 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 workflow_job: allOf: @@ -244232,7 +246808,7 @@ webhooks: type: string required: - conclusion - deployment: *569 + deployment: *588 required: - action - repository @@ -244311,10 +246887,10 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 workflow_job: allOf: @@ -244596,7 +247172,7 @@ webhooks: required: - status - steps - deployment: *569 + deployment: *588 required: - action - repository @@ -244675,10 +247251,10 @@ webhooks: type: string enum: - queued - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 workflow_job: type: object @@ -244824,7 +247400,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *569 + deployment: *588 required: - action - repository @@ -244903,10 +247479,10 @@ webhooks: type: string enum: - waiting - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 workflow_job: type: object @@ -245053,7 +247629,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *569 + deployment: *588 required: - action - repository @@ -245133,12 +247709,12 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: *828 + workflow: *848 workflow_run: title: Workflow Run type: object @@ -246157,12 +248733,12 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organization: *828 + repository: *829 sender: *4 - workflow: *828 + workflow: *848 workflow_run: title: Workflow Run type: object @@ -247166,12 +249742,12 @@ webhooks: type: string enum: - requested - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *826 + installation: *827 + organizati{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}